Moodle: Backup Site

From OnnoWiki
Revision as of 11:26, 14 September 2015 by Onnowpurbo (talk | contribs) (New page: Sumber: https://docs.moodle.org/23/en/Site_backup Script mv moodle-database.sql.gz moodle-database-old.sql.gz mysqldump -h namamesin -u usernamemoodle --password=passwordmoodle -C -Q ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sumber: https://docs.moodle.org/23/en/Site_backup


Script

mv moodle-database.sql.gz moodle-database-old.sql.gz
mysqldump -h namamesin -u usernamemoodle --password=passwordmoodle -C -Q -e --create-options databasemoodle > moodle-database.sql
gzip moodle-database.sql
tar czf /var/www/pustaka/backupmoodle/moodlecms.tar.gz /var/www/moodle



Referensi