diff options
author | Florian Pritz <bluewind@xinu.at> | 2015-09-28 09:26:59 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2015-09-28 09:26:59 +0200 |
commit | e008cf34fefd9153572a25be34f1cbe719c8ecbf (patch) | |
tree | fa624b30bb6bb685a076379d0447997b98ea250a /backup.sh | |
parent | f4a93f70044c213b2e3d97d61af972ab1bba19a2 (diff) | |
download | bin-e008cf34fefd9153572a25be34f1cbe719c8ecbf.tar.gz bin-e008cf34fefd9153572a25be34f1cbe719c8ecbf.tar.xz |
backup.sh: Fix seek error in globbing file list
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'backup.sh')
-rwxr-xr-x | backup.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -46,7 +46,7 @@ main() { EOF exclude_mountpoints - #echo "$excludeList" + echo "$excludeList" > "$TMPDIR/exclude-list" # save some data that's useful for restores backupDataDir=/root/backup-data/ @@ -62,7 +62,7 @@ EOF # this does not ignore /proc and network mounts so it's not that useful :( #find / | gzip > /root/full-file-list.txt.gz - backup / sftp://backup/$HOSTNAME-backup/full-backup/ --exclude-filelist <(echo "$excludeList") + backup / sftp://backup/$HOSTNAME-backup/full-backup/ --exclude-filelist "$TMPDIR/exclude-list" } backup() { |