Results 1 to 2 of 2

Thread: Remote backups using NFS

  1. #1

    Remote backups using NFS

    Hello all,

    We have bought a dedicated server from one hosting company who setup remote backups up for us and we'd love to copy this setup onto our other servers.

    They have setup /backups as a mount on our dedicated server, when we copy files to that mount, they're sync'd with a remote server.

    They're using NFS, I had to set it up on our server (the client) and they set it up on their server (the server).

    Now our setup is this. We have a remote dedicated server, and a local dedicated server. On the remote dedicated server, i want a folder at the root (/backups), when things are copied to that, they're downloaded to our LOCAL server (/backups)

    Here are the commands I was instructed to run on the client machine (i've replaced the IP addresses with fictional ones):
    Code:
    mkdir /backups; 
    chkconfig portmap on; 
    service portmap start; 
    echo "123.45.6.78:/backups /backups nfs rw,hard,intr,noexec,rsize=8192,wsize=8192,nfsvers=3,noatime,_netdev 0 0" >> /etc/fstab; mount -a
    123.45.6.78 = The backup server (in my case, my local server)

    What do I need to do in order to make this work on the server machine?

    By the way, local backup server is running Debian Linux 3.0
    Remote server is running Redhat Enterprise Linux 4ES

  2. #2
    Any reason you are using NFS and not rsync? NFS uses UDP so it's very fast but prone to errors. Rsync is really nice for backups because it only send the changes in existing files or new file. So once you have copied all your files to your backup system it only taks a small amount of time to update.

Similar Threads

  1. Remote applications, Actually remote Windows Question.
    By Stevef22 in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 11-05-2006, 06:11 AM
  2. Automate backups on Linux
    By trickster in forum General Chat
    Replies: 9
    Last Post: 11-26-2004, 08:15 PM
  3. Script for file backups
    By vwgtiturbo in forum Linux Distros
    Replies: 9
    Last Post: 08-11-2004, 04:44 PM
  4. backups
    By flandercan in forum Redhat / Fedora
    Replies: 5
    Last Post: 03-31-2003, 03:59 AM

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
  •