Any way to have ADMIN_backup.pl add date to backup filename?
Posted: Wed Sep 23, 2020 7:16 pm
Howdy Everybody!
I have the ADMIN_backup.pl script successfully running and uploading the resulting .gz file to an an FTP server. I was wondering if there was a way to make the script add the date to the filename so that it doesn't overwrite the previous days backup file? Or if there is a way to have the FTP portion of the script create a folder with the current date for each days backup? Similar to how the recordings FTP script creates a folder for the current date if one doesn't already exist. Truthfully, having it create the daily folder on the FTP would be preferable.
Thanks,
Rockgeneral
I have the ADMIN_backup.pl script successfully running and uploading the resulting .gz file to an an FTP server. I was wondering if there was a way to make the script add the date to the filename so that it doesn't overwrite the previous days backup file? Or if there is a way to have the FTP portion of the script create a folder with the current date for each days backup? Similar to how the recordings FTP script creates a folder for the current date if one doesn't already exist. Truthfully, having it create the daily folder on the FTP would be preferable.
Thanks,
Rockgeneral