Mercurial Hosting > luan
comparison backup/macos/luanBackup.sh @ 1701:077366d117bb
use local luan
author | Vadim Filimonov <fffilimonov@yandex.ru> |
---|---|
date | Tue, 28 Jun 2022 17:59:19 +0300 |
parents | 47302bc83b2e |
children |
comparison
equal
deleted
inserted
replaced
1700:47302bc83b2e | 1701:077366d117bb |
---|---|
8 | 8 |
9 rm -f `find $BKP/ -name '*.tgz' -mmin +4000`; | 9 rm -f `find $BKP/ -name '*.tgz' -mmin +4000`; |
10 | 10 |
11 cd $DIR; | 11 cd $DIR; |
12 rm -rf backups.copy; | 12 rm -rf backups.copy; |
13 ./luan copy_backups.luan | 13 ./luan.sh copy_backups.luan |
14 tar czvf /Volumes/External/luanBackup/$(date +"backup%Y%m%d%H%M").tgz backups.copy; | 14 tar czvf /Volumes/External/luanBackup/$(date +"backup%Y%m%d%H%M").tgz backups.copy; |
15 } | 15 } |
16 | 16 |
17 sleep 60; | 17 sleep 60; |
18 bkp_machine; | 18 bkp_machine; |