duplicity-team team mailing list archive
-
duplicity-team team
-
Mailing list archive
-
Message #04903
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: Open => Answered
edso proposed the following answer:
On 10.01.2019 23:32, trevj wrote:
> Question #677428 on Duplicity changed:
> https://answers.launchpad.net/duplicity/+question/677428
>
> Status: Answered => Open
>
> trevj is still having a problem:
> Thank you for your prompt reply my answers follow your questions:
>
> On 10/1/19 10:13 pm, edso wrote:
>> Your question #677428 on Duplicity changed:
>> https://answers.launchpad.net/duplicity/+question/677428
>>
>> Status: Open => Answered
>>
>> edso proposed the following answer:
>> On 10.01.2019 07:28, trevj wrote:
>>> New question #677428 on Duplicity:
>>> https://answers.launchpad.net/duplicity/+question/677428
>>>
>>> I backed-up my home folder with Ubuntu "Backup" prior to re-installing Ubuntu18.04.1. After installation, attempting to restore my data gave the following:
>>>
>>> Failed to read /tmp/duplicity-Rtd2wO-tempdir/mktemp-67n08q-1: (<type 'exceptions.IOError'>, IOError('Not a gzipped file',), <traceback object at 0x7f7dae2aa680>)
>>>
>>> I have 4 timed backups on the back-up disk and all gave the same error. Is there any way that I could restore at least some of my folder, or have I destroyed my system?
>>>
>> trevj,
>>
>> please provide
>>
>> 1.
>> the full command you use to run duplicity
> It was first run from Deja-dup but see the answer to question 3
>>
>> 2.
>> what is your duplicity version?
> Duplicity 0.7.17
>>
>> 3.
>> ideally run duplicity with max. verbosity '-v9' and provide the complete resulting terminal output. maybe by redirecting it to file 'command > /tmp/out.txt 2>1'
>> and provide it via pastebin or some download service.
>
> The output below was cut and pasted from my terminal:
>
>
> jtrevorj@jtrevorj-G31M-S2L:/$ duplicity -v9 restore
> file:///media/jtrevorj/Backup/trevorj-G31M-S2L /home/jtrevorj/restore2
> Using archive dir:
> /home/jtrevorj/.cache/duplicity/2605f0dbc5560327813c43c0a3d0004f
> Using backup name: 2605f0dbc5560327813c43c0a3d0004f
> 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/2605f0dbc5560327813c43c0a3d0004f/lockfile
> ================================================================================
> duplicity 0.7.17 (February 26, 2018)
> Args: /usr/bin/duplicity -v9 restore
> file:///media/jtrevorj/Backup/trevorj-G31M-S2L /home/jtrevorj/restore2
> Linux jtrevorj-G31M-S2L 4.15.0-29-generic #31-Ubuntu SMP Tue Jul 17
> 15:39:52 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-0dIpTP-tempdir
> Registering (mkstemp) temporary file
> /tmp/duplicity-0dIpTP-tempdir/mkstemp-qhSGPd-1
> Temp has 176266465280 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-0dIpTP-tempdir/mktemp-rkIXe_-2
> Registering (mktemp) temporary file
> /tmp/duplicity-0dIpTP-tempdir/mktemp-Wp7Tv7-3
> Failed to read /tmp/duplicity-0dIpTP-tempdir/mktemp-rkIXe_-2: (<type
> 'exceptions.IOError'>, IOError('Not a gzipped file',), <traceback object
> at 0x7f324de01320>)
> Releasing lockfile
> /home/jtrevorj/.cache/duplicity/2605f0dbc5560327813c43c0a3d0004f/lockfile
> Removing still remembered temporary file
> /tmp/duplicity-0dIpTP-tempdir/mktemp-Wp7Tv7-3
> Removing still remembered temporary file
> /tmp/duplicity-0dIpTP-tempdir/mkstemp-qhSGPd-1
> Removing still remembered temporary file
> /tmp/duplicity-0dIpTP-tempdir/mktemp-rkIXe_-2
> Releasing lockfile
> /home/jtrevorj/.cache/duplicity/2605f0dbc5560327813c43c0a3d0004f/lockfile
> Releasing lockfile
> /home/jtrevorj/.cache/duplicity/2605f0dbc5560327813c43c0a3d0004f/lockfile
> jtrevorj@jtrevorj-G31M-S2L:/$
>
Trevj,
this looks incomplete. it lacks the list of files on your backend as well as detected backup chains.
please run and post a
duplicity -v collection-status ...
..ede/duply.net
--
You received this question notification because your team duplicity-team
is an answer contact for Duplicity.