← 返回命令列表

Linux command

gobackup 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

Backup

gobackup perform

Backup

gobackup -c [/path/to/config.yml] perform

List

gobackup list

Restore

gobackup restore [backup-id]

说明

gobackup is a backup tool that supports databases (MySQL, PostgreSQL, Redis, MongoDB) and files. It can compress, encrypt, and upload backups to various storage services. The tool is configured via YAML files and supports multiple backup models, scheduling, and retention policies.

参数

perform
Run backup task
list
List all backups
restore _ID_
Restore from backup
-c, --config _FILE_
Configuration file (default: ~/.gobackup/gobackup.yml)
--model _MODEL_
Specify backup model to run
-v, --version
Display version and exit
-h, --help
Display help and exit

FAQ

What is the gobackup command used for?

gobackup is a backup tool that supports databases (MySQL, PostgreSQL, Redis, MongoDB) and files. It can compress, encrypt, and upload backups to various storage services. The tool is configured via YAML files and supports multiple backup models, scheduling, and retention policies.

How do I run a basic gobackup example?

Run `gobackup perform` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does perform do in gobackup?

Run backup task