Commands
Last updated
This is the command that you use to run the backup, here is how you use it
bqckup runIt also supports several parameters, to force a backup run even if it’s not on schedule:
bqckup run --forceTo run a backup for a single site:
bqckup run --site mywebsiteHere, mywebsite is the backup name, which you can set in the name field inside /etc/bqckup/sites/domain.yml\
You can also choose to run either an incremental or a full backup using this command.
bqckup --verbose run --site mywebstite --incremental | --fullThe backup history can be viewed using the following command:
bqckup history --site {site_name}site_name also refers to the value of name inside /etc/bqckup/sites/domain.yml.
You can get a list of files that were successfully backed up by running this command:
--full-id: show the full ID of incremental snapshots
If you want to download the backup, you can use this command to generate the link:
Currently, bqckup can only restore incremental backups.
to perform a restore, use this command:
site_name: the name of the site configuration (e.g. domain.com)
--snapshot: optional; specify the snapshot ID to restore. If not provided, the latest snapshot will be used.
--target: optional; specify the target directory to restore files to. By default, files will be restored to their original source directory.
You can view available snapshot IDs by running:
The snapshot ID is shown under the file name field in the history output.
Alternatively, you can use:
Snapshot ID can be found in the Incremental Backups table.
BQCKUP_DEBUG: enables detailed error output and full tracebacks for debugging purposes.
BQCKUP_VERBOSE: displays more detailed runtime information, including internal process details.
Last updated
bqckup get-list {site_name} --full-idbqckup generate-link {storage_name} {object_path}bqckup restore {site_name} --snapshot {snapshot_id|default:latest} --target {target_dir|default:directory_source}bqckup history --site {site_name}bqckup get-list {site_name}