Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.