How do I specify a target sftp directory?

Asked by Darren Obbard

Hi,

I keep getting write errors on my first attempt to set up deja dup. I can write to the the remote directory happily by sftp (or through the GUI using nautilus) but deja dup fails.

I /think/ this is because it is not writing to the specified directory, but instead to the root directory that contains the target one, and for which it does not have write access.

How do I specify the directory? the 'Folder' space seems to make no difference, it's still writing to '/' whatever I do. similarly, specifying the directory up front using "<email address hidden>/desired_directory" doesn't help either. How do I tell deja dup to back up into "my.server.uk/desired_directory/" rather than "my.server.uk/"

Thanks,

Darren

Question information

Language:
English Edit question
Status:
Solved
For:
Déjà Dup Edit question
Assignee:
No assignee Edit question
Solved by:
Darren Obbard
Solved:
Last query:
Last reply:
Revision history for this message
Darren Obbard (darren-obbard) said :
#1

I cannot seem to use WebDav either. Or indeed any other protocol I've tried. Still the same 'Backend exception: Could not copy /temp/duplicity .... to davs://<email address hidden>:5006/duplicity-ful ..." error, with no indication as to why (write access presumably??)

Everything seems to indicate that deja dup is trying to write to / (which I take to be root on the other machine, though this is just a guess) regardless of what I specify as the target folder. I would like it to write to <email address hidden>:5006/ /my_backup/

Any suggestions?

Any suggestions on the most useful information I can give here, if I want to elicit a response?

Revision history for this message
Michael Terry (mterry) said :
#2

Huh, the folder field *should* be doing something.

As a workaround, try entering a "Custom Location" with the value davs://<email address hidden>:5006/my_backup/

Does that work?

Revision history for this message
Darren Obbard (darren-obbard) said :
#3

I should enter this in the space that says "Location(URI)", yes?

If so, I get an error that says "cannot connect to server. You must enter a name for the server". That sounds like a typo on my part or something, but I can't see what...

I know that I /can/ connect to it, because I can copy 'manually' dragging&dropping via nautilus!

Revision history for this message
Michael Terry (mterry) said :
#4

OK. Try this. Add the server like you originally did. Add /my_backup as your Folder. Then backup. You'll get the same error you originally did, but then I want you to paste the results of the following:

gsettings list-recursively org.gnome.DejaDup

Also, what version of Ubuntu (or Fedora or whatever) are you using?

Revision history for this message
Darren Obbard (darren-obbard) said :
#5

Got it!

Having selected a mounted remote location (which seems unavoidably root) I needed to scroll all the way down through the location options and navigate to select the specific directory I wanted. It now can (and is) writing to that.

One new concern I have - is everything always stored in 10Mb chunks? - thats going to be a lot of files in one directory by the time all 8TB are back up ....

Revision history for this message
Darren Obbard (darren-obbard) said :
#6

I realise this is now closed - have started a new threat fro the chunks question

Revision history for this message
Michael Terry (mterry) said :
#7

Oh, sounds like you are using an older version of Deja Dup. Modern versions got rid of that navigate-to-folder-dialog-button and replaced it with a folder text field instead. Glad you got this sorted.