Impossible to backup several directories without reading whole disk

Bug #1096492 reported by vsespb
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Duplicity
New
Undecided
Unassigned

Bug Description

Hello.

I need to backup /etc and /home/vse/.rvm into single location. I assume correct way to do this is:

duplicity --no-encryption --include /etc --include /home/vse/.rvm/ --exclude "**" / file:///home/duplicity
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: none
No signatures found, switching to full backup.
Error accessing possibly locked file /home/vse/.gvfs

"Error accessing possibly locked file /home/vse/.gvfs" - I assume that means that it tries read whole disk (which is a bug cause it's slow and i can contain other mounted filesystems) ? Why it tries to access /home/vse/.gvfs if I need just /etc and /home/vse/.rvm ?

(duplicity 0.6.08b Ubuntu 10.04 Python, EXT4)

Revision history for this message
Phill (phill.l) wrote :

This is still a problem in 0.6.18, it seems that duplicity attempts to stat files excluded by wildcards and reports errors if it can't.

The problem was identified years ago here: http://comments.gmane.org/gmane.comp.sysutils.backup.duplicity.general/5630

Here's are my installed package details...

# dpkg -s duplicity | head
Package: duplicity
Status: install ok installed
Priority: optional
Section: utils
Installed-Size: 1028
Maintainer: Ubuntu Developers <email address hidden>
Architecture: amd64
Version: 0.6.18-0ubuntu3.5
Depends: libc6 (>= 2.4), librsync1 (>= 0.9.6), python2.7, python (>= 2.7.1-0ubuntu2), python (<< 2.8), python-gnupginterface (>= 0.3.2-9.1), python-lockfile
Suggests: python-boto, ncftp, rsync, ssh, python-paramiko

# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.5 LTS"

# uname -r
3.2.0-65-generic

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.