* Raphael Melo de Oliveira Bastos Sales <[EMAIL PROTECTED]>,
Friday, June 24, 2005, 8:27:02 PM:
I have one machine (Machine 1) that I need backup its files
periodically. I also have another machine (Machine 2) that will hold
the backup. Machine 2 can "see" (make requests to) Machine 1, but the
opposite isn't true. The network is covered by a firewall, so I don
need a paranoid solution. I was thinking about doing the following:


I use a shell script that connects to my machines via ssh and performs commands 
to:
1. Backup Postgres with pg_dump
2. turn last weeks log files into tgz
3. rsync my /etc, /opt/edoceo (that's where I put my stuff) and other dirs

I made it so that there is a config file that describes the backup as: host, db 
(yes/no), dir list.
The machines are firewalled and the ssh is only allowed when signed by my trusted CA (me as well) so I feel pretty secure about it. Rsync allows me to throttle the connection to so I don't chew all my bandwidth on the backups. Let me know if you want a copy and I'll pull all my specifc stuffs out and post a copy. Cheers.

/djb
--
gentoo-user@gentoo.org mailing list

Reply via email to