by Ken Task.
error/invalidrestorefile
indicates your www box doesn't recognize what you've uploaded or linked to or pointed to as a valid backup .mbz file.
Due to:
"in my moodle neither of uploading methods was successful" meaning drag and drop of the .mbz file failed as well as choose file and upload failed. Thus Moodle cannot reach the first stage of the restore process which is:
Stage 1 is confirm ... shows the backup details. Shows the backup files settings. That would make sense ... no file uncompressed in moodledata/temp/backup/ Moodle can not read the moodle_backup.xml file used as a roadmap for content contained in the .mbz file.
But then you mention "Using picking up file method". Seem to re-call reading something about that but don't re-call the details only that the course had to already reside in the Moodle.
Just what does "Using picking up file method" means? URL downloader?
Here's the "long winded stuff" I was going to share earlier ... about the stages of the restore process.
Stage 2 - is Destination ... restore to new course and pick category.
OR restore to this course if you started the restore process from within
a course. OR Restoring into an existing course.
Stage 3 - Restore settings
Stage 4 - Schema ... where you can change the course name, short name and set course date.
Stage 5 - Review
Perform button appears here.
Stage 6 - Process
Stage 7 - Complete
Can you upload other types of files? Like PDF's or Images or Word Docs or Videos/audios?
Something is definitely wrong ... one should be able to upload .mbz's by drag and drop or by choose file method.
'spirit of sharing', Ken