fdupoux / fsarchiver

file system archiver for linux
http://www.fsarchiver.org
GNU General Public License v2.0
249 stars 41 forks source link

FSarchiver stop restoring flat encripted and splitted data #143

Open sabalinux opened 8 months ago

sabalinux commented 8 months ago

Hi

For the first time I have issue with FSArchiver A few months ago I did a flat backup with FSArchiver of a huge amount of data : ~360 Gb Backup was successfully completed with no errors

I lost all my data for hardware failure but I have (had) a backup ! Try to restore it :

Archive info

_Detected fileformat=2 in archive /run/media/user/Backup-1/fsarchiver/collect/2023-08-18-back-dircrypt.fsa Current fsarchiver version: 0.8.6.0 Minimum fsarchiver version for that archive: 0.6.4.0 ====================== archive information ====================== Archive type: flat files Archive id: 64dbc183 Archive file format: FsArCh_002 Archive created with: 0.8.7 Archive creation date: 2023-08-1817-34-43 Archive label: Directory Backup Minimum fsarchiver version: 0.6.4.0 Compression level: 5 (zstd level 5) Encryption algorithm: blowfish

Restore process always stop at the same file: -[00][ 79%][REGFILE ] /dir/dir/dir/dir/dir/file.ogg [errno=22, Invalid argument]: archreader.c#157,archreader_read_data(): read failed: read(size=4)=0 -[00][ 79%][REGFILE ] /dir/dir/dir/dir/dir/file.ogg oper_restore.c#802,extractar_restore_obj_regfile_unique(): queue_dequeue_block()=-5=FSAERR_ENDOFFILE for file(/dir/dir/dir/dir/dir/file.ogg) failed oper_restore.c#849,extractar_restore_obj_regfile_unique(): queue_dequeue_header() failed: cannot read footer dico oper_restore.c#879,extractar_restore_obj_regfile_unique(): removing dest/dir/dir/dir/dir/dir/file.ogg oper_restore.c#996,extractar_extract_read_objects(): queue_check_next_item() failed: cannot read object from archive oper_restore.c#1575,oper_restore(): extract_read_objects(dest/) failed

I try to exclude the corrupted file but FSArchiver stop at the same point during reading file

Unable to recover 21% of the remaining data

I know FSARchiver can skip the corrupted files and going over to restore without errors..but not in this case :( Can I recover the rest of my data ?

Thanks