]> git.sesse.net Git - backup.sh/commitdiff
Kill the sdx files; they are not very useful.
authorSteinar H. Gunderson <sesse@samfundet.no>
Mon, 6 Oct 2014 21:47:47 +0000 (23:47 +0200)
committerSteinar H. Gunderson <sesse@samfundet.no>
Mon, 6 Oct 2014 21:47:47 +0000 (23:47 +0200)
backup.sh

index 46f72c3ae64c8331fd46e7efa41c39bacbf74fff..7a273182b3186b55e4af03e2c8c15980d602e96a 100755 (executable)
--- 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