How to Back Up or Archive SharePoint Site Pages with Power Automate
Question details
The user needs to reliably back up or archive modern SharePoint site pages to another location using Power Automate.

- Product
- SharePoint and Power Automate
- Device & OS
- not provided
- Scenario
- Setting up a weekly archive or automated backup system to move modern site pages from an active SharePoint site to an archiving site.
- Observed behavior
- Modern SharePoint pages fail to open or function correctly if they are copied or moved to an ordinary document library; they must remain within a Site Pages library.
Ensure you have SharePoint administrator permissions and that your destination archive site has a dedicated 'Site Pages' library ready to receive the files.
Use Power Automate to Copy Pages Between Site Pages Libraries
Create a Power Automate flow that explicitly targets the 'Site Pages' library of both the source and destination sites to preserve page functionality.
Modern SharePoint pages are heavily tied to the specific infrastructure of the Site Pages library. Moving them to standard document libraries will break their internal web parts and functionality. Power Automate can handle this transfer safely if configured to point directly to the destination Site Pages library.
Log in to Power Automate, click 'Create', and select either 'Scheduled cloud flow' for weekly archiving or 'Instant cloud flow' for manual backups.
Add a 'Copy file' SharePoint action. Select your source site and choose the specific modern page file from the active 'Site Pages' library.
In the destination site address field, enter your archive SharePoint site URL. Crucially, set the destination folder path strictly to the target site's 'Site Pages' library.
Save your flow and perform a manual test using 1-2 modern pages. Navigate to the archive site and verify that the copied pages open and function correctly before fully automating the process.

Enable Custom Scripts via SharePoint Online Management Shell
Certain SharePoint page workflows require custom scripting to be enabled on the involved sites to allow successful automated copying.
Manage Your Local Documents Seamlessly with WPS Office
While SharePoint and Power Automate handle your online site page archiving, you need a reliable solution for your offline and standard document management. WPS Office provides a free, lightweight, and fully compatible suite for editing Word, Excel, and PowerPoint files without the heavy subscription costs.

Frequently Asked Questions
Why can't I just move a modern SharePoint page to a regular document library?
Modern SharePoint pages rely on specific backend web part infrastructures tied exclusively to the 'Site Pages' library. If moved to a standard document library, the backend links break, causing the page to lose formatting or fail to open entirely.
Do I need premium Power Automate connectors to copy SharePoint pages?
No, standard SharePoint connectors included in your base Microsoft 365 subscription are usually sufficient to copy or move files between SharePoint libraries, as long as you have the appropriate permissions on both sites.
Is it better to copy or move pages when archiving in SharePoint?
It is highly recommended to use the 'Copy file' action instead of 'Move file' during initial flow setup. Copying allows you to verify the integrity and functionality of the page in the destination Site Pages library before you permanently delete the original.




