BackUp / Restoration / Migration
Initial problem1and1 basic hosting doesn’t gives you directaccess to MySQL database
UpdraftPlus pluginA solution is to use a plugin that makes a backupof your wordpress files and also the database
Make a BackUpYou can store files on Dropbox, GoogleDrive, Amazon, etc and have the files zipped.
Install new wordpress WordPress installation process It’s completlydocumented but in case You’re using XAMPP Lite It canb...
Install updraftplus pluginReinstall UpdraftPlus plugin in your newWordpress instalation and restore the BackUp
Select restore everythingWe want to restore all the files and the database
Now the process is finishedCongratulations! You’re close to a successfulmigration / restoration
But the url is different!As you can see there are some changes to do onthe database yet
Sql queries to replace old url UPDATE wp_posts SET guid =replace(guid, ‘http://www.old-domain.com’,http://www.new-domain....
You got it!After the SQL queries are executed your migration/ backup is ready to work
www.audit2me.com@FranServeraReferences:How To Install WordPress on XAMPPMigrating a WordPress Site
Upcoming SlideShare
Loading in …5
×

Backup Restore Migration Wordpress hosted on 1and1

5,451 views

Published on

BackUp Restoration or Migration of Wordpress hosted on 1and1

Published in: Education, Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
5,451
On SlideShare
0
From Embeds
0
Number of Embeds
2,692
Actions
Shares
0
Downloads
9
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Backup Restore Migration Wordpress hosted on 1and1

  1. 1. BackUp / Restoration / Migration
  2. 2. Initial problem1and1 basic hosting doesn’t gives you directaccess to MySQL database
  3. 3. UpdraftPlus pluginA solution is to use a plugin that makes a backupof your wordpress files and also the database
  4. 4. Make a BackUpYou can store files on Dropbox, GoogleDrive, Amazon, etc and have the files zipped.
  5. 5. Install new wordpress WordPress installation process It’s completlydocumented but in case You’re using XAMPP Lite It canbe resumed like this: Install WordPress in local machine (localhost) Files: Uncompress WordPress.zip on subfolder HTDOCS Data: Create a new database using PhpMyAdmin Connect WordPress with the database Fill database name, user and password in WP-CONFIG(file created from WP-CONFIG-SAMPLE) Open install URL on browser http://*new_location*/wp-admin/install.php
  6. 6. Install updraftplus pluginReinstall UpdraftPlus plugin in your newWordpress instalation and restore the BackUp
  7. 7. Select restore everythingWe want to restore all the files and the database
  8. 8. Now the process is finishedCongratulations! You’re close to a successfulmigration / restoration
  9. 9. But the url is different!As you can see there are some changes to do onthe database yet
  10. 10. Sql queries to replace old url UPDATE wp_posts SET guid =replace(guid, ‘http://www.old-domain.com’,http://www.new-domain.com’); UPDATE wp_posts SET post_content =replace(post_content, ‘http://www.old-domain.com’, ‘http://www.new-domain.com’); UPDATE wp_postmeta SET meta_value =replace(meta_value, ‘http://www.old-domain.com’, ‘http://www.new-domain.com’); UPDATE wp_options SET option_value =replace(option_value, ‘http://www.old-domain.com’, ‘http://www.new-domain.com’)WHERE option_name = ‘home’ OR option_name= ‘siteurl’;
  11. 11. You got it!After the SQL queries are executed your migration/ backup is ready to work
  12. 12. www.audit2me.com@FranServeraReferences:How To Install WordPress on XAMPPMigrating a WordPress Site

×