|
From: Jamie C. <jca...@we...> - 2005-06-29 00:41:57
|
On Tue, 2005-06-28 at 16:39, Neil Davey wrote: > Hi, > I use the virtualmin scheduled backup to regularly backup my users > server incase something goes wrong. > I do a file per server backup into a directory elsewhere on the server. > One feature I'd like to have is the ability to have a date and time > included into the filename of each backup, so I can have rolling > backups. I don't think virtualmin needs to handle how many backup you > have or anything fance like that (although other may disagree).. > > Is it easy enough to modify the backup script to do this? I'm thinking a > format like servername-2005-06-28_1638.tar.gz This is actually possible.. You can check the box 'Do strftime style time substitutions on file or directory name' , and then using codes like %d, %M and %Y in the backup filename. To see a full list of date/time codes available, run the command : man strftime - Jamie |