Find the answer to your Linux question:
Results 1 to 3 of 3
Hello all; I wonder if there is any way I could do an rsync from destination to source instead of usual Source --> Destination? My problem is that I want ...
  1. #1
    Just Joined!
    Join Date
    Aug 2008
    Posts
    26

    Exclamation Need Help with RSYNC!

    Hello all;

    I wonder if there is any way I could do an rsync from destination to source instead of usual Source --> Destination?

    My problem is that I want to make a mirror copy of the main web-server into web-backer

    but my web-backer is in our local network (LAN) and the main Web-Server is off location in another city.

    So when I get on my web-server via ssh I cannot (of course) ping or ssh or anything else to a machine that has a 192.168.x.x address (private IP).(ie my backup server)

    I'd like to copy the off-location server into this local machine using rsync but I do not know how?
    specially since I think I must exclude some directories such as /dev /proc or may be even /sys
    because those deal with unique properties of the machine and should not be copied over to another (different) machine?!
    (please tell me if I am wrong)!
    I am new to Linux (these are all Ubuntu machines using Xen as Virtual Servers),

    So any help or links would be appreciated.

    Thank You!

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,977
    You'll need to poke a hole in your firewall for a port to use for the rsync that will tunnel to the required local backup server. Contact your network admin about this. Hopefully you won't get into a political turf war over this. If you are the network admin, then it should not be an issue other than configuring your router/firewall to do this.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Aug 2008
    Posts
    26
    Quote Originally Posted by Rubberman View Post
    You'll need to poke a hole in your firewall for a port to use for the rsync that will tunnel to the required local backup server. Contact your network admin about this. Hopefully you won't get into a political turf war over this. If you are the network admin, then it should not be an issue other than configuring your router/firewall to do this.

    Hey Thanks a lot. I know a little bit about VPN.
    I did not think about that.

    Anyway I'll give it a try.

    BTW I am new here and to linux. we have people who know this thing inside and out but they are too busy writing code so they let me play with the stuff.

    Thanks again.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...