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

Moosh vs nohup backup and restore

$
0
0
by Jamie Tinley.  

I'm backing up and restoring courses from moodle 3.0 to moodle. 3.4 both on ubuntu servers.  

I've used Moosh on both and when I try to restore the course is always blank.  I tried to restore to the same 3.0 Moodle server just as a test and it's blank there too. I'm using:

moosh -n course-backup -f /tmp/mybackup.mbz 77

checked the defaults for backup and selected variously but always include activities and questions and still it imports blank courses. 

Checked importing defaults on moodle 3.4 and all are selected so I should not have an issue.  

I read Ken's suggestion to use nohup here and wondered if this technique works with 3.0 and above? or if it would make a difference.

ex, nohup php ./backup.php --courseid=INTEGER --destination=STRING

I've read it can be many other issues at your link here but that list is so long I don't know where to begin. 

I know you said there are not many flags and I saw the -e flag in backingup but I think that means to an EXISTING course not everything.  It takes the defaults as I've read and I have played with defaults with no luck. Thanks for advice.


Viewing all articles
Browse latest Browse all 6664


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