Hi all.
I'm trying to backup my site and following the directions at http://docs.moodle.org/en/Site_backup#Data_files but I keep getting an error message.
I'm on a hosted server and working through CPanel.
To run the backup, I'm adding a cron job.
Here are the strings I've tried to run:
wget --http-user=username --http-password=password http://your-site.com:2082/getbackup/backup-your-site.com-`date +"%-m-%d-%Y"`.tar.gz
wget --http-user=username --http-password=password http://your-site.com:2082/getbackup/backup-your-site.com-`date+"%-m-%d-%Y"`.tar.gz
The only difference is the space after the "+" character.
Both give the same error message:
/bin/sh: -c: line 0: unexpected EOF while looking for matching ``'
/bin/sh: -c: line 1: syntax error: unexpected end of file
I'm long past the point of desperate to make a backup.
Any help would be very appreciated!
Backup and restore
wget backup fails
This discussion has been locked so you can no longer reply to it.