diff options
author | M.Gergo | 2018-03-04 18:37:38 +0100 |
---|---|---|
committer | M.Gergo | 2018-03-04 18:37:38 +0100 |
commit | 48691eb01676b83161c019531f02c7e7f734c445 (patch) | |
tree | 302c0b3a81695fac81f4808abc66e808320221c8 /mayor/bin/backup.sh | |
parent | 251b9285c49688f127fa523a715d924f8bcf7f4b (diff) | |
download | mayor-48691eb01676b83161c019531f02c7e7f734c445.tar.gz mayor-48691eb01676b83161c019531f02c7e7f734c445.zip |
apróbb módosítások
Diffstat (limited to 'mayor/bin/backup.sh')
-rw-r--r-- | mayor/bin/backup.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mayor/bin/backup.sh b/mayor/bin/backup.sh index af02cccf..b554ab4a 100644 --- a/mayor/bin/backup.sh +++ b/mayor/bin/backup.sh @@ -58,7 +58,8 @@ while [ $# -ge 1 ]; do --skip-lock | -l ) SKIPLOCK=1 ;; - --now | -n ) DATE=$(date "+%Y%m%d_%H%M%S") + --now | -n ) shift + DATE=$(date "+%Y%m%d_%H%M%S") BACKUPFILE="$DATE" #echo "Backup fájl: $BACKUPFILE.tgz" ;; @@ -310,3 +311,5 @@ fi # freeup_lock if [ $VERBOSE -gt 0 ]; then echo -e "* Backup-script vége.\n"; fi + +###
\ No newline at end of file |