It would be awesome if you could pass certain variables to your custom backup name such as the date, server name etc.
mvdnbrk
·
Reply
·
My use case: I store backups per kind in their own folder, e.g. /server/project/database/, /server/project/images/, /server/project/storage/. The folder already says what it is, so the default -db- in project-db-2026-11-04-093013-123456.tar is redundant.
With placeholders in the custom name I could use for example:
{date}-{time}→/server/project/database/2026-11-04-093013.tar.gz{database}-{date}-{time}→/server/project/database/project-2026-11-04-093013.tar.gz
Useful placeholders: {date} (Y-m-d), {time} (His), {server}, {database}, {site}.
Each run still gets a unique, sortable name, so "Keep amount of backups" rotation keeps working (it currently breaks with a custom name, since each run overwrites the last).