cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Regular Visitor

Backup a SharePoint file which was modified

I have a file located in SharePoint folder, which can be modified by external users which have access there.

I would like to create a copy of the file each time it is modified in a separate folder in order to track the changes between the files. 

Could you let me know how to build such kind of flow?

4 REPLIES 4
Super User
Super User

@barp21 you don't need to do this with a flow: in the document library settings you can select how many versions of a document to keep and can then check the version history to see what was changed and by whom.

 

versionHistory.png

 

Rob
Los Gallardos
If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.

@RobElliott -

history version will do work for manual checking.

However to do some sort of automation in checking (highlighting the differences) having current and previous file would be the best option I guess

@barp21 you can't get Power Automate to show you the differences. The trigger would be "When an item or file is modified". But Power Automate is not a state machine so it will only get the new version after the change has been made. So there is no comparison that you could do within the flow.

Rob
Los Gallardos
If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.

@RobElliott  - clear. I wanted to track changes by writing something in Excel VBA. In order to do that i just need to have current and previous file somewhere on the SharePoint. I was hoping that is something which Power Automate will be able to provide.

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (22,887)