Skip to main content

Notifications

Community site session details

Community site session details

Session Id : afk3rDO9JxiKQETvWF+okg
Power Automate - Building Flows
Answered

Back up Sharepoint list

Like (0) ShareShare
ReportReport
Posted on 28 Oct 2022 09:04:57 by 15

Good day all, 

 

I have trouble building a scheduled flow where I want my Sharepoint list too backup or just copy the current list too a folder where I can access each list after the period has passed. And need too create a new list each time the flow runs not overwrite the old one. 

I have tried 

Copy SharePoint file then make the designation the folder but did not work.

I tried get items and then create new items ( in the SharePoint Library ) but also did not work. 

 

May someone please help me.

  • CorgiMad Profile Picture
    87 on 13 Nov 2023 at 14:45:19
    Re: Back up Sharepoint list

    Hello gazzo1967

    If the flow was to run daily, is there a way to just save on top of the previous days copy instead of having a new csv file added into a folder every day?

    Thanks

    Shelley

  • Verified answer
    gazzo1967 Profile Picture
    1,151 on 02 Nov 2022 at 10:31:48
    Re: Back up Sharepoint list

    @IvanMeere 
    Ok this will export all items as a csv.
    To send an automated back up of your list to a folder

     

    Add as your trigger and set the options to what you want.

    gazzo1967_0-1667384060881.png


    Add Get Items

    gazzo1967_1-1667384171923.png

     

    Add Create CSV Table with 'From' as 'Value'  Get Items

    gazzo1967_2-1667384287468.png


    Add A Compose 

    gazzo1967_3-1667384378706.png

    Select add Dynamic Content if not already showing.

    Select 'Expression tab'

    In the input box  = utcnow('M')

    This will give you the 'Month'  if you want different use this page as a reference

    gazzo1967_4-1667384458178.png

     

    Then Add either Sharepoint or Onedrive 'Create File'
    Use Folder path to navigate to where you wish to store the file

    File name Text name with OUTPUT from Compose (important ensure whatever you named the file the you end it with '.csv'

    The second OUTPUT is from the Create CSV action

    gazzo1967_5-1667384799031.png


    That will give you a CSV copy of all List items at the point of the run flow

    If you look in the CSV one of the columns has the version number in it 🙂

    Regards Gary
    Please mark topics as solved if they are and give kudos to make people happy gazzo1967_6-1667385082480.png

     

     

  • IvanMeere Profile Picture
    15 on 02 Nov 2022 at 05:30:37
    Re: Back up Sharepoint list

    Good day yess that is true, 

    I got the copy right now. My problem is saving the version history of the lists

  • gazzo1967 Profile Picture
    1,151 on 01 Nov 2022 at 14:25:02
    Re: Back up Sharepoint list

    @IvanMeere 
    Are you wanting to copy the list contents to a file at specific time schedule?
    for example 1st every month?
    Gary

  • IvanMeere Profile Picture
    15 on 01 Nov 2022 at 06:56:25
    Re: Back up Sharepoint list

    @gazzo1967 

    Hi, 

     

    My aplogy only for replaying now. 

     

    Please see a picture of my flow. I just want too know if you also know how too convert a csv file too pdf ?

  • gazzo1967 Profile Picture
    1,151 on 29 Oct 2022 at 13:04:56
    Re: Back up Sharepoint list

    @IvanMeere 
    Hi

    May help if you post a picture of what your current flow looks like 🙂
    As they say a picture paints a thousand words 🙂
    Gary

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,771 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,091 Most Valuable Professional

Leaderboard