Results 1 to 3 of 3

Thread: Mirror some folders between two ubuntu servers

  1. #1
    Join Date
    Feb 2011
    Beans
    9

    Mirror some folders between two ubuntu servers

    Hi
    I have two server in different locations, they have internet connection.
    Server A is the real server. Server B is for back-up.
    I want to one-way mirror A to B some of the folder like var/www etc.
    How can I do it?
    Thanks

  2. #2
    Join Date
    Apr 2007
    Beans
    3,114
    Distro
    Ubuntu

    Re: Mirror some folders between two ubuntu servers

    rsync -av <source> <destination>

    where both source and destination can also be remote locations, e.g.

    rsync -av /home/user/data user@remoteserver.com:/home/user/

    The remote computer must be accessible with ssh. rsync uses an ssh connection.

  3. #3
    Join Date
    Feb 2011
    Beans
    9

    Re: Mirror some folders between two ubuntu servers

    is there any program uses http connection?
    My remote server has 80 port open only.

Bookmarks

Posting Permissions

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