Quantcast
Channel: Backup and restore
Viewing all articles
Browse latest Browse all 6815

Re: Restore Course from cli using admin/cli/restore.php

$
0
0
by Lazaros Sotiriadis.  

Hi,

No, I tried to keep it in the same philosofy as the backup.php which does not make mass actions but it is a nice idea although risky to restore entire folders.
I mean, what if courses exist? or multiple backups of the same course exist in the folder?

So if the "source" is a folder and a category is given instead of a courseid or shortname we could restore all backup files found in the directory to the given category using original names. If courses exist it will overwrite them

I will implement it as well and we can test it to see how it goes.

Regards,
Lazaros

Viewing all articles
Browse latest Browse all 6815

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>