diff --git a/zonebackuptofile.sh b/zonebackuptofile.sh index 6221199..e3a8e98 100755 --- a/zonebackuptofile.sh +++ b/zonebackuptofile.sh @@ -3,7 +3,7 @@ usage() { echo "Usage: $0 -z UUID -d days -r remote_folder -l local_folder -s server -t type" >&2 - echo "ex: $o -z bbba5ecb-5bda-47a5-e103-a6bfa368bf68 -d 1 -r remote_folder -l /zone/tools/nfsshare -s 192.168.5.243 -t nfs" >&2 + echo "ex: $0 -z bbba5ecb-5bda-47a5-e103-a6bfa368bf68 -d 1 -r remote_folder -l /zone/tools/nfsshare -s 192.168.5.243 -t nfs" >&2 exit 1 } @@ -72,7 +72,7 @@ if [ $? != 0 ]; then fi # mantain backups of the last N days -find $LFOLDER/$UUID -type f -mtime +$DAYS -delete +#find $LFOLDER/$UUID -type f -mtime +$DAYS -delete snapshot() {