From: Steinar H. Gunderson Date: Mon, 6 Oct 2014 21:47:47 +0000 (+0200) Subject: Kill the sdx files; they are not very useful. X-Git-Url: https://git.sesse.net/?p=backup.sh;a=commitdiff_plain;h=733bb4c30f7dff4d58a75966ebfce37c95c7c6c9;hp=bdf2a9c89e16645f36f364e65fc30cf48ec5009a Kill the sdx files; they are not very useful. --- diff --git a/backup.sh b/backup.sh index 46f72c3..7a27318 100755 --- a/backup.sh +++ b/backup.sh @@ -135,12 +135,9 @@ backup() # Update timestamp echo $DATEs > ../.date && touch -t $DATE ../.date - # Make a sorted file list as well - sort -k6 < $DATE.idx > $DATE.sdx - # Fix permissions chmod 600 *tgz #only for us - chmod 644 *sdx *idx 2>/dev/null #everyone can read + chmod 644 *idx 2>/dev/null #everyone can read # Let the remote computer know that we ran a successful backup (for nagios) ssh root@$computer touch $filesystem/.lastbackup