added disclaimer
This commit is contained in:
parent
ede50c4517
commit
fba1045c84
|
@ -1,7 +1,7 @@
|
|||
# btrbk - btrfs backup and restore script
|
||||
|
||||
This is a bash script I made to create simple, incremental, PGP encrypted backups of your btrfs subvolumes.
|
||||
|
||||
**This is horrible don't use this**
|
||||
This is a bash script I made to create simple, incremental, PGP encrypted backups of your btrfs subvolumes.
|
||||
Rclone is used to support a wide variety of Storage Backends. Encryption is done by the Standard gpg commandline tool.
|
||||
|
||||
## Features
|
||||
|
|
4
btrbk
4
btrbk
|
@ -146,6 +146,9 @@ function getSnap {
|
|||
if ! [ -d "$snapLast" ]; then
|
||||
snapLast=$SNAPDIR$(ls -a $SNAPDIR | grep ${VOLNAME[$i]}.$(date -d "$date" +%Y-%m)- | tail -n 1)
|
||||
fi
|
||||
if [ $snapLast = $SNAPDIR ]; then
|
||||
unset snapLast
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
|
@ -222,6 +225,7 @@ function echoHelp {
|
|||
|
||||
options=$(getopt -l "backup,force,date::,restore::,full-restore::,help" -o "bfh" -- "$@")
|
||||
eval set -- "$options"
|
||||
options=($options)
|
||||
for i in ${!options[@]}; do
|
||||
case $1 in
|
||||
-b|--backup) backup=true; shift;;
|
||||
|
|
Loading…
Reference in a new issue