Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-20-2011, 12:47 PM   #1
Registered: May 2007
Posts: 146

Rep: Reputation: 18
a few question about rsync

Hi there
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

Last edited by methodtwo; 05-20-2011 at 01:27 PM. Reason: I wote it to illogically
Old 05-20-2011, 02:38 PM   #2
Registered: May 2007
Posts: 146

Original Poster
Rep: Reputation: 18
Oh yeah i've just realized about /dev and /proc. So i should do it with a live distro or leave /dev and /proc out of it. But was i right about partitions and files and the other questions.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
rsync question timl Linux - Newbie 4 12-04-2010 04:27 AM
rsync question Twister512 Slackware 6 04-12-2010 12:09 PM
RSync Question JeffC1 Linux - Software 1 08-25-2008 10:14 PM
rsync question mokku Linux - Newbie 1 05-31-2008 09:56 AM
Rsync question Fill Linux - Newbie 2 10-01-2007 05:30 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:45 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration