Totara Learn Open Discussions

Path to course backup files

 
Markus Huneke
Path to course backup files
by Markus Huneke - Saturday, 12 October 2024, 4:57 AM
 

Hi Forum,

I think I've got the wrong end of the stick. How do I find the path to the backup files of courses? I need it to specify it as a parameter in the CSV file I want to use to create a series of courses at once for different clients (one CSV per client, I think).

There are backup files in the course backup area, I can copy the link there, but I get an error message when importing the CSV that the backup file cannot be read.

How can I find the correct file path? Can external sources also be specified?

Perhaps someone is familiar with this?

Best regards,

Markus

Translated with www.DeepL.com/Translator (free version)

Craig Eves
Re: Path to course backup files
by Craig Eves (Totara Support) - Sunday, 13 October 2024, 2:44 PM
Group Totara

Hi Markus

From my reading the path should point to the location of the dirroot in the config.db file by default /var/www/totara/htdocs/server

If you created a folder for the backup called transfer and uploaded a course backup file backup.mbz here then you would use

/var/www/totara/htdocs/server/transfer/backup.mbz

The transfer folder would need read permissions for the web service user

I think having an external source for the backup file would be possible as long as it is mapped on server and readable

regards

Markus Huneke
Re: Path to course backup files
by Markus Huneke - Tuesday, 15 October 2024, 2:40 AM
 

Hi Craig,

I will test whether the path works and whether I can get it to work successfully.

I find the mechanism for uploading courses a bit opaque. I am faced with the task of providing the same course set for around 25 clients each. The options for this seem limited at first glance. I am currently trialling various options.

Thanks for the information,

Markus