Mercurial Hosting > luan
changeset 1699:e6750146faa1
no restart on backup
author | Vadim Filimonov <fffilimonov@yandex.ru> |
---|---|
date | Tue, 28 Jun 2022 16:13:37 +0300 |
parents | 2dbcc8360a3e |
children | 47302bc83b2e |
files | backup/macos/luanBackup.sh |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
diff -r 2dbcc8360a3e -r e6750146faa1 backup/macos/luanBackup.sh --- a/backup/macos/luanBackup.sh Mon Jun 27 20:51:49 2022 -0600 +++ b/backup/macos/luanBackup.sh Tue Jun 28 16:13:37 2022 +0300 @@ -9,9 +9,9 @@ rm -f `find $BKP/ -name '*.tgz' -mmin +4000`; cd $DIR; - ./stop.sh - tar czvf /Volumes/External/luanBackup/$(date +"backup%Y%m%d%H%M").tgz backups; - ./start.sh + rm -rf backups.copy; + luan copy_backups.luan + tar czvf /Volumes/External/luanBackup/$(date +"backup%Y%m%d%H%M").tgz backups.copy; } sleep 60;