Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Sharepoint Backups using Flow (Best Practice, Advice Needed)

Hi,   Im just about to start my second project using the following microsoft packages (Sharepoint, Powerapps, Flow & Powerbi), Thankyou Microsoft Staff with you help the project was a success and i...
  • Syndicate_Admin's avatar
    6 years ago

    Hi @shaneOZ,

     

    I recommend that you back up the data over 100 days to the new list and clean up the data over 100 days in the original table. I will give you a screenshot of the configuration. You can refer to this flow to create your workaround:

     

    Step1: Create a recurrence set as every day. Then Get the items of the original table.Annotation 2019-06-12 112019.png

     

    Step2: Create a condition to filter the items 100 days ago in the original table

    formatDateTime(item()?['Modified'],'yyyy-MM-dd') is less than addDays(utcNow(),-100,'yyyy-MM-dd')

    Then create these over 100 days items in a new list, and delete these items in the original table.

    Annotation 2019-06-12 112845.png

    You can have a try with it. If there is any problem, please contact us.

     

    Best Regards,

    Community Support Team _ Lin Tu

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.