duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Duplicity-talk] Can't backup file


From: Anders Asplund
Subject: RE: [Duplicity-talk] Can't backup file
Date: Thu, 14 Jan 2010 14:22:09 +0000

Ken,

Thanks for the response.

There is nothing special about the file or directory here is the listing of the org directory.

drwxrwxrwx    2 admin    administ     1024 Jan 14 15:07 ./
drwxr-xr-x    7 admin    administ     1024 Jan 14 15:11 ../
-rwxrwxrwx    1 admin    administ       10 Jan 14 15:07 test.txt*


If I use the --no-encryption option everything works just fine.

If you need more information please let me know.


//Anders

> Date: Wed, 13 Jan 2010 18:55:35 -0600
> From: address@hidden
> To: address@hidden
> Subject: Re: [Duplicity-talk] Can't backup file
>
> Anders,
>
> Is there anything special about org/test? Zero length? Odd
> permissions? Any info would be helpful.
>
> ...Thanks,
> ...Ken
>
> Anders Asplund wrote:
> > Hi all,
> >
> > When I'm trying to backup a test file to a local directory using the
> > --no-encryption flag everything works just fine, but as soon as I try to
> > encrypt the file something goes wrong. I have ran out of ideas and I
> > would be very happy if someone could give me an helping hand and look in
> > to my problem.
> >
> > Tank you in advance!!
> >
> > I use the following command:
> >
> > duplicity --encrypt-key=<a_gpg_key> org/ file:///root/backup -v9
> >
> > And I get the following output:
> >
> > [~] # duplicity --encrypt-key=<a_gpg_key> org/ file:///root/backup -v9
> > Using archive dir: /root/.cache/duplicity/9365f973566d6a0483eb0d303bc859fc
> > Using backup name: 9365f973566d6a0483eb0d303bc859fc
> > Import of duplicity.backends.localbackend Succeeded
> > Import of duplicity.backends.giobackend Failed: No module named gio
> > Import of duplicity.backends.imapbackend Succeeded
> > Import of duplicity.backends.botobackend Succeeded
> > Import of duplicity.backends.cloudfilesbackend Succeeded
> > Import of duplicity.backends.webdavbackend Succeeded
> > Import of duplicity.backends.tahoebackend Succeeded
> > Import of duplicity.backends.rsyncbackend Succeeded
> > Import of duplicity.backends.sshbackend Succeeded
> > Import of duplicity.backends.ftpbackend Succeeded
> > Import of duplicity.backends.hsibackend Succeeded
> > Main action: inc
> > ================================================================================
> > duplicity 0.6.05 (August 28, 2009)
> > Args: /opt/bin/duplicity --encrypt-key=<a_gpg_key> org/
> > file:///root/backup -v9
> > Linux xxxxx 2.6.22.18 #1 Sat Aug 15 06:36:55 CST 2009 armv5tejl
> > /opt/bin/python2.6 2.6.4 (r264:75706, Oct 27 2009, 03:00:25)
> > [GCC 4.2.3]
> > ================================================================================
> > Using temporary directory /tmp/duplicity-Hjvu7A-tempdir
> > Registering (mkstemp) temporary file
> > /tmp/duplicity-Hjvu7A-tempdir/mkstemp-Y6avv7-1
> > Temp has 797941075968 available, backup will use approx 34078720.
> > Local and Remote metadata are synchronized, no sync needed.
> > 0 files exist on backend
> > 0 files exist in cache
> > Extracting backup chains from list of files: []
> > Last full backup date: none
> > Collection Status
> > -----------------
> > Connecting with backend: LocalBackend
> > Archive dir: /root/.cache/duplicity/9365f973566d6a0483eb0d303bc859fc
> >
> > Found 0 backup chains without signatures.
> > No backup chains with active signatures found
> > No orphaned or incomplete backup sets found.
> > No signatures found, switching to full backup.
> > Using temporary directory
> > /root/.cache/duplicity/9365f973566d6a0483eb0d303bc859fc/duplicity-aK_JqI-tempdir
> > Registering (mktemp) temporary file
> > /root/.cache/duplicity/9365f973566d6a0483eb0d303bc859fc/duplicity-aK_JqI-tempdir/mktemp-zxEgiM-1
> > Using temporary directory
> > /root/.cache/duplicity/9365f973566d6a0483eb0d303bc859fc/duplicity-YPI1j8-tempdir
> > Registering (mktemp) temporary file
> > /root/.cache/duplicity/9365f973566d6a0483eb0d303bc859fc/duplicity-YPI1j8-tempdir/mktemp-yKTlde-1
> > AsyncScheduler: instantiating at concurrency 0
> > Registering (mktemp) temporary file
> > /tmp/duplicity-Hjvu7A-tempdir/mktemp-n6sBSt-2
> > Selecting org
> > Comparing () and None
> > Getting delta of (() org dir) and None
> > A .
> > Selecting org/test
> > Comparing ('test',) and None
> > Getting delta of (('test',) org/test reg) and None
> > A test
> > Removing still remembered temporary file
> > /tmp/duplicity-Hjvu7A-tempdir/mktemp-n6sBSt-2
> > Cleanup of temporary file /tmp/duplicity-Hjvu7A-tempdir/mktemp-n6sBSt-2
> > failed
> > Removing still remembered temporary file
> > /tmp/duplicity-Hjvu7A-tempdir/mkstemp-Y6avv7-1
> > Cleanup of temporary file /tmp/duplicity-Hjvu7A-tempdir/mkstemp-Y6avv7-1
> > failed
> > Cleanup of temporary directory /tmp/duplicity-Hjvu7A-tempdir failed -
> > this is probably a bug.
> > Traceback (most recent call last):
> > File "/opt/bin/duplicity-2.6", line 1241, in <module>
> > with_tempdir(main)
> > File "/opt/bin/duplicity-2.6", line 1234, in with_tempdir
> > fn()
> > File "/opt/bin/duplicity-2.6", line 1212, in main
> > full_backup(col_stats)
> > File "/opt/bin/duplicity-2.6", line 417, in full_backup
> > globals.backend)
> > File "/opt/bin/duplicity-2.6", line 295, in write_multivol
> > globals.gpg_profile, globals.volsize)
> > File "/opt/lib/python2.6/site-packages/duplicity/gpg.py", line 278, in
> > GPGWriteFile
> > bytes_to_go = data_size - get_current_size()
> > File "/opt/lib/python2.6/site-packages/duplicity/gpg.py", line 270, in
> > get_current_size
> > return os.stat(filename).st_size
> > OSError: [Errno 2] No such file or directory:
> > '/tmp/duplicity-Hjvu7A-tempdir/mktemp-n6sBSt-2'
> >
> > Removing still remembered temporary file
> > /root/.cache/duplicity/9365f973566d6a0483eb0d303bc859fc/duplicity-aK_JqI-tempdir/mktemp-zxEgiM-1
> > Cleanup of temporary file
> > /root/.cache/duplicity/9365f973566d6a0483eb0d303bc859fc/duplicity-aK_JqI-tempdir/mktemp-zxEgiM-1
> > failed
> > Cleanup of temporary directory
> > /root/.cache/duplicity/9365f973566d6a0483eb0d303bc859fc/duplicity-aK_JqI-tempdir
> > failed - this is probably a bug.
> > Removing still remembered temporary file
> > /root/.cache/duplicity/9365f973566d6a0483eb0d303bc859fc/duplicity-YPI1j8-tempdir/mktemp-yKTlde-1
> > Cleanup of temporary file
> > /root/.cache/duplicity/9365f973566d6a0483eb0d303bc859fc/duplicity-YPI1j8-tempdir/mktemp-yKTlde-1
> > failed
> > Cleanup of temporary directory
> > /root/.cache/duplicity/9365f973566d6a0483eb0d303bc859fc/duplicity-YPI1j8-tempdir
> > failed - this is probably a bug.
> >
> >
> > /Anders
> >
> > ------------------------------------------------------------------------
> > Ladda ner nya Internet Explorer 8! Ladda ner nya Internet Explorer 8!
> > <http://windowslive.se.msn.com/wl/downloads>
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Duplicity-talk mailing list
> > address@hidden
> > http://lists.nongnu.org/mailman/listinfo/duplicity-talk
>
>


Ladda ner nya Internet Explorer 8! Ladda ner nya Internet Explorer 8!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]