BackupPC_tarCreate can restore large files.

The error you are seeing happens when the metadata file size (stored in the
directory's attrib file) doesn't match the uncompressed file size.  It
appears in this case, for some reason, the attribute file in that directory
says the file size for basemap.vg is 0.

What's the output from (trying to guess the correct path from your email):

BackupPC_attribPrint /data/backuppc
/pc/fsdata.local/262/f%2fsrv%2fdev-disk-by-label-datadrive%2fdat/fGIS/fGarmin/attrib

Look for the entry for basemap.vg.

What XferMethod are you using for fsdata.local?  Look in a full backup
XferLOG file and see what it says for basemap.vg.


Craig

On Mon, Oct 12, 2020 at 2:59 AM David Walton <dks...@gmail.com> wrote:

> I just restored a backup using the web interface and that worked well. I
> would still like to know if there is a command line restore option that
> will work with backups that contain large files.
> The files that BackupPC_tarCreate restores are ok, it just skipped large
> files.
>
> On Sat, 10 Oct 2020 at 07:49, David Walton <dks...@gmail.com> wrote:
>
>> I tried doing a backup restore using BackupPC_tarCreate piped over ssh.
>> This failed for all large files.
>>
>> Running
>> /usr/local/BackupPC/bin/BackupPC_tarCreate -h fsdata.local -n 262 -s
>> /srv/dev-disk-by-label-datadrive/data / | ssh david@htpc1.local "(cd
>> /media/david/omv071020/bpc262/; tar -xpf -)"
>>
>> Resulted in error messages for all large files like the following:
>> Error: truncating
>> /data/backuppc/cpool/8e/1c/8f1cc9a413ed1ed97f5772df02e6515f to 0 bytes (for
>> ./GIS/Garmin/basemap.vg)
>>
>> Using the web interface, I can download these large files individually,
>> so they have been stored ok.
>>
>> I am currently using BackupPC version 4.3.1
>>
>> Is there a way around this?
>>
>> What is the best way to restore backups that contain large files?
>>
>>
>> --
>> David Walton
>>
>
>
> --
> David Walton
> _______________________________________________
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:    https://github.com/backuppc/backuppc/wiki
> Project: https://backuppc.github.io/backuppc/
>
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/

Reply via email to