Backup restore no progress

Locked
User avatar
SDS1234
Posts: 8
Joined: Sat 7. Aug 2021, 14:09

Backup restore no progress

Post by SDS1234 »

Hello,

I started a restore operation with the new backup management today at 13:01.
The restore probably crashed.

Here is the log (backup-root.log):
[07-Aug-2021 13:02:01] INFO --> Create repository lock
[07-Aug-2021 13:02:03] INFO --> Looking for pending operations for repository: Manuell (Local) / #3
[07-Aug-2021 13:02:03] INFO --> Operation found: restore
[07-Aug-2021 13:02:03] INFO --> Prepare restore...
[07-Aug-2021 13:02:03] INFO --> Restore paths...

What should I do now?

With kind regards
User avatar
Alexander
Keyweb AG
Posts: 3810
Joined: Wed 20. Jan 2016, 02:23

Re: Backup restore no progress

Post by Alexander »

Hello,

Problem
There is currently a bug when restoring, if data shold to be extracted to directories that do not have the propper access rights, instead of aborting and displaying an error message, the process hangs.


Terminate hanging restore job:
To terminate the hanging job go to the process management and kill everything that has to do with "restic" and runs under the corresponding user for which the restore was executed.


Unlock the repo:
Now it is possible that the repo is still locked, to unlock it you have to get the ID of the repository, this can be done for example via the database (table `backup_repositories`). Then call the following command.

Code: Select all

php /home/keyhelp/www/keyhelp/cronjob/on_demand/backup.php --repo-id <ID-OF-THE-REPO> --release-locks
Fix latest events display (optional)
You can either ignore the entry in the table, it will eventually slide to page 2 and will be automatically deleted after a period of time, or you can go into the KeyHelp database and in table `backup_operations` delete the corresponding row (type = restore, state = processing)

--

Please open topics only once, not in the German and English area.

Because of this is a duplicate post, my text is only for later visitors / later references.
For this reason, I close this thread now.
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Locked