View Single Post
  #6 (permalink)  
Old 07-11-2009, 02:51 PM
cPanelEricE's Avatar
cPanelEricE cPanelEricE is offline
cPanel Staff (Administrator)
 
Join Date: Nov 2007
Location: Texas
Posts: 170
cPanelEricE is on a distinguished road
Talking

Howdy,

If you just want to keep n number of copies rotate back them up in some more generic fashion. Then rotate them before the mysql dump. It'd look something like this below.

rm dbname.bz.4
mv dbname.bz.3 dbname.bz.4
mv dbname.bz.2 dbname.bz.3
mv dbname.bz.1 dbname.bz.2
mv dbname.bz dbname.bz.1

Now run your backup!

The dates are still no the file status. If you ever wanted to get them ls -l would flush it out.

As for partial backups, I like a simple 1 file = 1 good backup. But that's my personal opinion.

Also I don't backup on server, I scp the files off location as soon as they're backed up.

You're welcome to use anything I've posted, if you mention my name send me link.
__________________
--Eric(E)

Using Enkompass compared to cPanel is like going to a MacDonald’s in France, sure they’ve got the same things we have over here, but it’s a little different.
Reply With Quote