duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] File found in list-current-files, but won't restore


From: Kenneth Loafman
Subject: Re: [Duplicity-talk] File found in list-current-files, but won't restore.
Date: Thu, 26 Jan 2017 06:47:37 -0600

If you restore the entire directory, do you still get the error (using -v9)

Error 'First patch in sequence [<duplicity.path.ROPath instance at 0x7ff444ab75f0>] was a diff' patching .



On Wed, Jan 25, 2017 at 2:21 PM, Nertskull <address@hidden> wrote:
Yes.  I have restored the entire parent directory.  And everything restores fine....except the .odb file. 

It is like it really is not in the backup.  But the --list-current-files finds it in the backup and shows it in place. 



On 01/25/2017 03:08 PM, Kenneth Loafman wrote:
Sorry, this may be a repeat question, but have you tried restoring the entire directory, not just a single file?

...Ken


On Wed, Jan 25, 2017 at 2:02 PM, Nertskull <address@hidden> wrote:
I have done it without the restore-time parameter. And done it with various times before and after the point those files were created.

And I just ran it again right now without the --restore-time parameter and I still get the same output

*************

Deleting /tmp/duplicity-e92nh8-tempdir/mktemp-IuYynh-5
Forgetting temporary file /tmp/duplicity-e92nh8-tempdir/mktemp-IuYynh-5
Processed volume 2 of 8348
Error 'First patch in sequence [<duplicity.path.ROPath instance at 0x7ff07393e680>, <duplicity.path.ROPath instance at 0x7ff0740ff638>] was a diff' patching .
Deleting /tmp/duplicity-e92nh8-tempdir/mktemp-L0a6FJ-3
Forgetting temporary file /tmp/duplicity-e92nh8-tempdir/mktemp-L0a6FJ-3
Processed volume 3 of 8348
Deleting /tmp/duplicity-e92nh8-tempdir/mktemp-BrpbD3-4
Forgetting temporary file /tmp/duplicity-e92nh8-tempdir/mktemp-BrpbD3-4
Processed volume 4 of 8348
Work/BrownLab/Projects/IDPN/06_Sectioning/BlocksAndSlides_v03.odb not found in archive, no files restored.
Releasing lockfile <lockfile.LinkFileLock instance at 0x7ff074885b48>
Removing still remembered temporary file /tmp/duplicity-e92nh8-tempdir/mkstemp-upVVEC-1

*****

And I'm sure that /media/Nb.... is a directory. I've tried restoring to numerous directories.  And I can always get OTHER sister files to restore.  But just not the .odb files.  Any other file in the parent directory of the .odb file can be restored just fine to that directory. 




On 01/25/2017 02:49 PM, Kenneth Loafman wrote:
Try again, this time dropping the --restore-time parameter.

Also, verify that /media/Nb/TempRestore/Restore.odb is indeed a directory.

...Ken


On Wed, Jan 25, 2017 at 11:50 AM, Nertskull via Duplicity-talk <address@hidden> wrote:
Here is the full log, as well as a file listing of the backup directory

https://www.dropbox.com/sh/hxwsqrml4zi98yi/AACdApKLUTrrmh1PMQR-fiGoa?dl=0



On 01/25/2017 12:40 PM, address@hidden wrote:
> yeah please provide the _full_ log!
>
> also a file listing of /media/Mo/Backups/Local_Backups/wData_R_3C1M1D/ would be of interest!
>
> ..ede/duply.net
>
> On 25.01.2017 18:33, Nertskull wrote:
>> I have uploaded the log file to pastebin.
>>
>> The entire file was 2.7MB, which is too large for pastebin.  I think I have all the important stuff.  Hopefully that is enough, if not, I guess I could maybe make a dropbox link or something to download the entire file.
>>
>> Here is the pastebin link
>>
>> http://pastebin.com/tqR39Kta
>>
>> I'll also look into updating duplicity.  I'll wait for a bit though, just so I can continue to recreate this error for troubleshooting.
>>
>> Thanks all.
>>
>> -dan
>>
>>
>>
>> On 01/25/2017 12:26 PM, Kenneth Loafman via Duplicity-talk wrote:
>>> @jepp, please include the entire command line as well.
>>>
>>>
>>> On Wed, Jan 25, 2017 at 11:20 AM, <address@hidden <mailto:address@hidden>> wrote:
>>>
>>>     asked him for the entire log below already ;).. ede
>>>
>>>     On 25.01.2017 18:18, Kenneth Loafman wrote:
>>>     > The problem he noticed:
>>>     >
>>>     > /Error 'First patch in sequence [<duplicity.path.ROPath instance at 0x7ff444ab75f0>] was a diff' patching .
>>>     > /
>>>     >
>>>     > Seems to have ended the run prematurely, stopping on vol 2 of 6249, but a truncated log tells us very little.
>>>     >
>>>     > ...Ken
>>>     >
>>>     >
>>>     > On Wed, Jan 25, 2017 at 10:48 AM, <address@hidden <mailto:address@hidden> <mailto:address@hidden <mailto:address@hidden>>> wrote:
>>>     >
>>>     >     0.6.23/24 worked pretty stable.. considering the error i guess that paramiko again does not list the full backup, but i can only judge that from the -v9 output.
>>>     >
>>>     >     it would be interesting though to install the latest 0.7.x in parallel and see if the error vanishes.
>>>     >
>>>     >     ..ede/duply.net <http://duply.net> <http://duply.net>
>>>     >
>>>     >     On 25.01.2017 17:34, Kenneth Loafman wrote:
>>>     >     > One thing to note is that the 0.6 series has been deprecated.  You should probably upgrade to 0.7.11 ASAP.
>>>     >     >
>>>     >     > ...Ken
>>>     >     >
>>>     >     >
>>>     >     > On Wed, Jan 25, 2017 at 5:32 AM, edgar.soldin--- via Duplicity-talk <<mailto:address@hidden.org>address@hidden <mailto:address@hiddenorg <mailto:address@hiddenorg>> <mailto:address@hiddenorg <mailto:address@hiddenorg> <mailto:address@hiddenorg <mailto:address@hiddenorg>>>> wrote:
>>>     >     >
>>>     >     >     jepp, the entire log would help. you might send the link privately, if you want.
>>>     >     >
>>>     >     >     ..ede/duply.net <http://duply.net> <http://duply.net> <http://duply.net>
>>>     >     >
>>>     >     >     On 24.01.2017 18:11, Nertskull via Duplicity-talk wrote:
>>>     >     >     > I ran it again with -v9.  I can put the output up on pastebin if still needed.  But first I did find it spit out the following error.
>>>     >     >     >
>>>     >     >     > *********
>>>     >     >     > No orphaned or incomplete backup sets found.
>>>     >     >     > PASSPHRASE variable not set, asking user.
>>>     >     >     > Registering (mktemp) temporary file /tmp/duplicity-x9e2bC-tempdir/mktemp-0NoraC-2
>>>     >     >     > Deleting /tmp/duplicity-x9e2bC-tempdir/mktemp-0NoraC-2
>>>     >     >     > Forgetting temporary file /tmp/duplicity-x9e2bC-tempdir/mktemp-0NoraC-2
>>>     >     >     > Processed volume 1 of 6249
>>>     >     >     > Registering (mktemp) temporary file /tmp/duplicity-x9e2bC-tempdir/mktemp-86W2Nx-3
>>>     >     >     > Error 'First patch in sequence [<duplicity.path.ROPath instance at 0x7ff444ab75f0>] was a diff' patching .
>>>     >     >     > Deleting /tmp/duplicity-x9e2bC-tempdir/mktemp-86W2Nx-3
>>>     >     >     > Forgetting temporary file /tmp/duplicity-x9e2bC-tempdir/mktemp-86W2Nx-3
>>>     >     >     > Processed volume 2 of 6249
>>>     >     >     > Releasing lockfile <lockfile.LinkFileLock instance at 0x7ff445991cf8>
>>>     >     >     > Removing still remembered temporary file /tmp/duplicity-x9e2bC-tempdir/mkstemp-Q0Le0w-1
>>>     >     >     >
>>>     >     >     >
>>>     >     >     > *********
>>>     >     >     >
>>>     >     >     > Not sure what the 'First patch...' error means.
>>>     >     >     >
>>>     >     >     > I'm positive the file name is spelled perfectly. I've copied it straight from the list-current-files.  Plus I've tried restoring the parent directory, and everything restores except the .odb files. So it definitely is not a mis-typing issue.
>>>     >     >     >
>>>     >     >     > I'm running Kubuntu 14.04.5 LTS
>>>     >     >     >
>>>     >     >     > Duplicity 0.6.23
>>>     >     >     >
>>>     >     >     > If you still need the entire log output, let me know and I can put it up somewhere.
>>>     >     >     >
>>>     >     >     > Thanks!
>>>     >     >     >
>>>     >     >     >
>>>     >     >     >
>>>     >     >     > On 01/24/2017 11:09 AM, Kenneth Loafman wrote:
>>>     >     >     >> There is nothing special about .odb files, so rerun the restore with -v9, save the entire log, and post it on pastebin or reply with attachment.
>>>     >     >     >>
>>>     >     >     >> Are you quite certain that the filename is spelled and cased correctly.
>>>     >     >     >>
>>>     >     >     >> Which duplicity version are you using?  What OS distro/version?
>>>     >     >     >>
>>>     >     >     >> ...Thanks,
>>>     >     >     >> ...Ken
>>>     >     >     >>
>>>     >     >     >>
>>>     >     >     >> On Tue, Jan 24, 2017 at 9:23 AM, Nertskull via Duplicity-talk <<mailto:address@hidden.org <mailto:address@hiddenorg> <mailto:address@hiddenorg <mailto:address@hiddenorg>> <mailto:address@hiddenorg <mailto:address@hiddenorg> <mailto:address@hiddenorg <mailto:address@hiddenorg>>>>address@hiddenrg <mailto:address@hiddenorg> <mailto:address@hiddenorg <mailto:address@hiddenorg>> <mailto:address@hiddenorg <mailto:address@hiddenorg> <mailto:address@hiddenorg <mailto:address@hiddenorg>>>> wrote:
>>>     >     >     >>
>>>     >     >     >>     I have a duplicity encrypted backup of a folder.  That folder has many
>>>     >     >     >>     subfolders and 4 files.
>>>     >     >     >>
>>>     >     >     >>     1 file is an excel file.  The other 3 are LibreOffice Base database
>>>     >     >     >>     (.odb) files.
>>>     >     >     >>
>>>     >     >     >>     When I run
>>>     >     >     >>
>>>     >     >     >>         duplicity list-current-files --encrypt-key XXX file:///path/to/backups
>>>     >     >     >>
>>>     >     >     >>     I get a list of the files.  ALL 4 are included in that list.  I see all
>>>     >     >     >>     four files.
>>>     >     >     >>
>>>     >     >     >>     When I run
>>>     >     >     >>
>>>     >     >     >>         duplicity --encrypt-key XXX --file-to-restore
>>>     >     >     >>     'relative/path/to/ExcelFile.xlsx' file:///path/to/backup /path/to/restore
>>>     >     >     >>
>>>     >     >     >>     I get the Excel file restored with NO problems.
>>>     >     >     >>
>>>     >     >     >>     But if I run the SAME command, but just change from the excel file to
>>>     >     >     >>     the base.odb file.  I get an error saying the
>>>     >     >     >>
>>>     >     >     >>         "file.odb not found in archive, no files restored"
>>>     >     >     >>
>>>     >     >     >>     But of course it is there!  It is listed in the 'list-current-files'.
>>>     >     >     >>
>>>     >     >     >>     And I know my syntax is right, because I can restore the excel file.
>>>     >     >     >>
>>>     >     >     >>     Is there something weird about .odb files that causes duplicity to bug out?
>>>     >     >     >>
>>>     >     >     >>     ....
>>>     >     >     >>     So I thought, alright lets restore the entire folder.  And sure enough,
>>>     >     >     >>     no .odb files.  None of the 3 .odb files restore.  Even though they are
>>>     >     >     >>     listed as part of the backup using 'list-current-files'.
>>>     >     >     >>
>>>     >     >     >>     Why do these files not restore?
>>>     >     >     >>
>>>     >     >     >>     _______________________________________________
>>>     >     >     >>     Duplicity-talk mailing list
>>>     >     >     >>     address@hidden <mailto:address@hiddenorg> <mailto:address@hiddenorg <mailto:address@hiddenorg>> <mailto:address@hiddenorg <mailto:address@hiddenorg> <mailto:address@hiddenorg <mailto:address@hiddenorg>>> <mailto:address@hiddenorg <mailto:address@hiddenorg> <mailto:address@hiddenorg <mailto:address@hiddenorg>> <mailto:address@hiddenorg <mailto:address@hiddenorg> <mailto:address@hiddenorg <mailto:address@hiddenorg>>>>
>>>     >     >     >>     https://lists.nongnu.org/mailman/listinfo/duplicity-talk <https://lists.nongnu.org/mailman/listinfo/duplicity-talk> <https://lists.nongnu.org/mailman/listinfo/duplicity-talk <https://lists.nongnu.org/mailman/listinfo/duplicity-talk>> <https://lists.nongnu.org/mailman/listinfo/duplicity-talk <https://lists.nongnu.org/mailman/listinfo/duplicity-talk> <https://lists.nongnu.org/mailman/listinfo/duplicity-talk <https://lists.nongnu.org/mailman/listinfo/duplicity-talk>>> <https://lists.nongnu.org/mailman/listinfo/duplicity-talk <https://lists.nongnu.org/mailman/listinfo/duplicity-talk> <https://lists.nongnu.org/mailman/listinfo/duplicity-talk <https://lists.nongnu.org/mailman/listinfo/duplicity-talk>> <https://lists.nongnu.org/mailman/listinfo/duplicity-talk <https://lists.nongnu.org/mailman/listinfo/duplicity-talk> <https://lists.nongnu.org/mailman/listinfo/duplicity-talk <https://lists.nongnu.org/mailman/listinfo/duplicity-talk>>>>
>>>     >     >     >>
>>>     >     >     >>
>>>     >     >     >
>>>     >     >     >
>>>     >     >     >
>>>     >     >     > _______________________________________________
>>>     >     >     > Duplicity-talk mailing list
>>>     >     >     > address@hidden <mailto:address@hiddenorg> <mailto:address@hiddenorg <mailto:address@hiddenorg>> <mailto:address@hiddenorg <mailto:address@hiddenorg> <mailto:address@hiddenorg <mailto:address@hiddenorg>>>
>>>     >     >     > https://lists.nongnu.org/mailman/listinfo/duplicity-talk <https://lists.nongnu.org/mailman/listinfo/duplicity-talk> <https://lists.nongnu.org/mailman/listinfo/duplicity-talk <https://lists.nongnu.org/mailman/listinfo/duplicity-talk>> <https://lists.nongnu.org/mailman/listinfo/duplicity-talk <https://lists.nongnu.org/mailman/listinfo/duplicity-talk> <https://lists.nongnu.org/mailman/listinfo/duplicity-talk <https://lists.nongnu.org/mailman/listinfo/duplicity-talk>>>
>>>     >     >     >
>>>     >     >
>>>     >     >     _______________________________________________
>>>     >     >     Duplicity-talk mailing list
>>>     >     >     address@hidden <mailto:address@hiddenorg> <mailto:address@hiddenorg <mailto:address@hiddenorg>> <mailto:address@hiddenorg <mailto:address@hiddenorg> <mailto:address@hiddenorg <mailto:address@hiddenorg>>>
>>>     >     >     https://lists.nongnu.org/mailman/listinfo/duplicity-talk <https://lists.nongnu.org/mailman/listinfo/duplicity-talk> <https://lists.nongnu.org/mailman/listinfo/duplicity-talk <https://lists.nongnu.org/mailman/listinfo/duplicity-talk>> <https://lists.nongnu.org/mailman/listinfo/duplicity-talk <https://lists.nongnu.org/mailman/listinfo/duplicity-talk> <https://lists.nongnu.org/mailman/listinfo/duplicity-talk <https://lists.nongnu.org/mailman/listinfo/duplicity-talk>>>
>>>     >     >
>>>     >     >
>>>     >
>>>     >
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Duplicity-talk mailing list
>>> address@hidden
>>> https://lists.nongnu.org/mailman/listinfo/duplicity-talk


_______________________________________________
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]