Always forces full backup

Bug #829198 reported by Michal Čihař
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Duplicity
New
Undecided
Unassigned

Bug Description

I'm running daily incremental backups and monthly full ones. Since upgrade to 0.6.14 (it might also appear in 0.6.13, because I'm not sure if I did use that one), duplicity always does full backup:

Reading globbing filelist /etc/duplicity.list
Synchronizing remote metadata to local cache...
Deleting local /var/cache/duplicity/57cfdb6f20a4104d181d228fc19db339/duplicity-full-signatures.20110818T033800Z.sigtar.gz (not authoritative at backend).
Deleting local /var/cache/duplicity/57cfdb6f20a4104d181d228fc19db339/duplicity-full.20110818T033800Z.manifest (not authoritative at backend).
Last full backup date: none
No signatures found, switching to full backup.

The collection-status reports all previous full backups correctly and restore from them works also fine.

Files which did exist on backend by time the backup was run:

duplicity-full-signatures.20110819T044314Z.sigtar.gpg duplicity-full.20110819T044314Z.vol1.difftar.gpg
duplicity-full.20110819T044314Z.manifest.gpg

The problem seems to be in fact that it no longer handles path scp://<email address hidden>//volume1/backup/ as absolute on the backup server:

State = sftp, Before = 'Connected to backup.home.cihar.com.'
sftp command: 'mkdir ""'
State = sftp, Before = 'mkdir ""
Couldn't create directory: Failure'
sftp command: 'cd ""'
State = sftp, Before = 'cd ""'
sftp command: 'mkdir ""'
State = sftp, Before = 'mkdir ""
Couldn't create directory: Failure'
sftp command: 'cd ""'
State = sftp, Before = 'cd ""'
sftp command: 'mkdir "volume1"'
State = sftp, Before = 'mkdir "volume1"
Couldn't create directory: Failure'
sftp command: 'cd "volume1"'
State = sftp, Before = 'cd "volume1"'
sftp command: 'mkdir "backup"'
State = sftp, Before = 'mkdir "backup"
Couldn't create directory: Failure'
sftp command: 'cd "backup"'
State = sftp, Before = 'cd "backup"'
sftp command: 'mkdir ""'
State = sftp, Before = 'mkdir ""
Couldn't create directory: Failure'
sftp command: 'cd ""'
State = sftp, Before = 'cd ""'
sftp command: 'mkdir "jabber"'
State = sftp, Before = 'mkdir "jabber"
Couldn't create directory: Failure'
sftp command: 'cd "jabber"'
State = sftp, Before = 'cd "jabber"'
sftp command: 'ls -1'
State = sftp, Before = 'ls -1'
State = sftp, Before = 'quit'

Revision history for this message
Petter Abrahamsson (petter) wrote :

I've noticed the same issue (Fedora 15, duplicity 0.6.14). A workaround for me was to use rsync (over ssh) as protocol instead of scp, ie. duplicity --no-encryption --full-if-older-than 1W /my/local/dir rsync://uid@host//my/remote/dir.

/petter

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.