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: Fanny Lalonde Lévesque
Subject: Re: [Duplicity-talk] No space left on device...
Date: Mon, 9 Dec 2013 16:10:12 -0500

It's working :)

Thank you so much !

Fanny


On Fri, Dec 6, 2013 at 1:00 PM, Russell Clemings <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> 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, 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
https://lists.nongnu.org/mailman/listinfo/duplicity-talk




--
===============================================
Russell Clemings | <address@hidden>
National Association of Science Writers | <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]