X-Git-Url: https://git.sesse.net/?p=backup.sh;a=blobdiff_plain;f=backup.sh;fp=backup.sh;h=7a273182b3186b55e4af03e2c8c15980d602e96a;hp=46f72c3ae64c8331fd46e7efa41c39bacbf74fff;hb=733bb4c30f7dff4d58a75966ebfce37c95c7c6c9;hpb=bdf2a9c89e16645f36f364e65fc30cf48ec5009a 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