LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Best way to setup Rsync server...single user mode or inet (https://www.linuxquestions.org/questions/linux-newbie-8/best-way-to-setup-rsync-server-single-user-mode-or-inet-4175481650/)

sigint-ninja 10-21-2013 04:30 PM

Best way to setup Rsync server...single user mode or inet
 
hi guys,

busy trying to setup a rsync server using centos...
i have one win2008 server i want to backup to my centos rsync box
now im reading this tutorial http://everythinglinux.org/rsync/ and its telling me i can use rsync over inet but its slower and has draw backs
it says its best to use in rsync in standalone mode like Apache. I know i only have one server backing up to the box, but i think it will be better in the long run to set it up in stand alone mode as i might add more connections etc.

so what exactly is stand alone mode? does it turn the server into a single function machine? like if its an Apache standalone mode, it only runs apache? will this mean my server would have no other functionality?

lleb 10-21-2013 04:48 PM

here is a thought. setup a share of the data you wish to backup from the win2k8 server, mount it on the CentOS 6.x box as a cifs mount point, and issue a local rsync command.

1. setup share on win2k8 server with proper user/pw permissions.
2. create mount point on CentOS 6.x server
3. create script to mount cifs share, verify share is mounted, rsync data, verify data is backed up.
4. use of cron will be your friend.

in all this should take roughly 15 min to setup and configure except for the custom script.

sigint-ninja 10-22-2013 01:41 PM

sorry lleb,

i forgot to mention that im backing up over the internet...but also locally to external hard drives

thanks

lleb 10-22-2013 08:34 PM

Quote:

Originally Posted by sigint-ninja (Post 5050478)
sorry lleb,

i forgot to mention that im backing up over the internet...but also locally to external hard drives

thanks

does not change much. you just have to setup and configure the port forwarding and either DDNS or static IP.

ideally your first rsync will performed locally instead of via the WWW. Keep in mind how much data you are transferring and your upload speeds.

if you have the ability to perform a local rsync then physically MOVE that external storage unit to the other physical location and perform a local restore at that remote location.

1. server A (local) rsycn to portable external HDD
2. take portable external HDD to location of server B
3. restore data from external HDD to server B.
4. if keeping multiple days of data, ON SERVER B copy/rsync to how ever many folders/directories you will be storing data to drastically REDUCE WWW data to be transferred.

if not then your first rsync to server B could take longer then 24hr time.


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