Thanks for your reply and help Steve!
I did add this in to the file and commented out the first line with 256M and uncommented the last line with 512M.
I then tried Restore again and this was my error:
[31-Jan-2025 16:54:08 UTC] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 455454064 bytes) in C:\wamp64\www\new2121\zc_plugins\BackupMySQL\v2.0.0\admin\backup_mysql.php on line 626
[31-Jan-2025 16:54:08 UTC] PHP Stack trace:
[31-Jan-2025 16:54:08 UTC] PHP 1. {main}() C:\wamp64\www\new2121\admin\index.php:0
[31-Jan-2025 16:54:08 UTC] PHP 2. require() C:\wamp64\www\new2121\admin\index.php:28
[31-Jan-2025 16:54:08 UTC] PHP 3. str_replace($search = '/*M!999999\- enable the sandbox mode */', $replace = '', $subject = '/*M!999999\- enable the sandbox mode / \n-- MariaDB dump 10.19 Distrib 10.6.19-MariaDB, for Linux (x86_64)\n--\n-- Host: localhost Database: v_158\n-- ------------------------------------------------------\n-- Server version\t10.6.19-MariaDB\n\n/!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT /;\n/!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS /;\n/!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION /;\n/!40101 SET NAMES utf8mb4 /;\n/!40103 SET @OLD_TIME_ZONE=@'..., $count = 0) C:\wamp64\www\new2121\zc_plugins\BackupMySQL\v2.0.0\admin\backup_mysql.php:626
[31-Jan-2025 16:54:08 UTC] Request URI: /new2121/admin/index.php?cmd=backup_mysql&file=db_v_158-20250127071022.sql.gz&action=restorenow, IP address: 127.0.0.1
--> PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 455454064 bytes) in C:\wamp64\www\new2121\zc_plugins\BackupMySQL\v2.0.0\admin\backup_mysql.php on line 626.
[31-Jan-2025 16:54:08 UTC] Request URI: /new2121/admin/index.php?cmd=backup_mysql&file=db_v_158-20250127071022.sql.gz&action=restorenow, IP address: 127.0.0.1
--> PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 455454064 bytes) in C:\wamp64\www\new2121\zc_plugins\BackupMySQL\v2.0.0\admin\backup_mysql.php on line 626.
The first bit of the error almost looks as if there are old fragments that it doesn't like. I had run the zc_install after inserting this database in to update it and I have also run the database converter tool. I then ran the Restore and this (above was my error).
It still seems to have memory errors.....
Any ideas??