Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I have a ubuntu 12.04 running and have certain things installed like samba,nagios and likewise-open to have my ubuntu join a windows domain. this all works correctly. I am not an expert in linux although I do know some basics.

What I am trying to do is use deja-dup to backup my ubuntu machine to a windows shared folder with the windows-share method?

at the server line I filled in the ip-address of my windows server.

at the folder I put /smb://"mywindowsserver"/folder

username is the username I created for backing up. (I have read somewhere that it usually works to have the same usernames on a Windows server and Ubuntu machine with backing up)

domain name my domain name.

I am not sure I have the syntax right at the folder it is supposed to back up to

When I click backup now it does connect to the windows server and it asks for a password. After I fill it in and press enter it says that it can't mount the windows share. When I go to that server with Ubuntu file explorer, it just connects and mounts the folder fine.

Has this something to do with permissions? Or am I doing something wrong?

share|improve this question

5 Answers 5

I had the same issue. Following rbello1824's link I was able to resolve it. I had to select the custom location option and manually enter the location as:


Worked perfect! Thanks rbello!

share|improve this answer
That worked. Just as a hint, use %20 for spaces in the share name. – ortang May 5 '14 at 18:38

I'm experiencing the same issue. I found this somewhat old bug that suggest issues with the smb path. I've changed the URI in storage->backup location(custom location) to use the correct format. I'm not sure if this is a fix but will test this evening when I'm able.

share|improve this answer

I'm also having a problem with Deja-Dup and backing up to a NAS Device. When I try to configure Deja-Dup to connect to the NAS device (which is configured on a Windows XP machine), I always get the error message, "Failed to Mount Windows Share".

I can mount the NAS Windows Share using Nautilus file browser and copy the files to the NAS manually, but I would like configure Deja-Dup to do it regularly, on a weekly basis.

I'm not sure if was necessary or not, but I downloaded and installed Samba, and tried to configure that.

I'm guessing there must be something wrong with my syntax in Deja-Dup. I'm also no expert in Linux. The syntax I'm using looks like this:

Is there something obvious that I'm doing wrong?

Thanks in advance.

share|improve this answer
This should probably be a new question. – Kevin Bowen Jun 23 '13 at 8:35
OK, I will post a new topic. Thanks. – Cacique83 Jun 23 '13 at 10:38

I am running 14.04 (Trusty Tahr) I am able to connect to my windows share folder by using setting the Storage location as a Custom Location. I set the URI to smb://WindowsServerName/$haredFolderName. Once I set these two fields deja-dup worked correctly. The windows share I used was already set up on my computer. Hope this helps,


share|improve this answer

I had a similar problem with entering the correct storage location on my Ubuntu 14.10. I had no success with Backup location set to Windows Share. After changing to Custom I tried using a URI in the form of smb://WORKGROUP\Username@server/Folder
from the answer above, which didn't work either.
As I am using nemo as file manager I checked the URI to the shared folder, where I saw an URI in the form of

The difference is the semicolon between domain/workrgoup and username. This finally worked for me.

share|improve this answer

Your Answer


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.