You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The integrity check didn't work (BACKUP_INTEGRITY_CHECK option).
This commit removes the set of restorearchive var and this variable is used by /usr/share/rear/verify/NETFS/default/55_check_backup_archive.sh
But the code is strange because before using $restorearchive rear uses $backuparchive which is equals to $restorearchive before this commit.
Take a look at /usr/share/rear/verify/NETFS/default/55_check_backup_archive.sh :
if [[ $BACKUP_INTEGRITY_CHECK=~ ^[yY1] &&-f${backuparchive}.md5 ]] ;thenif [[ !-f"$(dirname $backuparchive)/backup.splitted" ]];then
LogPrint "Checking integrity of $(basename $backuparchive) ..."
(cd $(dirname $restorearchive)&& md5sum -c ${restorearchive}.md5)
StopIfError "Integrity check failed !! \nIf you want to bypass this check please edit the configuration file (/etc/rear/local.conf) and unset BACKUP_INTEGRITY_CHECK."fifi
I think we need to add again the line remove by the commit, I mean to set $restorearchive.
I did a test with the set of restorearchive in usr/share/rear/verify/NETFS/default/07_set_backup_archive.sh and it's work ! It also fixes "the restoring from empty" :
Restoring from ''
by
Restoring from '/tmp/rear.gYRheoJWSEKHveb/outputfs/node/backup.tar.gz'
if you are agree, I can create a pull request ;)
The text was updated successfully, but these errors were encountered:
Hi,
Ref commit : ede4097
The integrity check didn't work (BACKUP_INTEGRITY_CHECK option).
This commit removes the set of restorearchive var and this variable is used by /usr/share/rear/verify/NETFS/default/55_check_backup_archive.sh
But the code is strange because before using $restorearchive rear uses $backuparchive which is equals to $restorearchive before this commit.
Take a look at /usr/share/rear/verify/NETFS/default/55_check_backup_archive.sh :
I think we need to add again the line remove by the commit, I mean to set $restorearchive.
restorearchive is used by :
I did a test with the set of restorearchive in usr/share/rear/verify/NETFS/default/07_set_backup_archive.sh and it's work ! It also fixes "the restoring from empty" :
if you are agree, I can create a pull request ;)
The text was updated successfully, but these errors were encountered: