↑ Return to Security Plugins

P96 Backup Buddy


Page no: P96

Page no: Plug96

Author’s plugin page: Backup Buddy

George Dorgan Comment by
George Dorgan
My articles
Follow on:

Review…

 

Background

The Original WordPress Backup Plugin

Saving WordPress Sites Around The World Since 2010

We built BackupBuddy because we experienced our own catastrophic server crash. At the time, WordPress didn’t offer any complete backup solutions. In both of our failure cases, we needed entire directory and file backups for complete site recovery.

Based on our experience, we knew a complete backup would require these four main ingredients:

Complete Database & Files Backup
A complete backup should include not only your WP database, but also your entire media library, theme files, plugins and everything else. BackupBuddy has you covered.
Convenient to Create
What good is a backup if you never make one? Backups should be easy to make and should run without you even thinking about it. With BackupBuddy, you can set up automated backup schedules.
Quick & Easy to Restore
A backup solution includes another important component: the ability to restore if something goes wrong. With BackupBuddy, you can get your site up & running in no time.
Trustworthy & Reliable
You need to be able to depend on your backups. They can’t be corrupted or incomplete. A backup should be there when you need it, ready to save the day.

 

Backup

Backups are one of the most important part of every website. Every site can be hacked or deleted. Every server can be damaged and in that case we will lose all the information of our site. Because of that we have to make regularly backups on different storage, not on the same server.

 

 

Our backups

We use backupbuddy for making backups on all our sites. Currently we have 3 tests sites, one doc site and 2 real sites. On all our sites we make two type of backups. They are:

1) Daily backup

We make daily backups on our DB every morning and store the backup on our cloud, which is in totally different location.

We make daily backups on our doc site, snbchf site and feed site.

Backupbuddy: List with all our doc backups Click to enlarge.

2) Weekly backupWe also make full site backups once a week. It needs more time than Daily backup, because of that we run the backup process during the night. Again, we store the file on our cloud.

We make weekly backups on our doc site, snbchf site and feed site.

Backupbuddy: All files stored on our Weekly remote destination Click to enlarge.

Import process

If we want to restore backup of our site via  Backupbuddy, we have to follow 4 simple steps.

1) First we have to choose full backup file, which we want to restore. Or we can make manual via Backup buddy plugin.

Backupbuddy: Page for manual creation of backup Click to enlarge.

2) After that we have to download the backup and upload it via FTP into the destination we want.

3) Via Backupbuddy -> Restore / Migrate, we download importbuddy.php file and set password for restoring.

4) Upload the file at the destination, where we previous upload the backup. And via browser we open site.com/importbuddy.php.

We have to follow the steps and the restoration process will be done.

For our servers there are the questions….

Documentation from backupbuddy for manual migration

Full documentation can be found here.

Backupbuddy: Download importbuddy page Click to enlarge.

Getting Started: Make a Backup

Before you start the manual migration process, make a Complete (full) Backup by going to BackupBuddy > Backup in your WordPress dashboard.

 

Manual Migration Methods for Sending the Backup File

After you’ve made the Complete (Full) backup, you can send this backup file to the new location in several different ways:

CompleteBackup.png

Backupbuddy: Complete backup Click to enlarge.

For our servers it will look as follows
…some text….

Uploading through FTP

If you chose to manually upload the backup file through FTP, follow these instructions:

  1. Download the backup file & importbuddy.php: Navigate to BackupBuddy > Restore/Migrate in your dashboard and download the backup file you’d like to use for the migration and a copy of the ImportBuddy script.
  2. Decide the Directory for the Migration: Decide the FTP directory to migrate or restore the backup to that corresponds to the web URL for your site’s destination. Note: Using an empty directory is best.For example: If you want your new site’s URL to be http://www.your.com/mybuddy/ then your server directory MIGHT be something like this: /user/username/public_html/mybuddy/. Note: The directory structure varies host to host but often follows a similar format.
  3. Upload: Once you’ve decided on the FTP directory, you will then upload the backup file (don’t rename the zip file!) and a copy of your Importbuddy file to your chosen directory via FTP.
  4. Navigate to the uploaded ImportBuddy URL: Using the example directory configuration above, navigate to http://www.your.com/mybuddy/importbuddy.php. ImportBuddy will then walk you through the 6 ImportBuddy Steps for Manual Migrations.
  5. Follow the 6 ImportBuddy Steps for Manual Migrations until the restore / migration is complete.

Downloading the ImportBuddy and backup files.

Downloading the ImportBuddy and backup files. Click to enlarge.

For our servers it will look as follows
…some text….

Sending from the Dashboard

Instead of manually uploading the backup file and your copy of ImportBuddy to your new server, you can send them directly from within BackupBuddy. To send from the dashboard, follow these instructions:

  1. Go to BackupBuddy > Restore/Migrate and click the Send ImportBuddy to a Destination button to send your ImportBuddy file to the new server.
  2. Next, hover over the backup file you’d like to use and click the Send File link.
  3. Clicking both the Send ImportBuddy to a Destination button and the Send File link will open your destinations window. From here, you can either create a new destination to send your files to or select from one of the remote destinations you’ve created previously. You can also check to Delete local backup after successful send if you’d like the file to be removed from your current server after the send.
  4. Navigate to the uploaded ImportBuddy URL – Using your directory configuration, navigate to the location of the ImportBuddy file you just sent. Example:http://www.your.com/mybuddy/importbuddy.php. ImportBuddy will then walk you through the 6 ImportBuddy Steps for Manual Migrations.
  5. Follow the 6 ImportBuddy Steps for Manual Migrations until the restore / migration is complete.

BUBPrepSend.png

Click to enlarge.

For our servers it will look as follows
…some text….

Uploading through ImportBuddy

  1. In ImportBuddy’s Step 1, you can opt to Upload backup file (this will be covered in more detail in the Step 1 section below).
  2. You still, however, have to either upload ImportBuddy to your new server location or send it through the dashboard to the new location.
  3. Navigate to the uploaded ImportBuddy URL – Using your directory configuration, navigate to the location of the ImportBuddy file you just sent. Example:http://www.your.com/mybuddy/importbuddy.php. ImportBuddy will then walk you through the 6 ImportBuddy Steps for Manual Migrations.
  4. Follow the 6 ImportBuddy Steps for Manual Migrations until the restore / migration is complete.

ImportBuddy-upload.png

Click to enlarge.

 For our servers it will look as follows
…some text….

Selecting from BackupBuddy Stash

  1. In ImportBuddy’s Step 1, you can login to your BackupBuddy Stash account and select the backup file that you’d like to use (this will be covered in more detail Step 1).
  2. You still, however, have to either upload ImportBuddy to your new server location or send it through the dashboard to the new location.
  3. Navigate to the uploaded ImportBuddy URL – Using your directory configuration, navigate to the location of the ImportBuddy file you just sent. Example:http://www.your.com/mybuddy/importbuddy.php. ImportBuddy will then walk you through the 6 ImportBuddy Steps for Manual Migrations.
  4. Follow the 6 ImportBuddy Steps for Manual Migrations until the restore / migration is complete.

Selectfromstash.png

Click to enlarge.

For our servers it will look as follows
…some text…..

The 6 ImportBuddy Steps for Manual Migrations

After navigating to the URL file location of ImportBuddy, ImportBuddy will walk you through the 6 ImportBuddy Steps for manual migrations.

Step 1: Authentication Required & Choose Your Backup File

  1. You’ll be prompted to Enter your ImportBuddy password to continue. For more information about setting your ImportBuddy password, visit the ImportBuddy Password page.
  2. Step 1 also prompts you to choose your backup file for the migration. These file options are divided into three tabs: Server, Upload and Stash.
    1. Server – This tab lists backup files currently on the server. Select one to use for the migration.
    2. Upload – Upload a backup file from your computer’s web browser up to this server.
    3. Stash – Retrieve a backup file stored on BackupBuddy Stash (iThemes’ cloud backup storage) and pull it to this server for restoring. Login to your Stash account and select the backup you’d like to use by clicking the Import button.
  3. Note: During Step 1 you’ll find Advanced Options. Select any optional advanced options if needed or directed by technical support.
  4. Once you’ve selected your Advanced Options or if you do not need to select any of these options, click Next Step.

Importbuddy-file-options.png

Click to enlarge.

ImportBuddy-upload.png

Click to enlarge.

Selectfromstash.png

Click to enlarge.

For our servers it will look as follows
…some text….

Step 2: Unzipping Backup File

Step 2 unzips the backup file. There is nothing you need to do for this step. Just select Next Step once the extraction has completed.

 

Step2-importbuddy.png

Click to enlarge.

For our servers it will look as follows
…some text….

Step 3: URL and Database Settings

Step 3 is where you will enter the database settings for the new location. Use your host’s cPanel to create a database or use the Have cPanel? Click to create a database option.

  1. Enter the following URL settings:
    1. WordPress Address – This is the address where you want the final WordPress site you are restoring / migrating to reside. Ex: http://www.foo.com/wp
    2. Use optional custom site address (Home URL)? – OPTIONAL. This is also known as the site address. This is the home address where your main site resides. This may differ from your WordPress URL. For example: http://www.foo.com/
  2. Enter the following Database Settings:
    These settings control where your backed up database will be restored to. If you are restoring to the same server, the settings below will import the database to your existing WordPress database location, overwriting your existing WordPress database already on the server. If you are moving to a new host you will need to create a database to import into. The database settings MUST be unique for each WordPress installation. If you use the same settings for multiple WordPress installations then all blog content and settings will be shared, causing conflicts!

    1. MySQL Server – This is the address to the mySQL server where your database will be stored. 99% of the time this is localhost. The location of your mySQL server will be provided to you by your host if it differs.
    2. Database Name – This is the name of the database you want to import your blog into. The database user must have permissions to be able to access this database. If you are migrating this blog to a new host you will need to create this database (ie using CPanel or phpmyadmin) and create a mysql database user with permissions.
    3. Database User – This is the database user account that has permission to access the database name in the input above. This user must be given permission to this database for the import to work.
    4. Database Pass – This is the password for the database user.
    5. Database Prefix – This is the prefix given to all tables in the database. If you are cloning the site on the same server AND the same database name then you will want to change this or else the imported database will overwrite the existing tables.
  3. Once you’ve entered all the new database information or created your new database, you will need to test the settings. If the test is successful, you will be able to move on to Step 4. If the test fails, however, verify all of your database settings are correct and run the test again. Click Test Database Settings to start the test.
  4. Once the test is successful, click Next Step.

Step3-URLDatabasesettings.png

Click to enlarge.

Step3-testsettings.png

Click to enlarge.

For our servers it will look as follows
…some text….

Creating a Database through cPanel

  1. If you haven’t set up a database for the new location, but have access to cPanel for the new site, you can create your new database through cPanel in ImportBuddy’s Step 3. To create your database, click the Have cPanel? Click to create a database button.

Step3CreateDB.png

Click to enlarge.

2. In the window that opens, you can automatically create a database along with a new database user with permissions. Fill out the required information and then click Create Database.

3. Once you’ve entered all the new database information or created your new database, you will need to test the settings before you can move on to the next step. If the test is successful, you will be able to move on to Step 4. If the test fails, however, verify all of your database settings are correct and run the test again.

Cpanel-database.png

Click to enlarge.

For our servers it will look as follows
…some text….

Step 4: Database Import

Step 4 imports the database information into the database of your new site. Once the import is completed, click the Next Step button.

Note: Advanced options are also available during Step 4. These advanced options allow customizations of various ImportBuddy functionality for custom purposes or troubleshooting. Exercise caution as some advanced options may have unforseen effects if not used properly, such as overwriting existing files or erasing existing database content.

 

Screen Shot 2013-08-13 at 12.33.53 PM.png

Click to enlarge.

For our servers it will look as follows
…some text….

Step 5: Database Migration

Step 5 updates all of the URLs, paths, etc. on your site to match your new site.

  1. Before you move to the final step, be sure to go to your new site and check all of your links to ensure they have changed. You may view your entire import log for providing to support by clicking the View Import Log button.
  2. Once you’ve tested your new site, you can move to the final step by clicking Clean up & remove temporary files.

Simple Problems & Solutions

  • Clicking on a posts results in a 404 Not Found – This is typically caused by a problem with your .htaccess file. Log into your wp-admin, navigate to Settings: Permalinks in the WordPress menu and click the “Save” button to update permalink settings to your .htaccess file. This typically resolves this problem.
  • Logging in redirects back to the old site – This is usually caused by entering the source site URL as the destination URL on Step 3. Re-restoring using the correct URL should fix this problem.
  • Source site has changed to the destination URL – This is caused if you restored over your source site database by entering the source site database settings on Step 3. You may re-restore using correct settings. You may correct the modified URL on the source site by using the Server Information page’s Mass Text Replace tool.

Step5-ImportBuddy.png

Click to enlarge.

For our servers it will look as follows
…some text….

Step 6: Final Cleanup

Step 6 removes any temporary files from your new site that were used for the migration. Your site will then be ready at the URL indicated on this page.

 

Step-6-importbuddy.png

Click to enlarge.

For our servers it will look as follows
…some text….

Huge backup problem

We found a problem on Macro Ecoblog, which was caused by huge backup file. It was more than 5gb. After huge investigation, we found a bug.

When the backup is more than 5gb, we must change the settings of the BackupBuddy to the following:

Now we can use it for larger backups than 5gb.

technical server comppatibility

Technical & Server Compatibility Click to enlarge.

database

Database Click to enlarge.

 

 

See more for Plugins