Backups: Add date/time to file name?

I’m scheduling a backup job in Vitrualmin.

I’d like to append the date and time to the backup file, itself. Is this possible?

On the Scheduled Backups->Create Scheduled Backup form, check the box for, and click on Do strftime-style time substitutions on file or directory name to get help about what variables are available.

Thanks for the input. I get how the variables apply, generally, but how do I append the name of the .tar itself to include the date?

For example url.com-01-24-2022.tar instead of url.com.tar

Check this out -

https://www.virtualmin.com/idbackups_and_restoration/#date-based_backups

OP needs other info in the name. I assume template variables are also available in backup names.

https://www.virtualmin.com/documentation/system/template_variables/

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.