by ANGEL FERNANDEZ GONZALEZ.
Hi.
PAHTS are correct.
It´s difficult to explain, but that paths were created before install moodle.
Moodle Folder is: /var/www/vhosts/cifprodolfoucha.es/MOODLE/MOODLE
Moodle Data Folder is: /var/www/vhosts/cifprodolfoucha.es/MOODLE/moodledata
I ran this command into terminal:
sudo -u rodolfoucha /opt/plesk/php/7.3/bin/php MOODLE/admin/cli/backup.php --courseid=25 --destination=/var/www/vhosts/cifprodolfoucha.es/MOODLE/BACKUPS
I need write full path to php becouse into terminal, php run version 5.0.
That command works, one course backup is created, and the owner is the user under which the moodle runs....
PAHTS are correct.
It´s difficult to explain, but that paths were created before install moodle.
Moodle Folder is: /var/www/vhosts/cifprodolfoucha.es/MOODLE/MOODLE
Moodle Data Folder is: /var/www/vhosts/cifprodolfoucha.es/MOODLE/moodledata
I ran this command into terminal:
sudo -u rodolfoucha /opt/plesk/php/7.3/bin/php MOODLE/admin/cli/backup.php --courseid=25 --destination=/var/www/vhosts/cifprodolfoucha.es/MOODLE/BACKUPS
I need write full path to php becouse into terminal, php run version 5.0.
That command works, one course backup is created, and the owner is the user under which the moodle runs....