Appearance
WP-CLI Documentation for Everest Backup Plugin
The Everest Backup Plugin supports WP-CLI commands, allowing users to manage backups and restores directly from the command line interface. Follow the instructions below to use the available commands efficiently.
1. Create Backup (Run in Background)
- command: wp everest-backup backup
- Description: This command creates a backup of your WordPress website. It runs in the background, and the progress is visible only in the plugin admin pages.
2. Create Backup (Faster with progress in CLI)
- command: wp everest-backup backup --express
- Description: This command creates a backup more quickly and shows the progress directly in the command line interface (CLI), providing real-time feedback.
3. Create Backup (Exclude Specific Items)
command: wp everest-backup backup --express --excludes={params}
Description: This command allows you to create a faster backup while excluding specific elements. Replace {params} with a comma-separated list of the items you wish to exclude from the backup. Valid values for {params} includes: database,plugins, themes, media, content.
Example: wp everest-backup backup --express --excludes=database,media,content This would exclude database, media and content from the backup process.
4. Restore Backup (Run in Background)
- command: wp everest-backup restore --file={filename}
- Description: This command restores a backup from the specified file. Replace {filename} with the name of the backup file. The restore process runs in the background, and the progress is visible in the plugin admin pages.
5. Restore Backup (Faster with progress in CLI)
- command: wp everest-backup restore --file={filename} --express
- Description: This command restores a backup file more quickly and shows the progress directly in the command line interface (CLI). Replace {filename} with the backup file name.
By using these WP-CLI commands, you can manage your website backups and restores with greater speed and flexibility, all from the command line.