These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for schedule backup: strftime-style substitutions? on the new forum.
Hi,
I'm using the vm scheduled backup page to backup a virtual server.
I am also using Amazon S3 to upload the backup.
It's working great, except what I really want is a daily backup of each day:
2008-08-11.tar.gz 2008-08-12.tar.gz
etc...
My issue is that when I use the naming type; backup_%Y-%m-%d.tar.gz
The tar.gz files are created, but they are corrupt and I can't open them.
So, in closing, are these .tar.gz files or some other file type (or no file type)?
Alex
Look-a-like-a bug. I'd recommend filing a ticket, and Jamie will either explain why it's not a bug and how to deal with it, or fix the bug and offer a workaround. ;-)
--
Check out the forum guidelines!
Hi Alex I ma currently using a backup script that I wrote myself. However here is a line from it that you should be able to use for daily's.
tar -cf /backups/INC`date +%Y%m%d`.tar.gz /home/%user%/ --listed-incremental=/backups/%user%.snar --preserve --absolute --gzip --verbose
where user is replaced with local users who i perform incremental backups for.
Essentially here is what you want "`date +%Y%m%d`.tar.gz"