# 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