duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] No space left on device...


From: edgar . soldin
Subject: Re: [Duplicity-talk] No space left on device...
Date: Tue, 10 Dec 2013 00:40:51 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1

fyi 0.6.20 had the following fix

* Merged in lp:~ed.so/duplicity/duplicity.tmpspacefix
  - use tempfile.TemporaryFile() so unused temp files are deleted automagically
  - propbably solve bug 'Out of space error while restoring a file'
  - https://bugs.launchpad.net/duplicity/+bug/1005901
  - http://lists.gnu.org/archive/html/duplicity-talk/2012-09/msg00000.html

..ede/duply.net

On 10.12.2013 00:35, Russell Clemings wrote:
> CentOS release 6.4 (Final)
> Python 2.6.6
> duplicity 0.6.19
> 
> 
> 
> 
> On Mon, Dec 9, 2013 at 3:12 PM, <address@hidden <mailto:address@hidden>> 
> wrote:
> 
>     could either one of you please state your python version and linux 
> distro? sounds like a python issue..
> 
>     ede/duply.net <http://duply.net>
> 
>     On 09.12.2013 22:10, Fanny Lalonde Lévesque wrote:
>     > It's working :)
>     >
>     > Thank you so much !
>     >
>     > Fanny
>     >
>     >
>     > On Fri, Dec 6, 2013 at 1:00 PM, Russell Clemings <address@hidden 
> <mailto:address@hidden> <mailto:address@hidden <mailto:address@hidden>>> 
> wrote:
>     >
>     >     FWIW, I found that I needed to include an equals sign to get this 
> to work, e.g.
>     >
>     >     --tempdir=/store/secsi2/tmp
>     >
>     >     instead of:
>     >     --tempdir /store/secsi2/tmp
>     >
>     >
>     >
>     >
>     >     On Fri, Dec 6, 2013 at 9:54 AM, Fanny Lalonde Lévesque 
> <address@hidden <mailto:address@hidden> <mailto:address@hidden 
> <mailto:address@hidden>>> wrote:
>     >
>     >         Hi,
>     >
>     >         I'm trying to backup a CentOS server (CentOS release 6.4 
> (Final)) with duplicity (version 0.6.21) but I keep having the error message 
> "Exception IOError: (28, 'No space left on device'). The partition with \tmp 
> (/dev/sda2) is only 20Go so it get filled very fast. I tried to use the 
> tempdir and archive-dir options
>     >         to specify another folder (/store/secsi2/tmp) on a bigger 
> partition (/dev/sda6)  but I still got the same error message.
>     >
>     >         Here is my command:
>     >
>     >         duplicity incremental \
>     >                 -v 5 \
>     >                 --full-if-older-than 1M \
>     >                 --exclude /dev \
>     >                 --exclude /mnt \
>     >                 --exclude /proc \
>     >                 --exclude /root/.cache/duplicity \
>     >                 --exclude /root/.gnupg \
>     >                 --exclude /root/.ssh \
>     >                 --exclude /sys \
>     >                 --exclude /tmp \
>     >                 --exclude /var/log \
>     >                 --exclude /var/svn/_old \
>     >                 --encrypt-key XXXXXXXX \
>     >                 --sign-key XXXXXXXX \
>     >                 --gpg-options='--compress-algo=zlib' \
>     >                 --volsize 1024 \
>     >                 --tempdir /store/secsi2/tmp \
>     >         --archive-dir=/store/secsi2/tmp \
>     >                 / \
>     >                 "${remote}"
>     >
>     >
>     >         Here is the result form "df -h":
>     >
>     >         Filesystem            Size  Used Avail Use% Mounted on
>     >         /dev/sda2              20G   19G  195M  99% /
>     >         tmpfs                  16G     0   16G   0% /dev/shm
>     >         /dev/sda1              97M   44M   48M  48% /boot
>     >         /dev/sda6             1.8T  216G  1.5T  13% /store
>     >         /dev/sda3             4.0G  367M  3.4G  10% /var
>     >
>     >         Here is the detailed error message:
>     >
>     >         Backup started, at Wed Nov 20 10:55:01 EST 2013
>     >         from   /
>     >         to     ...
>     >         --------------------------------------------------
>     >
>     >         Cleaning up ...
>     >
>     >         Synchronizing remote metadata to local cache...
>     >         Copying duplicity-full-signatures.20121202T080008Z.sigtar.gpg 
> to local cache.
>     >         Copying duplicity-full-signatures.20130104T080008Z.sigtar.gpg 
> to local cache.
>     >         Copying duplicity-full-signatures.20130104T080008Z.sigtar.gpg 
> to local cache.
>     >         Copying duplicity-full-signatures.20121202T080008Z.sigtar.gpg 
> to local cache.
>     >         Copying duplicity-full-signatures.20130104T080008Z.sigtar.gpg 
> to local cache.
>     >         Traceback (most recent call last):
>     >           File "/usr/bin/duplicity", line 1411, in <module>
>     >             with_tempdir(main)
>     >           File "/usr/bin/duplicity", line 1404, in with_tempdir
>     >             fn()
>     >           File "/usr/bin/duplicity", line 1282, in main
>     >             sync_archive(decrypt)
>     >           File "/usr/bin/duplicity", line 1082, in sync_archive
>     >             copy_to_local(fn)
>     >           File "/usr/bin/duplicity", line 1029, in copy_to_local
>     >             gpg.GzipWriteFile(src_iter, tdp.name <http://tdp.name> 
> <http://tdp.name>, size=sys.maxint)
>     >           File "/usr/lib64/python2.6/site-packages/duplicity/gpg.py", 
> line 387, in GzipW
>     >         riteFile
>     >             gzip_file.write(new_block.data)
>     >           File "/usr/lib64/python2.6/gzip.py", line 197, in write
>     >             self.fileobj.write( self.compress.compress(data) )
>     >           File "/usr/lib64/python2.6/site-packages/duplicity/gpg.py", 
> line 369, in write
>     >             result = self.fileobj.write(buf)
>     >         IOError: [Errno 28] No space left on device
>     >
>     >         Exception IOError: (28, 'No space left on device') in <bound 
> method GzipFile.__d
>     >         el__ of <gzip duplicity.gpg.FileCounted instance at 0x29d3c68 
> 0x29d3b48>> ignore
>     >         d
>     >
>     >
>     >         Thank you in advance for your help !
>     >
>     >         Fanny
>     >
>     >
>     >         _______________________________________________
>     >         Duplicity-talk mailing list
>     >         address@hidden <mailto:address@hidden> <mailto:address@hidden 
> <mailto:address@hidden>>
>     >         https://lists.nongnu.org/mailman/listinfo/duplicity-talk
>     >
>     >
>     >
>     >
>     >     --
>     >     ===============================================
>     >     Russell Clemings | <address@hidden <mailto:address@hidden> 
> <mailto:address@hidden <mailto:address@hidden>>>
>     >     National Association of Science Writers | <address@hidden 
> <mailto:address@hidden> <mailto:address@hidden <mailto:address@hidden>>>
>     >     ===============================================
>     >
>     >     _______________________________________________
>     >     Duplicity-talk mailing list
>     >     address@hidden <mailto:address@hidden> <mailto:address@hidden 
> <mailto:address@hidden>>
>     >     https://lists.nongnu.org/mailman/listinfo/duplicity-talk
>     >
>     >
>     >
>     >
>     > _______________________________________________
>     > Duplicity-talk mailing list
>     > address@hidden <mailto:address@hidden>
>     > https://lists.nongnu.org/mailman/listinfo/duplicity-talk
>     >
> 
>     _______________________________________________
>     Duplicity-talk mailing list
>     address@hidden <mailto:address@hidden>
>     https://lists.nongnu.org/mailman/listinfo/duplicity-talk
> 
> 
> 
> 
> -- 
> ===============================================
> Russell Clemings | <address@hidden <mailto:address@hidden>>
> National Association of Science Writers | <address@hidden 
> <mailto:address@hidden>>
> ===============================================
> 
> 
> _______________________________________________
> Duplicity-talk mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/duplicity-talk
> 



reply via email to

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