HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

phpbu — A backup utility framework for PHP. More information: <https://phpbu.de/manual/current/en/phpbu-manu

Submitted by: @import:tldr-pages··
0
Viewed 0 times
backupcommandframeworkcliphpforphpbuutility

Problem

How to use the phpbu command: A backup utility framework for PHP. More information: <https://phpbu.de/manual/current/en/phpbu-manual.html#cli>.

Solution

phpbu — A backup utility framework for PHP. More information: <https://phpbu.de/manual/current/en/phpbu-manual.html#cli>.

Run backups using the default phpbu.xml configuration file:
phpbu


Run backups using a specific configuration file:
phpbu --configuration={{path/to/configuration_file.xml}}


Only run the specified backups:
phpbu --limit={{backup_task_name}}


Simulate the actions that would have been performed:
phpbu --simulate

Code Snippets

Run backups using the default `phpbu.xml` configuration file

phpbu

Run backups using a specific configuration file

phpbu --configuration={{path/to/configuration_file.xml}}

Only run the specified backups

phpbu --limit={{backup_task_name}}

Simulate the actions that would have been performed

phpbu --simulate

Context

tldr-pages: common/phpbu

Revisions (0)

No revisions yet.