Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a (Virtualized) Linux server which I'd like to backup regularly. The rest of our environment is Microsoft and our backup solution (ArchiveIQ) runs only on Windows - there are no Linux clients.

My solution is to backup the pertinent data to a Windows share which will, in turn, be caught up in the nightly ArchiveIQ backup schedule. Where I need advice is how to go about doing this.

One recommendation was to create an NFS share on a Windows machine and then mount that on the Linux machine. I have very little experience with NFS and am having trouble mounting the share onto the directory.

What I do have experience with is Samba. Would there be any pitfalls of blowing away the NFS share and recreating it as a Windows share and then just mounting with CIFS?

share|improve this question
up vote 1 down vote accepted

I have done the exact same thing for backing up data to a Lacie NAS through CIFS. Works flawlessly.

  1. Mount the share with mount.cifs
  2. Check it mounted OK
  3. Copy the data (I use rsync)
  4. Unmount the share
  5. Check it unmounted OK

As simple as that.

share|improve this answer
Thanks Matt. That's what I was thinking. I was wondering, though, why you unmount and then remount instead of just keeping it mounted? – swasheck Mar 30 '11 at 16:43
That way you guarantee that it is mounted every time and not some leftover stale mount from a while back that is no longer linked to the share. – Majenko Mar 30 '11 at 16:51
cifs handles reconnecting quite well, according to my tests. – grawity Mar 30 '11 at 17:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .