Current time: 11-23-2024, 11:15 AM Hello There, Guest! (LoginRegister)


Post Reply 
Multi backup
Author Message
Outlaw Offline
Junior Member
*

Posts: 41
Joined: Oct 2008
Reputation: 0
Post: #1
Multi backup
I have backup dir in /var/www/virtual/account/backups
There are copy of file and database, but There are backup from one day only.
I want do backup from 7 days ago. Example:

account-22.06.2010-backup.tar.bz2
account-23.06.2010-backup.tar.bz2
account-24.06.2010-backup.tar.bz2
account-25.06.2010-backup.tar.bz2
account-26.06.2010-backup.tar.bz2
account-27.06.2010-backup.tar.bz2
account-28.06.2010-backup.tar.bz2
account-29.06.2010-backup.tar.bz2

How it is made?
06-29-2010 08:41 PM
Find all posts by this user Quote this message in a reply
dcreation Offline
Junior Member
*

Posts: 85
Joined: Apr 2009
Reputation: 0
Post: #2
RE: Multi backup
Write a cron which move the old backup file before the backup cron starts to a new file. Smile
06-30-2010 01:38 AM
Find all posts by this user Quote this message in a reply
Outlaw Offline
Junior Member
*

Posts: 41
Joined: Oct 2008
Reputation: 0
Post: #3
RE: Multi backup
DO you have example scripts?
07-06-2010 09:49 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)