layout a backupbot (drone-like) interface #20
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
this is my first interface proposal.
At the moment we use restics --host key for the actual host, but I think it could be more useful to actually identify the service with it.
commands
create
restic backup --host $SERVICERestore
restic restore --host $SERVICE $SNAPSHOTDownload
restic dump --host $SERVICE $SNAPSHOTdocker cpSnaphots
Displays a list of all snapshots
restic snaphots -H $SERVICEList
Displays a list of available backups.
restic ls $SNAPSHOTI changed the layout of #23 a little bit.
Please review:
commands
create
restic backup --host $SERVICEbackup --host cloud.example.org create --repo /example/repo--hostand--repoare optionalRestore
restic restore --host $SERVICE $SNAPSHOTbackup --host cloud.example.org restore --snapshot <snapshot_id> --target <target_path>--snapshotand--targetare optionalDownload
restic dump $SNAPSHOT $INCLUDE_PATH > /tmp/$INCLUDE_PATH.tardocker cpbackup download --snapshot <snapshot_id> --path <download_path>--snapshotis optionalIt returns the filepath where the dump is saved. This dump can be copied with
abra app cp.Snaphots
Displays a list of all snapshots
restic snaphots -H $SERVICEbackup --host cloud.example.org snapshots--hostis optionalList
Displays a list of available backups.
restic ls $SNAPSHOTbackup ls --snapshot <snapshot_id> --path <target_path>--snapshotand--pathare optional