Difference between revisions of "WordPress Toolkit/Copy WordPress"

From XMission Wiki
Jump to: navigation, search
(To synchronize your data)
(To synchronize your data)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
== Copy/Clone a website ==
 
== Copy/Clone a website ==
  
# Go to Websites & Domains and click WordPress in the menu on the right.
+
# Go to Websites & Domains and click WordPress in the menu on the left.
# Click the Clone button next to the name of the WordPress installation you want to clone.
+
# Click the Clone button to the name of the WordPress installation you want to clone.
 
#:
 
#:
#: [[File:WP_Copy_Site.png|600px]]
+
#: [[File:PleskWPtoolkit-Clone-1.png|600px]]
 
#:
 
#:
 
# Click new subdomain to select the destination where your WordPress site will be cloned.
 
# Click new subdomain to select the destination where your WordPress site will be cloned.
 
#:
 
#:
#: [[File:WP_Copy_Site2.png|400px]]
+
#: [[File:PleskWPtoolkit-Clone-2.png|600px]]
 
#:
 
#:
 
# Select one of the available options:
 
# Select one of the available options:
Line 14: Line 14:
 
#* '''Existing domain or subdomain''' - use an existing domain or subdomain on the same or another subscription. Select the desired domain or subdomain from the list.
 
#* '''Existing domain or subdomain''' - use an existing domain or subdomain on the same or another subscription. Select the desired domain or subdomain from the list.
 
#:
 
#:
#: [[File:WP_Copy_Site3.png|400px]]
+
#: [[File:PleskWPtoolkit-Clone-3.png|600px]]
 
#:
 
#:
 
#: ''Note: Make sure that the domain or subdomain selected is not being used. During cloning, website data existing on the destination will be overwritten.''
 
#: ''Note: Make sure that the domain or subdomain selected is not being used. During cloning, website data existing on the destination will be overwritten.''
Line 20: Line 20:
 
# When you are satisfied with the selected destination and the database name, click OK.
 
# When you are satisfied with the selected destination and the database name, click OK.
 
#:
 
#:
#:[[File:WP_Copy_Site4.png|400px]]
+
#:[[File:PleskWPtoolkit-Clone-4.png|600px]]
 
#:
 
#:
 
#When the cloning is finished, the new clone will be displayed in the list of WordPress installations.
 
#When the cloning is finished, the new clone will be displayed in the list of WordPress installations.
Line 30: Line 30:
 
=== To synchronize your data ===
 
=== To synchronize your data ===
  
# Go to Websites & Domains and click WordPress in the menu on the right.
+
# Go to Websites & Domains and click WordPress in the menu on the left.
# Click the Sync button next to the name of the website you want to sync.
+
# Click on '''Copy Data''' from the dashboard of the website you want to sync.
 
#:
 
#:
#: [[File:WP_Sync.png|600px]]
+
#: [[File:PleskWPtoolkit-sync-1.png|600px]]
 
#:
 
#:
 
# Under "Destination WordPress Installation", select the destination website.
 
# Under "Destination WordPress Installation", select the destination website.
 
#:
 
#:
#: [[File:WP_Sync2.gif|600px]]
+
#: [[File:PleskWPtoolkit-sync-2.png]]
 
#:
 
#:
# Under “Select Content to be Copied”, select what you want to sync.
+
#* '''Location''' - Target should indicate the destination domain, this would be your staging domain if you are copying from your main site to your staging.
#* “Files Only” - synchronize only the website files, including the WordPress core files and the files related to themes and plugins.
+
#* '''Data to Copy'''
#* “Database Only” - synchronizes only the database. You can select to import all, new, or selected database tables.
+
#** Files Only - would only copy files.
#* “Files and Database” - synchronizes both the website files and the database. You can choose to import all, new, or selected database tables by selecting the corresponding option.
+
#** Database Only - would only copy the database.
# Click OK.
+
#** Files and Database - would copy all files and database info.
# The Toolkit suggests creating a restore point.  
+
#*** Replace Files modified on target - would overwrite any files that have the same.
#: Note: it is suggested to creating a restore point so you can roll back the changes if needed.
+
#* '''Database Tables'''
 +
#** All tables - would replace all tables.
 +
#** New tables only - would only add any new tables created.
 +
#** Selected Tables - would allow you to choose the tables you wish to copy over.
 +
#* '''Restore'''
 +
#** Highly recommended to keep this box checked.
 +
# Click '''Start'''.
 
#:
 
#:
#:[[File:WP_Sync3.png|400px]]
+
#:[[File:PleskWPtoolkit-sync-3.png]]
#:
 
# Click Start.
 
#:
 
#:[[File:WP_Sync4.png|400px]]
 
#:
 
# When the synchronization is finished, You can click the “Visit the target instance.” to view your website.
 
#:
 
#:[[File:WP_Sync5.png|600px]]
 
 
#:
 
#:

Latest revision as of 14:49, 8 December 2022

Copy/Clone a website

  1. Go to Websites & Domains and click WordPress in the menu on the left.
  2. Click the Clone button to the name of the WordPress installation you want to clone.
    PleskWPtoolkit-Clone-1.png
  3. Click new subdomain to select the destination where your WordPress site will be cloned.
    PleskWPtoolkit-Clone-2.png
  4. Select one of the available options:
    • New subdomain - WordPress Toolkit suggests creating a new subdomain with the default staging prefix. You can use it or type in a desired subdomain prefix.
    • Existing domain or subdomain - use an existing domain or subdomain on the same or another subscription. Select the desired domain or subdomain from the list.
    PleskWPtoolkit-Clone-3.png
    Note: Make sure that the domain or subdomain selected is not being used. During cloning, website data existing on the destination will be overwritten.
  5. During cloning, a database will be created for the WordPress installation being created. Click the automatically generated database name (for example, wordpress_9) to change it.
  6. When you are satisfied with the selected destination and the database name, click OK.
    PleskWPtoolkit-Clone-4.png
  7. When the cloning is finished, the new clone will be displayed in the list of WordPress installations.

Sync WordPress Sites

With the Toolkit you can You can synchronize the content of one website with another WordPress site. This will allow you to maintain a staging version of a site and a production version. This is a common practice allowing you to make changes in staging and not affect the site your customers see. Once you are ready to make the changes in production you may want to synchronize your WordPress sites.

To synchronize your data

  1. Go to Websites & Domains and click WordPress in the menu on the left.
  2. Click on Copy Data from the dashboard of the website you want to sync.
    PleskWPtoolkit-sync-1.png
  3. Under "Destination WordPress Installation", select the destination website.
    PleskWPtoolkit-sync-2.png
    • Location - Target should indicate the destination domain, this would be your staging domain if you are copying from your main site to your staging.
    • Data to Copy
      • Files Only - would only copy files.
      • Database Only - would only copy the database.
      • Files and Database - would copy all files and database info.
        • Replace Files modified on target - would overwrite any files that have the same.
    • Database Tables
      • All tables - would replace all tables.
      • New tables only - would only add any new tables created.
      • Selected Tables - would allow you to choose the tables you wish to copy over.
    • Restore
      • Highly recommended to keep this box checked.
  4. Click Start.
    PleskWPtoolkit-sync-3.png