I have an OpenBSD and a FreeBSD system and a mac. I also have a Linux server. What i would like to do is back up all these systems to an external hard-drive using rsync when the external usb disk is connected to my linux box.If i format the external usb disk with cfdisk and the create a non-bootable ext3 file system on this external disk and create and put all the necessary public keys on the Linux box then from the BSD's or the mac issue the command:
#rsync --progress -avhe ssh --delete / user@Linuxbox:/usb/drive/path
Will this back up the entire systems so that they can be restored in the event of an emergency? I should store each OS just in a separate disk file of the external usb drive each time right??
Because i would rather not have to format the external usb drive for each different OS.
Would this work? and would the restoration command for these BSD's be:
rsync -avze ssh linuxbox:/usb/drive/path/dir /
I just need to know the basics. I'm sure given that i'll be able to automate the process.
Thank you very much for any help or advice. I don't want to clone the disks for forensics. I just want to have a way of restoring to a clean OS. This is the most basic question:All the howto's never mention whether or not you have to have an rsync server running on the machine your backing up to. So do you just push or pull from one end of the connection only or do you have to have a client at one end and a server at the other, as is traditional?
Thank you very much please excuse how much of a n00b i am