web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Restore a site using C...
Power Pages
Suggested Answer

Restore a site using CLI method

(1) ShareShare
ReportReport
Posted on by 82
I have a download of my current production site.  It was created using the CLI power shell method.  This is how I have deploying.  It is a Download of my DEV site.
 
I would like to take that download, and upload it to a different site on my DEV.  I cannot see where I can direct the "pac powerpages upload statement to a specific site...thought I could use the index number...but cannot find syntax
 
I
Categories:
I have the same question (0)
  • Suggested answer
    SaiRT14 Profile Picture
    1,990 Super User 2025 Season 2 on at
    pls try the following:
     
    The pac powerpages upload command targets a specific environment,
    • In the downloaded folder, open the Website.yml file located in the websites directory.
    • Update the websiteid to match the ID of the target site in Dataverse for the desired environment.
    • pac powerpages upload --environment <environment-url> --path <path-to-downloaded-folder>

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 74 Super User 2025 Season 2

#2
Jerry-IN Profile Picture

Jerry-IN 55

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard