duplicity-team team mailing list archive
-
duplicity-team team
-
Mailing list archive
-
Message #04919
Re: [Question #677428]: "Restore" gives the following:Failed to read /tmp/duplicity-Rtd2wO-tempdir/mktemp-67n08q-1. Can I recover any of my data?
Question #677428 on Duplicity changed:
https://answers.launchpad.net/duplicity/+question/677428
Status: Answered => Open
trevj is still having a problem:
On 23/1/19 9:26 pm, edso wrote:
> Your question #677428 on Duplicity changed:
> https://answers.launchpad.net/duplicity/+question/677428
>
> Status: Open => Answered
>
> edso proposed the following answer:
> Trevorj,
>
> as '--ignore-errors' did not help. let's try something else.
>
> 1.
> can gunzip all files and capture the output '> log.txt 2>&1' (notice the STDERR redirect) ? send it so i can see if there are errors.
I used:
jtrevorj@jtrevorj-G31M-S2L:~/temp/trevorj-G31M-S2L$ gunzip *.*.*.*.*.gz
> log.txt 2>&1
The error file is one line:
gzip:
duplicity-inc.20181213T043719Z.to.20181215T230125Z.vol2.difftar.gz:
invalid compressed data--format violated
I then tried:
gunzip duplicity-full.*.*.*.gz > log.txt 2>&1
of the old and got an empty error file and all of the old
duplicity-full. *.difftar.gz are now just .diftar
>
> 2.
> after that you can try to restore on the resulting files using '--no-compression', although duplicity should detect it as uncompressed backup by itself.
>
> ..ede/duply.net
did this first on the files and got
jtrevorj@jtrevorj-G31M-S2L:~$ duplicity -v9 --no-compression restore
file:///home/jtrevorj/temp/trevorj-G31M-S2L /home/jtrevorj/Restore2 >
duperrors.txt
Failed to read /tmp/duplicity-1RcavU-tempdir/mktemp-QpCtIM-2: (<type
'exceptions.IOError'>, IOError('Not a gzipped file',), <traceback object
at 0x7fd060ee9488>)
once it was gunziped I got:
duplicity -v9 --no-compression restore
file:///home/jtrevorj/temp/trevorj-G31M-S2L /home/jtrevorj/Restore2 >
duperrors.txt
Failed to read /tmp/duplicity-JLOjKi-tempdir/mktemp-VdchUU-2: (<type
'exceptions.IOError'>, IOError('Not a gzipped file',), <traceback object
at 0x7fcfdef24488>)
and the file duperrors.txt
reads
Using archive dir:
/home/jtrevorj/.cache/duplicity/84c5f4bc8fe1f59cf7352bf50ec67f1a
Using backup name: 84c5f4bc8fe1f59cf7352bf50ec67f1a
GPG binary is gpg, version 2.2.4
Import of duplicity.backends.acdclibackend Succeeded
Import of duplicity.backends.azurebackend Succeeded
Import of duplicity.backends.b2backend Succeeded
Import of duplicity.backends.botobackend Succeeded
Import of duplicity.backends.cfbackend Succeeded
Import of duplicity.backends.dpbxbackend Failed: No module named dropbox
Import of duplicity.backends.gdocsbackend Succeeded
Import of duplicity.backends.giobackend Succeeded
Import of duplicity.backends.hsibackend Succeeded
Import of duplicity.backends.hubicbackend Succeeded
Import of duplicity.backends.imapbackend Succeeded
Import of duplicity.backends.lftpbackend Succeeded
Import of duplicity.backends.localbackend Succeeded
Import of duplicity.backends.mediafirebackend Succeeded
Import of duplicity.backends.megabackend Succeeded
Import of duplicity.backends.multibackend Succeeded
Import of duplicity.backends.ncftpbackend Succeeded
Import of duplicity.backends.onedrivebackend Succeeded
Import of duplicity.backends.par2backend Succeeded
Import of duplicity.backends.pydrivebackend Succeeded
Import of duplicity.backends.rsyncbackend Succeeded
Import of duplicity.backends.ssh_paramiko_backend Succeeded
Import of duplicity.backends.ssh_pexpect_backend Succeeded
Import of duplicity.backends.swiftbackend Succeeded
Import of duplicity.backends.sxbackend Succeeded
Import of duplicity.backends.tahoebackend Succeeded
Import of duplicity.backends.webdavbackend Succeeded
Main action: restore
Acquiring lockfile
/home/jtrevorj/.cache/duplicity/84c5f4bc8fe1f59cf7352bf50ec67f1a/lockfile
================================================================================
duplicity 0.7.17 (February 26, 2018)
Args: /usr/bin/duplicity -v9 --no-compression restore
file:///home/jtrevorj/temp/trevorj-G31M-S2L /home/jtrevorj/Restore2
Linux jtrevorj-G31M-S2L 4.15.0-43-generic #46-Ubuntu SMP Thu Dec 6
14:45:28 UTC 2018 x86_64 x86_64
/usr/bin/python 2.7.15rc1 (default, Nov 12 2018, 14:31:15)
[GCC 7.3.0]
================================================================================
Using temporary directory /tmp/duplicity-JLOjKi-tempdir
Registering (mkstemp) temporary file
/tmp/duplicity-JLOjKi-tempdir/mkstemp-mkxJyD-1
Temp has 45454807040 available, backup will use approx 272629760.
Synchronising remote metadata to local cache...
Copying
duplicity-new-signatures.20181213T043719Z.to.20181215T230125Z.sigtar.gz
to local cache.
Registering (mktemp) temporary file
/tmp/duplicity-JLOjKi-tempdir/mktemp-VdchUU-2
Registering (mktemp) temporary file
/tmp/duplicity-JLOjKi-tempdir/mktemp-ZoO03n-3
Releasing lockfile
/home/jtrevorj/.cache/duplicity/84c5f4bc8fe1f59cf7352bf50ec67f1a/lockfile
Removing still remembered temporary file
/tmp/duplicity-JLOjKi-tempdir/mktemp-ZoO03n-3
Removing still remembered temporary file
/tmp/duplicity-JLOjKi-tempdir/mkstemp-mkxJyD-1
Removing still remembered temporary file
/tmp/duplicity-JLOjKi-tempdir/mktemp-VdchUU-2
Releasing lockfile
/home/jtrevorj/.cache/duplicity/84c5f4bc8fe1f59cf7352bf50ec67f1a/lockfile
Releasing lockfile
/home/jtrevorj/.cache/duplicity/84c5f4bc8fe1f59cf7352bf50ec67f1a/lockfile
>
--
You received this question notification because your team duplicity-team
is an answer contact for Duplicity.