"no such chunk found" when restoring; never used gc

77 views
Skip to first unread message

Drew Douglas

unread,
Feb 22, 2016, 1:03:35 AM2/22/16
to ZBackup general discussion
I'm attempting to restore from a backup. However, I receive the message 

no such chunk found: 7a36ade679c06834730caf803b05baa839fd735946d7b0c6

when restoring like:

  sudo zbackup --password-file <pass_file> restore <storage_path>backups/2015-05/15/00\:26/files.tar > /mnt/restore/restored.tar
 
Indeed, the chunk does not exist in the bundles directory. However, I find this odd as I test each backup using 
 /bin/zbackup --silent --password-file $bakPassFile restore $nowBackupDir/$backupTarfile > /dev/null
and this has never failed.

Please note:
  • I'm creating the backup locally and rsyncing it to removable storage. The backup I'm trying to restore is on another machine on the removable storage.
  • The local backup does not contain the named chunk
  • I can still restore the local backup from that date to a tar file just fine.
  • Both backup and restore were performed on Centos 7 using zbackup 1.4.3
  • I've never used the gc feature of zbackup
Any help, corrections, or troubleshooting steps would be welcomed. TIA.

Konstantin Isakov

unread,
Feb 22, 2016, 1:27:21 AM2/22/16
to ZBackup general discussion
Looks like you're missing some index files in the copy on your removable storage. Check that all those are there.

p.s. bundles/ dir contains bundles, which are collections of chunks compressed together. Each bundle has its own randomly generated name, which doesn't have any relationship with the chunks it contains. The error you got is about a chunk, not a bundle. Looking up a chunk name in bundles/ won't get any matches in any case.

Drew Douglas

unread,
Feb 22, 2016, 11:14:57 AM2/22/16
to ZBackup general discussion
Thank you, Konstantine. I'll investigate my rsync for bad assumptions.
Reply all
Reply to author
Forward
0 new messages