Bug 593848 - nearly impossible to use sftp backend
Summary: nearly impossible to use sftp backend
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: deja-dup
Version: 14
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Rahul Sundaram
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-05-19 20:25 UTC by Bill Nottingham
Modified: 2018-04-11 09:11 UTC (History)
6 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2011-05-09 13:16:06 UTC


Attachments (Terms of Use)
screencast of the issue (307.81 KB, video/webm)
2011-03-12 14:49 UTC, Matěj Cepl
no flags Details

Description Bill Nottingham 2010-05-19 20:25:59 UTC
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):

deja-dup-14.1-1.fc13.x86_64
duplicity-0.6.08b-1.fc13.x86_64

How reproducible:

100%

Steps to Reproduce:
1. Choose 'Connect to Server'
2. Choose sftp, fedorapeople.org
3. Either leave the defaults, or select folder '/home/fedora/<whomever>'
  
Actual results:

deja-dup insists on always trying to write to fedorapeople's root directory. Needless to say, this fails.

Expected results:

Not that.

Comment 1 Michael Terry 2010-06-05 02:23:18 UTC
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.

Comment 2 Adam Pribyl 2010-11-06 21:12:02 UTC
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.

Comment 3 Fedora Update System 2010-12-08 08:40:23 UTC
deja-dup-16.1-2.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/deja-dup-16.1-2.fc14

Comment 4 Fedora Update System 2010-12-08 21:36:29 UTC
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

Comment 5 Adam Pribyl 2010-12-09 13:07:07 UTC
This problem is not fixed with this release. IMHO it has to do something with nautilus but ATM this still does not work.

Comment 6 Michael Terry 2010-12-09 13:13:07 UTC
Right, this isn't addressed yet.  I plan to make the whole thing nicer for Fedora 15.

Comment 7 Rahul Sundaram 2010-12-10 06:59:19 UTC
Excluded this update from the bug fix list

https://admin.fedoraproject.org/updates/edit/deja-dup-16.1-2.fc14

Comment 8 Matěj Cepl 2011-03-12 14:49:44 UTC
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).

Comment 9 Matěj Cepl 2011-03-12 14:50:45 UTC
sorry, using deja-dup-17.90-1.x86_64 on F15.

Comment 10 Rahul Sundaram 2011-05-09 13:16:06 UTC
17.4 in Fedora 15 fixes this problem


Note You need to log in before you can comment on or make changes to this bug.