by palak mittal.
Thank you sir for the helpful response. I was able to create the backup .mbz file of my course using command :
nohup php backup.php --courseid=* --destination=*
Now I am trying to restore that course using the same backup .mbz file generated above through UI. As I am trying to upload the .mbz file in the Restore Course section I am getting the Error "Error connecting to the server". To resolve this issue I have made the changes to my php.ini file in the following fields to support the restore of .mbz file that was of size ~160 MB.
upload_max_filesize = 512M
post_max_size = 512M
max_execution_time = 600
max_input_time = 600
memory_limit = 512M
However still the Error "Error connecting to the server" persists in the Restore file section. How can I now restore the course from UI ? Is there a command to restore the course from CLI just like the backup command? What is the reason of the error "Error connecting to the server" and way to resolve it ?
nohup php backup.php --courseid=* --destination=*
Now I am trying to restore that course using the same backup .mbz file generated above through UI. As I am trying to upload the .mbz file in the Restore Course section I am getting the Error "Error connecting to the server". To resolve this issue I have made the changes to my php.ini file in the following fields to support the restore of .mbz file that was of size ~160 MB.
upload_max_filesize = 512M
post_max_size = 512M
max_execution_time = 600
max_input_time = 600
memory_limit = 512M
However still the Error "Error connecting to the server" persists in the Restore file section. How can I now restore the course from UI ? Is there a command to restore the course from CLI just like the backup command? What is the reason of the error "Error connecting to the server" and way to resolve it ?