Hi Raphael, on Friday, 2005-06-24 at 15:27:02, you wrote: > 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: > > On Machine 1, put it on the crontab to put netcat waiting for > requests, and when it did receive a request, dump the files. Like > this: [...]
Hm, sounds feasible, although not really secure. Maybe it's not a concern in a switched network where nobody is supposed to know about ARP spoofing and stuff, but if you have a few CPU cycles to spare you could put the backup account's SSH pubkey on machine1, so you can log in w/o password and then run ssh machine1 "tar -jcf - /whereever" >backup.tar.bz2 on the backup machine. Or, if you don't mind some configuring, use amanda. It scales nicely to more machines should the need arise. cheers! Matthias -- I prefer encrypted and signed messages. KeyID: 90CF8389 Fingerprint: 8E 1F 10 81 A4 66 29 46 B9 8A B9 E2 09 9F 3B 91
pgpnic1vaB2lk.pgp
Description: PGP signature