Koozali.org: home of the SME Server

[SOLVED] Re: Restore Verification of workstation backup fails sme8.2

Offline warren

  • *
  • 293
  • +0/-0
Bug reported : http://bugs.contribs.org/show_bug.cgi?id=9130

In testing a migration from SME8.2 ( fully updated ) to SME9_64 :
I have configured and run a Backup to local removable disk media/usbBackup on the sme8.2 machine.
Backup is Enabled.
Backup is made on local removable disk media/usbBackup
Number of rotating backup sets is 1
Number of daily backups contained in each set is 7
Compression level (0-9) of backup is 6
Daily backup occurs at 22:00
Each daily backup session is cleanly timed out after 8 hours.
Full backup sessions (new backup set) are allowed everyday
 

The backup runs successfully, and i can perform a verification of the backup on the sme8.2 machine successfully.
I removed the disk and performed a fresh install of SMe9.0_64. The new machine was configured with the same domain,host,server-mode & ip settings.

I then enabled the backup to local removable media :
Backup is Enabled.
Backup is made on local removable disk media/usbBackup
Number of rotating backup sets is 1
Number of daily backups contained in each set is 7
Compression level (0-9) of backup is 6
Daily backup occurs at 22:00
Each daily backup session is cleanly timed out after 8 hours.
Full backup sessions (new backup set) are allowed everyday

On performing  :
Verify workstation backup
-------------------------------------
This option will display the names of all files in a previously created workstation daily backup. You can use this option to verify the contents of the backup.You must choose the backup you want to verify

Only files flagged with [Saved] are contained in the backup.

Backup files are verified from shared folder : localhost/media/usbBackup/s9-1.sme

Select backup file: full-201511091801 (set1)

Error Message :
Verify workstation backup

The following files are considered in the backup :

    Final memory cleanup...

Error while reading files from : /media/usbBackup/s9-1.sme/set1/full-201511091801


Nothing is logged in /var/log/messages.

I have also found the same issue when performing the same operations on a proxmox VM's, BUt using NFS shares.

Noted that after the error messages that if one checks for mounted filesystems that the usb drive is still mounted :
Code: [Select]
[root@s9-1 media]# mount
/dev/mapper/main-root on / type ext4 (rw,usrquota,grpquota)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/md0 on /boot type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/dev/sdb1 on /media/usbBackup type ext3 (rw)


Changed subject line as this also causes Restore to fail
« Last Edit: November 19, 2015, 09:18:26 AM by warren »

Offline TerryF

  • grumpy old man
  • *
  • 1,847
  • +6/-0
The differences between the SME8.2 dar and libdar versions compared to SME9.0 appears to be the cause of this issue, smeupdates-testing currently has new rpms waiting for release.

SME9.1RC1 has the latest versions so is not susceptible

So if you have a sme8.1 system don't update to sme8.2 prior to doing a upgrade to sme9.0 using the backup/Restore functions from the server-manager. Please NOTE this only affects the soon to be obsoleted SME9.0....

Upgrade to a SME9.1RC1 system is uneffected

Backups from the console are different and would appear from my limited testing to be unaffected
--
qui scribit bis legit

Offline warren

  • *
  • 293
  • +0/-0
SOLVED Re: Restore Verification of workstation backup fails sme8.2
« Reply #2 on: November 19, 2015, 08:10:47 AM »
For those testing migration to sme9.0_64 and that have already updated to sme8.2 and still want to test now :

Code: [Select]
yum update --enablerepo=smeupdates-testing dar libdar
edit : updates  have been pushed through

so u can now run :

Code: [Select]
yum update --enablerepo=smeupdates-testing dar libdar You can then perform the restore and test further.



eish, wa winna wenna  :D

 
edit : original subject shortened from : Re: Restore & Verification of workstation backup fails to read backup made on sme8.2
« Last Edit: November 19, 2015, 11:08:14 AM by warren »

Offline TerryF

  • grumpy old man
  • *
  • 1,847
  • +6/-0
Re: [SOLVED] Re: Restore Verification of workstation backup fails sme8.2
« Reply #3 on: November 19, 2015, 09:45:09 AM »
Its a winner Wazza :-)
--
qui scribit bis legit