comparison backup/macos/luanBackup.sh @ 1700:47302bc83b2e

use local luan
author Vadim Filimonov <fffilimonov@yandex.ru>
date Tue, 28 Jun 2022 17:49:27 +0300
parents e6750146faa1
children 077366d117bb
comparison
equal deleted inserted replaced
1699:e6750146faa1 1700:47302bc83b2e
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 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;