Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

added: backup Q&A

  • Loading branch information...
1 parent f578644 commit 3136f5fa7031cc6435480d12f61497a4a20dfede johncaptain committed
Showing with 19 additions and 1 deletion.
  1. +19 −1 lang/en/docs/faq.html
20 lang/en/docs/faq.html
@@ -142,7 +142,7 @@
<p class="questionlink"><a href="#noadmin">During the initial setting-up process, I never get asked to create an admin account!</a></p>
<p class="questionlink"><a href="#nologin">I can't log in at all- I just stay stuck on the login screen.</a></p>
+<p class="questionlink"><a href="#backup">How do I backup my Moodle site?</a></p>
<p class="questionlink">&nbsp;</p>
@@ -418,6 +418,24 @@ <h4 class="question"><a name="nologin"></a>I can't log in - I just stay stuck on
properly on the server. You can test this by calling the script
+<h4 class="question"><a name="backup"></a>How do I backup my Moodle site?</h4>
+<p class="answer">The Unix commands are as follows:
+cd /backup/ (substitute your appropriate directory)
+mv moodle-database.sql.gz moodle-database-old.sql.gz (keep an old copy)
+mysqldump -h -u username --password=moodlepass -C -Q -e -a moodle > moodle-database.sql
+gzip moodle-database.sql (to compress the new one)
+For the files:
+rsync -auvtz --delete -e ssh /backup/
+You're done.</p>

0 comments on commit 3136f5f

Please sign in to comment.
Something went wrong with that request. Please try again.