LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-21-2013, 04:30 PM   #1
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 485

Rep: Reputation: 29
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?
 
Old 10-21-2013, 04:48 PM   #2
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
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.
 
Old 10-22-2013, 01:41 PM   #3
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 485

Original Poster
Rep: Reputation: 29
sorry lleb,

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

thanks
 
Old 10-22-2013, 08:34 PM   #4
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
Quote:
Originally Posted by sigint-ninja View Post
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.
 
  


Reply


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
Unable to Access to Single User Mode or Emergency Mode Pinglu Linux - Newbie 3 10-17-2011 01:25 PM
Emergency mode can mount the HDD with FS error but not in rescue or single user-mode kayod_jj Linux - Newbie 3 12-01-2010 07:03 PM
single user mode under vxfs mode enabled. UltraSoul Solaris / OpenSolaris 1 06-27-2009 09:48 PM
configure the server to boot to single user mode hongnguyen70 Linux - Newbie 11 02-27-2008 03:41 AM
single user mode aashishdhabarde Linux - Kernel 1 01-31-2008 05:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:15 AM.

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