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

Re: [cobalt-users] Backupping on another server



>> I was wondering if anyone had a good tool for backing a servers complete
>> /home content onto another server. For instance, backing up xxx.xxx.xxx.xxx
>> to yyy.yyy.yyy.yyy so I get something like a tar file with complete /home
>> content on yyy.etc :)

> You can just, as you said, tar the whole /home...
> 
> tar -c /home >> /backup.tar
> 
> and then gzip /backup.tar to make it smaller.
> 
> but note that when you open it on another machines, permissions WILL be
> screwed, and the sites database will most probably NOT work with that, so

Can't you use the -p option to save permissions? Something like:

tar cfvzp home.backup.tar.gz  /home

type tar --help for more options

You might also want to think about rsync. I'm currently using it to backup a
Raq2 to another Raq2. Depends on what you're really wanting to do.

http://rsync.samba.org/

cya,
j