duplicity-talk
[Top][All Lists]
Advanced

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

[Duplicity-talk] Keep running out of space on restore


From: Monte Milanuk
Subject: [Duplicity-talk] Keep running out of space on restore
Date: Wed, 12 Dec 2012 17:33:52 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

Okay... I'm pretty much out of ideas here.

I had been using Deja Dup, a gui front end for duplicity. I backed up my user home directory off my PC running Ubuntu 12.10 to a remote Samba share mounted on the local file system. I had intentions (delusions, at this point) of restoring these files via duplicity to a temp directory on another newer machine and extracting the files I needed when/as needed.

The machine I'm on *now* is a ThinkPad T530, with Mint 14 running in a 20GB root partition, another 200GB mounted under /srv/data, and the Samba share from my ReadyNAS Duo v2 mounted under /srv/data/backup/hp-pc.

I've gone through various iterations of this, first running out of space because I was trying to restore directly to a temp dir inside the user's home directory. Then because the temp file filled up the root partition. Now I'm running the following command:

machin-sin data # duplicity -vi --tempdir /srv/data/backup/tmp/ file:///srv/data/backup/hp-pc/linux/ /srv/data/restore

...which should, if I'm reading the examples right, specify a tempdir of '/srv/backup/tmp' to prevent filling up /, and sources the backup stored on the NAS and mounted under /srv/data/backup/hp-pc/linux, and finally extracts the files to /srv/data/restore, which is on the 200GB data partition.

And it *still* runs out of space, after filling up the root partition...

address@hidden ~ $ df -h
Filesystem                     Size  Used Avail Use% Mounted on
/dev/sda5                       20G  8.8G  9.9G  48% /
udev                           1.8G  4.0K  1.8G   1% /dev
tmpfs                          736M  1.1M  735M   1% /run
none                           5.0M     0  5.0M   0% /run/lock
none                           1.8G  432K  1.8G   1% /run/shm
none                           100M   20K  100M   1% /run/user
/dev/sda9                      184G   28G  147G  17% /srv/data
//192.168.1.100/backup/hp-pc/  450G  147G  303G  33% /srv/data/backup/hp-pc
address@hidden ~ $ df -h
Filesystem                     Size  Used Avail Use% Mounted on
/dev/sda5                       20G   17G  2.4G  88% /
udev                           1.8G  4.0K  1.8G   1% /dev
tmpfs                          736M  1.1M  735M   1% /run
none                           5.0M     0  5.0M   0% /run/lock
none                           1.8G  432K  1.8G   1% /run/shm
none                           100M   16K  100M   1% /run/user
/dev/sda9                      184G   28G  147G  17% /srv/data
//192.168.1.100/backup/hp-pc/  450G  147G  303G  33% /srv/data/backup/hp-pc
address@hidden ~ $ df -h
Filesystem                     Size  Used Avail Use% Mounted on
/dev/sda5                       20G   20G     0 100% /
udev                           1.8G  4.0K  1.8G   1% /dev
tmpfs                          736M  1.1M  735M   1% /run
none                           5.0M     0  5.0M   0% /run/lock
none                           1.8G  432K  1.8G   1% /run/shm
none                           100M   20K  100M   1% /run/user
/dev/sda9                      184G   28G  147G  17% /srv/data
//192.168.1.100/backup/hp-pc/  450G  147G  303G  33% /srv/data/backup/hp-pc
address@hidden ~ $



...and here's the error that duplicity gives:

Deleting /srv/data/backup/tmp/duplicity-JbIF_h-tempdir/mktemp-QycMVg-197
Processed volume 194 of 444
Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1404, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1397, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1331, in main
    restore(col_stats)
  File "/usr/bin/duplicity", line 624, in restore
    restore_get_patched_rop_iter(col_stats)):
File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line 522, in Write_ROPaths
    for ropath in rop_iter:
File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line 495, in integrate_patch_iters
    final_ropath = patch_seq2ropath( normalize_ps( patch_seq ) )
File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line 475, in patch_seq2ropath
    misc.copyfileobj( current_file, tempfp )
File "/usr/lib/python2.7/dist-packages/duplicity/misc.py", line 170, in copyfileobj
    outfp.write(buf)
IOError: [Errno 28] No space left on device

machin-sin data #




Any ideas?



reply via email to

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