Red Hat Bugzilla – Bug 593848
nearly impossible to use sftp backend
Last modified: 2018-04-11 05:11:55 EDT
Description of problem:
I've been attempting to test the sftp backend by pointing it at fedorapeople.org.
This appears to be nearly impossible, as it seems wholly unable to actually switch to the user's home dir, even if you pass it as the 'folder' in the 'Connect to Server' dialog.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Choose 'Connect to Server'
2. Choose sftp, fedorapeople.org
3. Either leave the defaults, or select folder '/home/fedora/<whomever>'
deja-dup insists on always trying to write to fedorapeople's root directory. Needless to say, this fails.
This is upstream bug https://bugs.launchpad.net/deja-dup/+bug/460656
Basically, when you use the 'Connect to Server' dialog it would ideally set your location to the destination you picked. But it doesn't yet for technical reasons.
Then, when you try to select the server from the combo box, you are doing just that -- it's just a standard GtkFileChooserButton. So to pick a subfolder, you need to choose 'Other...' and navigate to the folder you want *again*.
Not a great user interaction, but I'm waiting for https://bugzilla.gnome.org/show_bug.cgi?id=584871 to be fixed in Nautilus before I can do something more clever.
Even thou there is now a directory and bookmark option in deja-dup it ignores this setting wish sftp when you enter it, then it calls the duplicity with no directory to re/store. If I copy the duplicity command line and add the directory manually then it works. Not to mention your "Not a great user interaction" describing very well the procedure of adding any kind of backup directory in deja-dup.
deja-dup-16.1-2.fc14 has been submitted as an update for Fedora 14.
deja-dup-16.1-2.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update deja-dup'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/deja-dup-16.1-2.fc14
This problem is not fixed with this release. IMHO it has to do something with nautilus but ATM this still does not work.
Right, this isn't addressed yet. I plan to make the whole thing nicer for Fedora 15.
Excluded this update from the bug fix list
Created attachment 483899 [details]
screencast of the issue
(In reply to comment #0)
> This appears to be nearly impossible, as it seems wholly unable to actually
> switch to the user's home dir, even if you pass it as the 'folder' in the
> 'Connect to Server' dialog.
I have actually exactly opposite experiene ... when trying to save backups to my primary backup location (which is not $HOME on the targeting computer), I cannot set my directory (see the screencast).
sorry, using deja-dup-17.90-1.x86_64 on F15.
17.4 in Fedora 15 fixes this problem