How to Configure BackupBuddy’s Advanced Settings

Posted OnFeb 11, 2015     CategoryPlugins     CommentsNo comment

In this guide we will focus on the Advanced Settings/Troubleshooting area of the BackupBuddy plugin.

Step 1) Login to the WordPress Dashboard.

Step 2) From the left-hand sidebar of the Dashboard, navigate to BackupBuddy -> Settings -> Advanced Settings/Troubleshooting.

km-buddy-advanced-01a

Step 3) Complete the fields as shown below:

Basic Operation

A. Enable backup reminders If checked, links will be displayed upon post or page edits and during WordPress upgrades to remind and allow rapid backing up after modifications or before upgrading.

This field is checked by default.

For this example, no change was made.

B. Add time in backup file name If checked, your backup filename will display the time the backup was created in addition to the default date. This is useful when making multiple backups in a one-day period.

This field is checked by default.

For this example, no change was made.

C. Lock archive directory (high security) If checked, all downloads of archives via the web will be prevented under all circumstances via .htaccess file. If your server permits it, they will only be unlocked temporarily on click to download.

If your server does not support this unlocking, then you will need to access the archives via the server, such as FTP.

This field is unchecked by default.

For this example, no change was made.

D. Include ImportBuddy in full backup archive If checked, the importbuddy.php (restoration tool) file will be included in: wp-content/uploads/backupbuddy_temp/xxxxxxxxxx/importbuddy.php where the xxx’s match the unique random string in the backup ZIP filename.

This field is checked by default.

For this example, no change was made.

E. Logging Level From the dropdown list, select an Error Logging level.

This option controls how much activity is logged for records or troubleshooting. Logs may be viewed from the Logs/Other tab on the Settings page.

When in Everything/Troubleshooting mode, error emails will contain encrypted troubleshooting data for support. The log file will be located in the wp-content/uploads/pb_backupbuddy directory

For this example, the default value of Errors Only was not changed.

F. Default backup tab From the dropdown list, select one of the available options.

The Default tab open during a backup is the Overview tab. A more technical view is available on the Status tab.

For this example, the default value of Overview was not changed.

G. Maximum log file size Enter a numeric value (in MB) for the maximum size of the Log file. If the Log file exceeds this size, it will be cleared out to prevent it from using too much space.

The default value is 5 MB.

For this example, the default value was not changed.

H. Disable language localization If checked, language localization support will be disabled. BackupBuddy will revent to full English language mode. The Log files will display in English.

The default value is unchecked.

For this example, this field was not changed.

Since no changes were made to the default values, the Basic Operation area will display as follows:

km-buddy-advanced-02aa

Technical & Server Compatibility

I. Delete all backup archives prior to backups If checked, all local backup archives will be deleted prior to each backup. This is useful if in Compatibility mode to prevent backing up existing files.

This field is unchecked by default.

For this example, no change was made.

J. Disable local SSL certificate verification If checked, WordPress will skip local https SSL verification.

This field is unchecked by default.

For this example, no change was made.

K. Prevent Flushing Rarely some servers die unexpectedly when the flush() or or_flush() functions are called multiple times during the same PHP process. Checking this prevents these functions from being called during backups.

This field is unchecked by default.

For this example, no change was made.

L. Save meta data in comment If checked, BackupBuddy will store general backup information in the ZIP comment header, such as Site URL, backup type and time, serial, etc. during backup creation.

This field is checked by default.

For this example, no change was made.

M. Perform integrity check on backup files If checked, each backup file is checked for integrity and completion the first time it is viewed on the Backup page.

On some server configuration, this may cause memory problems as the integrity checking process is intensive. If you are experiencing out of memory errors on the Backup file listing, uncheck this to disable this feature.

This field is checked by default.

For this example, no change was made.

N. Reschedule missing crons in manual backups To proceed to subsequent steps during backups BackupBuddy schedules the next step with the WordPress cron system. If this cron goes missing, the backup cannot proceed. This feature instructs BackupBuddy to attempt to re-schedule this cron as it occurs.

This field is unchecked by default.

For this example, no change was made.

O. Skip chained spawn of cron If checked, BackupBuddy will not call the spawn_cron() function in an attempt to force chaining of cron processes. spawn_chron() causes trouble on some servers.

This field is unchecked by default.

For this example, no change was made.

P. Default global backup mode From the dropdown list, select a Global Backup mode.

Select Modern if you are encountering difficulty backing up due to WordPress cron, HTTP Loopbacks, or other features specific to version 2.x you can try Classic mode, which runs like BackupBuddy v1.x did.

For this example, the default value Modern was not changed.

Since no changes were made to the default values, the Technical & Server Compatibility area will display as follows:

km-buddy-advanced-03a

Database

Q. Skip database dump on backup If checked, this prevents BackupBuddy from backing up the database during any kind of backup.

This feature is only for troubleshooting / advanced usage to work around being unable to backup the database.

This field is unchecked by default.

For this example, no change was made.

R. Database method strategy From the dropdown list, select a Database Method Strategy.

Normally select PHP-based which supports chunking (as of BackupBuddy v5) to support larger databases.

Commandline-based database dumps use mysqldump which is very fast and efficient, but cannot be broken up into smaller steps if it is too large, which could result in timeouts on larger servers.

For this example, the default value of PHP-based was not changed.

S. Break out big table dumps into steps If checked, BackupBuddy will dump some of the commonly larger tables in separate steps.

This only applies to Commandline-based dumps as PHP-based dumps automatically support chunking with resume on table and/or row as needed.

This field is checked by default.

For this example, this field was unchecked.

T. Use separate files per table (when possible) If checked, BackupBuddy will dump individual tables to their own database file (ex: wp_options.sql, wp_posts.sql etc.). When possible based on other criteria such as the dump method and whether breaking out big tables is enabled.

This field is checked by default.

For this example, this field was unchecked.

U. Compatibility mode max rows per select When BackupBuddy is using Comparability mode, mysql dumping (via PHP), BackupBuddy selects data from the database. Reducing this number has BackupBuddy grab smaller portions from the database at a time.

Leave this field blank to use the built-in default (around 2000 rows per select).

For this example, no change was made.

V. Maximum time per chunk The maximum amount of time BackupBuddy should allow a database import chunk to run. BackupBuddy by default limits each chunk to your Maximum PHP runtime when using the default PHP-based method. If your database dump step is timing out, then lowering this value will instruct the script to limit each chunk to allow it to finish within this time period. Raising this value above your server limits will not increase or override server settings.

Leave this field blank to use the built-in default (30 sec).

For this example, no change was made.

W. Skip max command line length check If checked, BackupBuddy attempts to determine your system’s maximum command line length to ensure that database operation commands do not get cut off. On some systems it is not possible to reliably detect this information which could result in falling back into Compability mode even though the system is capable of running in normal operational modes. This option instructs BackupBuddy to skip the command line length check.

This field is unchecked by default.

For this example, no change was made.

km-buddy-advanced-04a

If the fields were completed as outlined above, they will display as follows:

km-buddy-advanced-05a

Click the Save General Settings button to save any changes.

Zip

X. Enable zip compression If checked, ZIP compression will be applied. ZIP compression decreases file sizes of stored backkups. If you are encountering timeouts due to the script running too long, disabled compression may allow the process to complete faster.

This field is checked by default.

For this example, no change was made.

Y. Zip method strategy From the dropdown list, select a Zip Method Strategy.

The default value is Best Available. However if the server is unreliable in this mode, try one of the other options.

For this example, the default value of Best Available was not changed.

Z. Alternative zip system (BETA) Only check this field if directed by Support to do so.

This field is unchecked by default.

For this example, no change was made.

AA. Disable zip method caching Only check this field if directed by Support to do so.

This field is unchecked by default.

For this example, no change was made.

BB. Ignore zip archive warnings If checked, BackupBuddy will ignore non-fatal warnings encountered during the backup process such as the inability to read or access a file, symlink problems, etc. These non-fatal warnings will be logged.

This field is unchecked by default.

For this example, no change was made.

CC. Ignore/do-not-follow symbolic links If checked, BackupBuddy will ignore/not-follow symbolic links encountered during the backup process.

This field is checked by default.

For this example, no change was made.

Since no changes were made to the default values, the ZIP area will display as follows:

km-buddy-advanced-06a

Click the Save General Settings button to save any changes.

During the setup process for BackupBuddy, you may need to return to this tab to modify the options to best suit your needs.

The next step of the guide will focus on How to Manage the Core Log in BackupBuddy.


Leave a Reply

Your email address will not be published. Required fields are marked *

Send this to friend