Getting the following error while trying to restore a virtualmin backup
Starting restore of 31 domains from local file /home/backup/20200111_edge/+ ..
Extracting backup archive file ..
.. done
Restoring backup for virtual server a1z.us ..
Restoring virtual server password, quota and other details ..
.. done
Updating administration password and quotas ..
.. done
Restoring Cron jobs ..
.. done
Extracting TAR file of home directory ..
.. done
Setting ownership of home directory ..
.. done
Re-creating records in DNS domain ..
.. done
Restoring Apache virtual host configuration ..
.. done
Checking restored PHP execution mode ..
Restore failed : No <Directory> section found for mod_fcgid directives
Status:
Active
Comments
Submitted by andreychek on Sat, 01/25/2020 - 09:16 Comment #1
Howdy -- thanks for contacting us!
It looks like there's an issue within the Apache config that's causing a problem with the restore process.
However, if that version of the domain was working for you, we can tell the restore process to continue anyways... though it doesn't look like there's a way to do that within the GUI itself, it looks like it'd be necessary to do that from the command line.
You could use a command line like the following:
virtualmin restore-domain --source /path/to/domain-backup.tar.gz --all-features --all-domains --continue-on-error