How to backup the wiki

Line 8: Line 8:
** (in a local terminal) scp USER,supertuxkart@web.sourceforge.net:htdocs.zip ~/Desktop/htdocs.zip
** (in a local terminal) scp USER,supertuxkart@web.sourceforge.net:htdocs.zip ~/Desktop/htdocs.zip
** rm htdocs.zip
** rm htdocs.zip
 +
** mysqldump --all-databases --user=''(stk database admin username)'' --password=''(stk database admin password)'' --host=mysql-s > database_dump.sql
 +
** zip database_dump.sql.zip database_dump.sql
 +
** (in a local terminal) scp USER,supertuxkart@web.sourceforge.net:database_dump.sql.zip ~/Desktop/database_dump.sql.zip
 +
** rm database_dump.sql.zip
 +
** rm database_dump.sql
(the "persistent" folder is symlinked inside "htdocs" and so should follow)
(the "persistent" folder is symlinked inside "htdocs" and so should follow)

Revision as of 01:08, 12 August 2015

Retrieved from "http://supertuxkart.sourceforge.net/How_to_backup_the_wiki"

User Tools