Directadmin overwrites new backups

R-STAR

New member
Joined
Feb 23, 2018
Messages
2
Hi there.
I want to make multiple backups of an account in a day but directadmin overwrites new backups and this way the old ones get removed.

are there any ways to append the hour at the end of the backup's name? for example

backup-6am.tar.gz
backup-10am.tar.gz
...


please help.
 
Hi,

you need to put the backups in different directory using the "Append to path" field in the Admin Backup/Transfer tool.

Regards,
 
Hi,

you need to put the backups in different directory using the "Append to path" field in the Admin Backup/Transfer tool.

Regards,

Yes it's one of the solutions. I want to append linux timestamp (which is a good idea to make difference between backup files in same directory) at the end of the file's names.

https://www.directadmin.com/features.php?id=951

I think the above solution may work but I'm not familiar with that. Can you please help to create such script?

Thanks.
 
Back
Top