barry db
Back up, restore, roll back, recover or prune the stores this instance runs on.
barry db [options] [command]| Subcommand | Description |
|---|---|
backup |
Back up every store and the vault. |
rollback |
Make the store generation that was active before this one active again. |
recover |
Finish a store generation switch that was interrupted, or undo it when it cannot finish. |
prune |
Delete store generations older than the active one and the one before it. |
restore |
Restore a barry db backup into a new store generation and switch to it. |
barry db backup
Section titled “barry db backup”Back up every store and the vault.
barry db backup [options] [destination]| Argument | Required |
|---|---|
destination |
Optional |
| Option | Description |
|---|---|
--vault |
Include the machine’s vault even when BARRY_HOME names another instance. |
barry db rollback
Section titled “barry db rollback”Make the store generation that was active before this one active again.
barry db rollback [options]| Option | Description |
|---|---|
--yes |
Roll back without an interactive confirmation. |
barry db recover
Section titled “barry db recover”Finish a store generation switch that was interrupted, or undo it when it cannot finish.
barry db recover [options]barry db prune
Section titled “barry db prune”Delete store generations older than the active one and the one before it.
barry db prune [options]| Option | Description |
|---|---|
--yes |
Prune without an interactive confirmation. |
barry db restore
Section titled “barry db restore”Restore a barry db backup into a new store generation and switch to it.
barry db restore [options] <directory>| Argument | Required |
|---|---|
directory |
Required |
| Option | Description |
|---|---|
--replace-installation |
Restore onto a home with a different installation id, making it the backup’s installation. |
Every command also accepts -h, --help. All system commands.