Catching up the readme
This commit is contained in:
parent
c8f66d3976
commit
3328c83133
1 changed files with 10 additions and 5 deletions
15
readme.md
15
readme.md
|
@ -16,16 +16,21 @@ EOF
|
||||||
print_help () {
|
print_help () {
|
||||||
echo -e """
|
echo -e """
|
||||||
Usage:
|
Usage:
|
||||||
backup.sh 'command' 'destination'
|
backup.sh 'command' 'destination' 'input'
|
||||||
|
|
||||||
Supported Commands:
|
Supported Commands:
|
||||||
init - intiialize a new backup repository
|
|
||||||
backup - initiate a backup of the home folder to the destination
|
backup - initiate a backup of the home folder to the destination
|
||||||
check - check repository for consistency
|
check - check repository for consistency
|
||||||
snapshots - list backups on the destination
|
find - find a file by a string in the repository (requires input)
|
||||||
prune - prune old backups on the destination
|
ex: backup.sh find s3 critical_file.doc
|
||||||
stats - print statistics about the backup repository
|
|
||||||
help - print this help
|
help - print this help
|
||||||
|
init - intiialize a new backup repository
|
||||||
|
prune - prune old backups on the destination
|
||||||
|
restore - restores file from repository (requires input)
|
||||||
|
ex: backup.sh restore s3 latest --target=/tmp/restore --include=/home/user/Documents
|
||||||
|
snapshots - list backups on the destination
|
||||||
|
stats - print statistics about the backup repository
|
||||||
|
unlock - unlock a locked repository - use for stale locks
|
||||||
|
|
||||||
Required Configuration:
|
Required Configuration:
|
||||||
\$XDG_CONFIG_HOME/backup.sh/\$DESTINATION/\$DESTINATION.repo
|
\$XDG_CONFIG_HOME/backup.sh/\$DESTINATION/\$DESTINATION.repo
|
||||||
|
|
Loading…
Reference in a new issue