From 733bb4c30f7dff4d58a75966ebfce37c95c7c6c9 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Mon, 6 Oct 2014 23:47:47 +0200 Subject: [PATCH] Kill the sdx files; they are not very useful. --- backup.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 -- 2.39.2