Koozali.org: home of the SME Server

Keine gezielte Wiederherstellungen aus dem Backup mehr möglich

Offline funky

  • 10
  • +0/-0
Hallo zusammen,

wir haben bei uns folgendes Szenario:

Der Hauptserver SME9.2 sichert täglich über ein Workstation Backup (Cifs) in ein Share eines zweiten Servers (ebenfalls SME 9.2). Will man gezielt eine Datei aus den Sicherungssets wieder herstellen, funktioniert das nicht mehr. Die einzelnen Backups werden nicht mehr angezeigt und wenn man alle Backups auswählt werden keine Dateien aufgelistet.

Das Szenario existiert an zwei Standorten.

Wir haben dann auf dem Sicherungsserver den Ordner server.mycompany.local mit allen Backups gelöscht und danach ein Vollbackup durchlaufen lassen. Nach dem Vollbackup kann man wieder einzelne Dateien aus dem Backup wiederherstellen.

Sobald das erste inkrementelle Backup einen Tag später gelaufen ist, tritt oben beschriebenes Problem wieder auf.

Kann da eventuell jemand weiterhelfen? Mein englisch reicht leider nicht um den Vorgang im Detail zu beschreiben.

VG Frank
« Last Edit: June 17, 2019, 11:54:58 AM by funky »

Offline TerryF

  • grumpy old man
  • *
  • 1,821
  • +6/-0
Re: Keine gezielte Wiederherstellungen aus dem Backup mehr möglich
« Reply #1 on: June 17, 2019, 04:36:08 PM »
Sorry only English

You will find a list of reported issues that go a long way back covering various things however,
Although a sme10 bug it does have a possible solution that may also apply to sme9, have a read:

https://bugs.contribs.org/show_bug.cgi?id=9563

around line 3082
# /etc/e-smith/web/functions/backup
--
qui scribit bis legit

Offline funky

  • 10
  • +0/-0
Re: Keine gezielte Wiederherstellungen aus dem Backup mehr möglich
« Reply #2 on: June 19, 2019, 09:22:33 AM »
Thank you for your help - selective file restore workstation backup does not list backups or files


I changed (removed the nounix option)

-        return ( qx(/bin/mount -t cifs "//$host/$share" $mountdir -o credentials=/etc/dar/CIFScredentials,nounix 2>&1) );
+       return ( qx(/bin/mount -t cifs "//$host/$share" $mountdir -o credentials=/etc/dar/CIFScredentials 2>&1) );

My problem was not resolved.

my Versions:

[root@fileserver functions]# cat /etc/e-smith-release
SME Server release 9.2

[root@fileserver functions]# uname -r
2.6.32-754.15.3.el6.x86_64

[root@fileserver functions]# rpm -qa e-smith-backup
e-smith-backup-2.4.0-45.el6.sme.noarch

in /var/log/httpd/admin_error_log:

[Wed Jun 19 09:00:25 2019] [error] [client 127.0.0.1] No terminal found for user interaction. All questions will be assumed a negative answer (less destructive choice), which most of the time will abort the program., referer: https://192.168.3.11/server-manager/cgi-bin/backup

Offline TerryF

  • grumpy old man
  • *
  • 1,821
  • +6/-0
Re: Keine gezielte Wiederherstellungen aus dem Backup mehr möglich
« Reply #3 on: June 19, 2019, 11:02:42 AM »
[root@fileserver functions]# rpm -qa e-smith-backup
e-smith-backup-2.4.0-45.el6.sme.noarch

That version is from updates-testing..maybe roll back to e-smith-backup-2.4.0-44.el6.sme.noarch

Perhaps roll back to e-smith-backup-2.4.0-44 and see what you get
--
qui scribit bis legit

Offline TerryF

  • grumpy old man
  • *
  • 1,821
  • +6/-0
Re: Keine gezielte Wiederherstellungen aus dem Backup mehr möglich
« Reply #4 on: June 19, 2019, 11:39:42 AM »
Further to this, what is the size of the backup?

I have a system with a backup of 400+gb that is exhibiting similar behaviour, although I can see that the action is running..have to see if it will complete
--
qui scribit bis legit

Offline TerryF

  • grumpy old man
  • *
  • 1,821
  • +6/-0
Re: Keine gezielte Wiederherstellungen aus dem Backup mehr möglich
« Reply #5 on: June 19, 2019, 11:48:12 AM »
A consideration : https://bugs.contribs.org/show_bug.cgi?id=7035
and
https://bugs.contribs.org/show_bug.cgi?id=8271

Sorry, all I've got, will be trying those on server mentioned above

Added: OK, selective restore ran for almost 15 mins and then closed, did not display files, this is 400+gb of data, seems fine on a much smaller backup set, more testing etc needed
« Last Edit: June 19, 2019, 11:57:55 AM by TerryF »
--
qui scribit bis legit

Offline TerryF

  • grumpy old man
  • *
  • 1,821
  • +6/-0
Re: Keine gezielte Wiederherstellungen aus dem Backup mehr möglich
« Reply #6 on: June 19, 2019, 12:02:25 PM »
and looks to be the timeout issue:
See Bug https://bugs.contribs.org/show_bug.cgi?id=8271

[Wed Jun 19 19:46:57 2019] [warn] [client 127.0.0.1] Timeout waiting for output from CGI script /etc/e-smith/web/panels/manager/cgi-bin/backup, referer: https://192.168.11.19/server-manager/cgi-bin/backup
[Wed Jun 19 19:46:57 2019] [error] [client 127.0.0.1] (70007)The timeout specified has expired: ap_content_length_filter: apr_bucket_read() failed, referer: https://192.168.11.19/server-manager/cgi-bin/backup

--
qui scribit bis legit

Offline funky

  • 10
  • +0/-0
Re: Keine gezielte Wiederherstellungen aus dem Backup mehr möglich
« Reply #7 on: June 19, 2019, 12:38:39 PM »
Further to this, what is the size of the backup?

I have a system with a backup of 400+gb that is exhibiting similar behaviour, although I can see that the action is running..have to see if it will complete

I have roll back

[root@fileserver ~]# rpm -qa e-smith-backup
e-smith-backup-2.4.0-44.el6.sme.noarch

The problem is the same. After the first full backup, the files are displayed. The first incremental backup after full backup no longer displays files.

The backup is 224 gb.

Offline TerryF

  • grumpy old man
  • *
  • 1,821
  • +6/-0
Re: Keine gezielte Wiederherstellungen aus dem Backup mehr möglich
« Reply #8 on: June 19, 2019, 12:59:38 PM »
Try and delete a file or two and see if you get a result..
--
qui scribit bis legit

Offline funky

  • 10
  • +0/-0
Re: Keine gezielte Wiederherstellungen aus dem Backup mehr möglich
« Reply #9 on: June 19, 2019, 01:16:45 PM »
Deleting files from the backup set performed. The problem is the same.


« Last Edit: June 19, 2019, 01:30:46 PM by funky »

Offline TerryF

  • grumpy old man
  • *
  • 1,821
  • +6/-0
Re: Keine gezielte Wiederherstellungen aus dem Backup mehr möglich
« Reply #10 on: June 19, 2019, 02:04:48 PM »
I do think its this issue https://bugs.contribs.org/show_bug.cgi?id=8271

See https://bugs.contribs.org/show_bug.cgi?id=8271#c10

Going to see if it can resolve my own issues as well, tomorrow for an update
--
qui scribit bis legit

Offline TerryF

  • grumpy old man
  • *
  • 1,821
  • +6/-0
Re: Keine gezielte Wiederherstellungen aus dem Backup mehr möglich
« Reply #11 on: June 20, 2019, 01:57:46 AM »
Nope, tried all the suggested workarounds, I am sure it is a an issue with disconnect of the running script and server-manager updating, there is also a file number limit that I recall associated with dar

I was able to verify my 400gb+ backup no problems albeit it took some time to list the full backup.

The restore of a full backup also looks to be OK, so its just the selective, going to need some heavy hitters to look at it, there are bugs current, sorry cant help anymore than yet as yet.

Added:  See Bug https://bugs.contribs.org/show_bug.cgi?id=8271
« Last Edit: June 20, 2019, 02:16:20 AM by TerryF »
--
qui scribit bis legit

Offline funky

  • 10
  • +0/-0
Re: Keine gezielte Wiederherstellungen aus dem Backup mehr möglich
« Reply #12 on: June 20, 2019, 08:44:45 AM »
Thank you very much for your efforts.

The first full backup is displayed in the backup list and the files are also listed for targeted recovery.

As soon as the first incremental backup has been run one day after the first full backup, no backups will be displayed during selective restore. Neither the full backup nor the incremental backup. As a result, no files are listed.

Offline TerryF

  • grumpy old man
  • *
  • 1,821
  • +6/-0
Re: Keine gezielte Wiederherstellungen aus dem Backup mehr möglich
« Reply #13 on: June 20, 2019, 10:45:06 AM »
This may also be a factor, areas for investigation:  https://bugs.contribs.org/show_bug.cgi?id=7035
--
qui scribit bis legit

Offline funky

  • 10
  • +0/-0
Re: Keine gezielte Wiederherstellungen aus dem Backup mehr möglich
« Reply #14 on: June 20, 2019, 01:41:08 PM »
I can not explain where the mistake is. Until a few months ago, there were no problems with the SME 9.2.

Today we once again deleted all backups and created a full backup on the bash with do_backupwk. After the full backup, the backup is shown when recovering files and all files are displayed in the backup.

Then another do_backupwk at the bash, which went through without error. The incremental backup can also be seen in the share.

If you then want to do a targeted restore of files through the server manager, neither the full backup nor the incremental backup is displayed for selection.