Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've been using the Deja Dupe to run automatic backups on my system. The problem I'm having is my server at work occasionally times out and essentially un-mounts my windows shares from Nautilus. I'd like to find a way to run nautilus smb://windowsmountpoint before it Deja Dupe runs the automatic backup. I can't imagine this feature not existing, I just don't know how to do it!

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

There probably is a way but it's probably not that pretty. I'd probably suggest making the connection to the server more reliable.

I'd suggest something like an /etc/fstab-cifs mount like this:

//servername/sharename  /media/mountname  cifs  guest,uid=1000,iocharset=utf8,codepage=unicode,unicode  0  0

You can tailor that to use credentials if you need.

If that's still dropping off, you can use autofs which is great for dynamically mounting things.

share|improve this answer
    
That way makes a lot more sense, however I get mount error(115) after running sudo mount -a with that in fstab. Any ideas? –  theFisher86 Mar 23 '12 at 16:11
add comment

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.