Linux command
phpbu 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Run backup
phpbu
Use specific config
phpbu --configuration=[phpbu.xml]
Simulate backup
phpbu --simulate
Verbose output
phpbu -v
说明
phpbu is PHP Backup Utility. Automates backup creation. The tool handles databases, files, and syncing. XML configuration.
参数
- --configuration=_FILE_
- Path to a phpbu XML configuration file.
- --bootstrap=_FILE_
- Bootstrap PHP file included before running the backup.
- --simulate
- Perform a trial run without making any changes.
- --limit=_SUBSET_
- Limit backup execution to the specified subset.
- --restore
- Print a restore guide for the configured backups.
- --generate-configuration
- Create a new configuration skeleton interactively.
- --colors
- Enable colored output.
- --debug
- Display debugging information during backup generation.
- -v, --verbose
- Output more verbose information.
- -V, --version
- Output version information and exit.
- -h, --help
- Display usage information.
FAQ
What is the phpbu command used for?
phpbu is PHP Backup Utility. Automates backup creation. The tool handles databases, files, and syncing. XML configuration.
How do I run a basic phpbu example?
Run `phpbu` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --configuration=_FILE_ do in phpbu?
Path to a phpbu XML configuration file.