[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] incremental backup, FTP download by windows client for RAQ4R



On Thu, 26 Jul 2001 13:38:15 +1000, Todd Kirk mumbled something like:
>>1. What directories do I need to backup exactly to be able to
>>restore 100%
>>of my raq,

Todd,
You can answer most of this yourself using "locate". Then back the 
stuff up wherever you find it.
Virtual sites - of course you want to backup the entire /home 
directory - there's all of your sites.
Interbase - no clue. But it's PostgreSQL that holds the Cobalt data, 
not interbase, so perhaps this is what you meant? Again, do 'locate' 
- I'm not sure.
As for users, passwords, and particular tweaks to httpd.conf, 
proftpd.conf etc. etc., you'd need to backup /etc. It's like Prego - 
it's in there. ;)
Logcheck, OpenSSH - both of these should be reinstalled fresh once 
the RaQ has been restored, rather than relying on an old backup. 
Remember, if someone hacked you and you had to restore, you certainly 
don't want to install the hacked OpenSSH files, now do you?
Updates to FTP files are (or should be) in /etc.
Webmail - no clue, depends on what webmail you have installed and 
*where* you have it installed. Most likely in the home directory 
somewhere, so again if  you backup /home, you're covered.
Majordomo you'll find in /usr/local/majordomo, so back that up. Take 
a peek in /usr/local and you'll find things like logcheck and 
portsentry and TrafficLight (if you've got it).
Mail is, again, in the home directory - /home/spool/mail.
Special things in your cron scripts will be covered when you backup 
/etc. You may want to grab a copy of root's crontab while you're at 
it though, in /root/crontab. Also the profile for any special paths 
you've got set, /root/.profile.

An incremental backup really won't solve anything, as 10 gigs split 
into 5 different parts is still 10 gigs in the end. It's going to use 
the same bandwidth, and be more of a pain to transfer and keep track 
of.

>> Ideally I would like to pull this down from my client cable 
>>connection on a bi-weekly basis
That's what I do; got a linux machine here and everything is 
automated. The RaQ backs up and drops into a directory, the linux box 
here moves the current backup to (ie) backup.old and then ftps in and 
grabs the new backup. Doing it for both of my RaQs, and haven't had 
@Home complain yet... (keeping my fingers crossed).

Really though, what you backup is dependent on what you've got 
installed and where, and what special tweaks you've done to the 
machine to make it *yours*.
--
CarrieB
Where are we going? And what's with this handbasket?