Impossible to backup several directories without reading whole disk
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://
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)
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 gnupginterface (>= 0.3.2-9.1), python-lockfile
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-
Suggests: python-boto, ncftp, rsync, ssh, python-paramiko
# cat /etc/lsb-release RELEASE= 12.04 CODENAME= precise DESCRIPTION= "Ubuntu 12.04.5 LTS"
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
# uname -r
3.2.0-65-generic