BackupBuddy WP-CLI

BackupBuddy WP-CLI Commands

wp backupbuddy
usage: wp backupbuddy backup <profile> [--quiet]

 

NAME

wp backupbuddy backup

DESCRIPTION

Run a BackupBuddy backup. http://getbackupbuddy.com

SYNOPSIS

wp backupbuddy backup <profile> [--quiet]

OPTIONS

<profile>
Profile may either specify the profile ID number, "full" to run the first defined Full backup profile, or "db" to run the first defined Database-only backup profile. The first Full and Database-only profiles are always available as
they are not user-deletable. To find the profile number, run a backup inside BackupBuddy in WordPress and note the number at the end of the URL (3 in this case): http://...&backupbuddy_backup=3

[--quiet]
Suppresses display of status log information from being output to the screen.

EXAMPLES

RUN FULL BACKUP: wp backupbuddy backup full
RUN PROFILE #3: wp backupbuddy backup 3

USAGE

wp backupbuddy backup <profile> [--quiet]

 

Creating a backup with WP-CLI

After running:

wp backupbuddy backup full

you will see a status log print to the terminal. The backup will be saved in:

/wp-content/uploads/backupbuddy_backups/

 

wp backupbuddy backup full
details - BackupBuddy v8.7.2.0 using WordPress v5.7 with PHP v7.4.15 on Linux operating system.
details - Backup mode value setting to: `1`. Profile was: `1`. Global default is: `2`.
details - Calculated archive file: `/public_html/wp-content/uploads/backupbuddy_backups/backup-dev_example_com-2021_03_17-09_13pm-full-e6snx0i72m.zip`.
startFunction - {"function":"pre_backup","title":"Getting ready to backup"}
details - Performing pre-backup procedures.
message - Full backup mode.
...
...
...
details - No more backup steps remain. Finishing...
details - Fileoptions `e6snx0i72m.txt` saved. 18032 bytes written.
startFunction - {"function":"backup_success","title":"Backup completed successfully."}
finishFunction - {"function":"backup_success"}
details - Completed step function `post_backup`.
details - Completed step function `integrity_check`.
details - Completed step function `backup_zip_files`.
details - Completed step function `backup_create_database_dump`.
details - Completed step function `backup_create_database_dump`.
details - Completed step function `backup_create_database_dump`.
Success: Backup completed successfully.

 

Powered by Zendesk