Koozali.org: home of the SME Server

Restore backup

Offline Mar

  • ****
  • 73
  • +0/-0
Restore backup
« on: April 14, 2016, 09:37:16 AM »
Dear Friends,
I made a backup by using the backup and restore,the full  backup is going well but while I am trying to restore the backup after 2 hours it stops and I can not see my shared folders
Notice: the backup size 172 GB

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Restore backup
« Reply #1 on: April 14, 2016, 10:37:09 AM »
after 2 hours it stops and I can not see my shared folders

any error message?

Offline Mar

  • ****
  • 73
  • +0/-0
Re: Restore backup
« Reply #2 on: April 14, 2016, 10:39:05 AM »
no

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Restore backup
« Reply #3 on: April 14, 2016, 10:54:48 AM »
ok.. so, start from the beginning, telling us exactly what you're doing

first of all.. are we talking about the console backup or the server-manager one?

during the restore, please open a shell and watch at /var/log/messages with
Code: [Select]
tailf /var/log/messages

Offline Mar

  • ****
  • 73
  • +0/-0
Re: Restore backup
« Reply #4 on: April 14, 2016, 11:02:14 AM »
I am using server manger backup and i am restoring backup from workstation on local network

Offline Mar

  • ****
  • 73
  • +0/-0
Re: Restore backup
« Reply #5 on: April 14, 2016, 11:05:09 AM »
 tailf /var/log/messages
Apr 14 11:13:20 servername esmith::event[3948]: S25ldap-delete-dumps=action|Event|p                                                                                        re-restore|Action|S25ldap-delete-dumps|Start|1460621599 949385|End|1460621600 94                                                                                        7685|Elapsed|0.9983
Apr 14 11:13:20 servername esmith::event[3948]: Running event handler: /etc/e-smith                                                                                        /events/pre-restore/S80delete-index-htm
Apr 14 11:13:21 servername esmith::event[3948]: S80delete-index-htm=action|Event|pr                                                                                        e-restore|Action|S80delete-index-htm|Start|1460621600 948445|End|1460621601 2882                                                                                        |Elapsed|0.054437
Apr 14 11:13:21 servername esmith::event[3948]: Running event handler: /etc/e-smith                                                                                        /events/actions/adjust-services
Apr 14 11:13:21 servername esmith::event[3948]: adjusting supervised mysqld (stop)                                                                                         
Apr 14 11:13:21 servername esmith::event[3948]: adjust-services=action|Event|pre-re                                                                                        store|Action|adjust-services|Start|1460621601 3871|End|1460621601 110392|Elapsed                                                                                        |0.106521
Apr 14 11:13:21 servername esmith::event[3948]: Running event handler: /etc/e-smith                                                                                        /events/pre-restore/S90delete-smbpasswd
Apr 14 11:13:21 servername esmith::event[3948]: S90delete-smbpasswd=action|Event|pr                                                                                        e-restore|Action|S90delete-smbpasswd|Start|1460621601 111067|End|1460621601 1678                                                                                        63|Elapsed|0.056796
Apr 14 11:13:21 servername esmith::event[3948]: Running event handler: /etc/e-smith                                                                                        /events/pre-restore/S99mysql-delete-db-files
Apr 14 11:13:21 servername esmith::event[3948]: S99mysql-delete-db-files=action|Eve                                                                                        nt|pre-restore|Action|S99mysql-delete-db-files|Start|1460621601 168778|End|14606                                                                                        21601 295559|Elapsed|0.126781

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Restore backup
« Reply #6 on: April 14, 2016, 11:15:03 AM »
those are not error messages..
wait until restore stops and see if there's something interesting..

you can monitor restoring process opening another shell and giving
Code: [Select]
watch -n 120 df -h

every 2 minutes it shows space allocation.. teorically speaking you'd see used space value increasing

Offline Mar

  • ****
  • 73
  • +0/-0
Re: Restore backup
« Reply #7 on: April 14, 2016, 12:27:49 PM »
Now it stopped without any error.
Note: Always it stops while it trying to restore a same file.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Restore backup
« Reply #8 on: April 14, 2016, 12:45:27 PM »
which file? is it big? how much?

Offline Mar

  • ****
  • 73
  • +0/-0
Re: Restore backup
« Reply #9 on: April 14, 2016, 12:53:04 PM »
yes it big around 950MB

Offline brianr

  • *
  • 990
  • +2/-0
Re: Restore backup
« Reply #10 on: April 14, 2016, 12:54:55 PM »
yes it big around 950MB

Are you sure it is stopping and not just taking a long time with such a large file?
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline Mar

  • ****
  • 73
  • +0/-0
Re: Restore backup
« Reply #11 on: April 14, 2016, 12:59:39 PM »
Yes of course because before stopping it was written on the browser it it transferring the data also the browser was loading. after stopping the browser stopped the loading and transferring the data

Offline brianr

  • *
  • 990
  • +2/-0
Re: Restore backup
« Reply #12 on: April 14, 2016, 01:02:24 PM »
Yes of course because before stopping it was written on the browser it it transferring the data also the browser was loading. after stopping the browser stopped the loading and transferring the data

I don't think you can assume that because the browser output stops that the restore has stopped.

Perhaps you need to try the restore from the command line, someone here can probably give you the command to dar that you'd need.  You could try to restore just that file using dar to see if it finishes properly.
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline Mar

  • ****
  • 73
  • +0/-0
Re: Restore backup
« Reply #13 on: April 14, 2016, 01:07:17 PM »
the issue I can not know the dar file which contain my physical file.
Is there any option to restore big files should I do before I start restoring be backup?
thank you