Hey all, this is the part of a script that runs at the end of a backup job that is meant to create a new file with all the backup info in it, with its name being the date it was created, however, it doesn't ever work, the logfile keeps the original name, and therefore gets overwritten when the script runs again, help me out
echo 'Backup ended at' `date` >> $outputfile
cp $outputfile /backup/`date '+%Y-%m-%d_at_%k:%M.dailylog'`
is the problem in this part of the info or in another bit of the script?