search for: backup_exclude_list

Displaying 2 results from an estimated 2 matches for "backup_exclude_list".

2018 May 03
2
Getting --delete to work, simply
...on the backup disk that is no longer on the source disk is not getting deleted. In order to only back up directories/files that start with "G", or "g", required a script that looks like: #!/bin/sh pushd /share/Public/videos ls -d [0-9A-FH-Za-fh-z]* > /share/homes/admin/bin/backup_exclude_list echo "lost+found" >> /share/homes/admin/bin/backup_exclude_list for d in . do rsync -av --delete --exclude-from=/share/homes/admin/bin/backup_exclude_list \ $d /share/Backup-HDD-03 done popd There has to be a much simplier script, or is this really it? Thanks for any tips. MB --...
2018 May 03
0
Getting --delete to work, simply
...er on the source disk is not getting deleted. > > In order to only back up directories/files that start with "G", or "g", > required a script that looks like: > > #!/bin/sh > pushd /share/Public/videos > ls -d [0-9A-FH-Za-fh-z]* > /share/homes/admin/bin/backup_exclude_list > echo "lost+found" >> /share/homes/admin/bin/backup_exclude_list > for d in . > do > rsync -av --delete --exclude-from=/share/homes/admin/bin/backup_exclude_list \ > $d /share/Backup-HDD-03 > done > popd > > There has to be a much simplier script, or is...