Difference between revisions of "DeveloperWiki:Backups"

From ArchWiki
Jump to: navigation, search
(BBS)
Line 16: Line 16:
 
  | gzip -c > bbs-data.sql.gz
 
  | gzip -c > bbs-data.sql.gz
 
   
 
   
  tar czf bbs-htdocs.tar.gz /srv/http/vhosts/bbs.archlinux.org/
+
  tar -czf bbs-htdocs.tar.gz /srv/http/vhosts/bbs.archlinux.org/
  
 
* Space needed:  200MB
 
* Space needed:  200MB
  
 
== Wiki ==
 
== Wiki ==
 +
* Server: gudrun
 +
* Backup commands:
 +
mysqldump -uXXX -pXXX archwiki \
 +
--no-data \
 +
| gzip -c > archwiki-schema.sql.gz
 +
 +
mysqldump -uXXX -pXXX --hex-blob archwiki \
 +
--no-create-info \
 +
--single-transaction --quick \
 +
--ignore-table=archwiki.hitcounter --ignore-table=archwiki.searchindex \
 +
--ignore-table=archwiki.l10n_cache --ignore-table=archwiki.objectcache \
 +
--ignore-table=archwiki.querycache --ignore-table=archwiki.querycachetwo \
 +
--ignore-table=archwiki.querycache_info --ignore-table=archwiki.transcache \
 +
| gzip -c > archwiki-data.sql.gz
 +
 +
tar -czf wiki-htdocs.tar.gz /srv/http/vhosts/wiki.archlinux.org
 +
 +
* Space needed: 570MB
  
 
== Flyspray ==
 
== Flyspray ==

Revision as of 12:33, 4 December 2010

This page provides an overview of the Arch Linux services that require backed up.

BBS

  • Server: gudrun
  • Backup commands:
mysqldump -uXXX -pXXX fluxbb \
	--no-data \
	| gzip -c > bbs-schema.sql.gz

mysqldump -uXXX -pXXX --hex-blob fluxbb \
	--no-create-info \
	--single-transaction --quick \
	--ignore-table=fluxbb.online --ignore-table=fluxbb.search_cache \
	--ignore-table=fluxbb.search_matches --ignore-table=fluxbb.search_words \
	| gzip -c > bbs-data.sql.gz

tar -czf bbs-htdocs.tar.gz /srv/http/vhosts/bbs.archlinux.org/
  • Space needed: 200MB

Wiki

  • Server: gudrun
  • Backup commands:
mysqldump -uXXX -pXXX archwiki \
	--no-data \
	| gzip -c > archwiki-schema.sql.gz

mysqldump -uXXX -pXXX --hex-blob archwiki \
	--no-create-info \
	--single-transaction --quick \
	--ignore-table=archwiki.hitcounter --ignore-table=archwiki.searchindex \
	--ignore-table=archwiki.l10n_cache --ignore-table=archwiki.objectcache \
	--ignore-table=archwiki.querycache --ignore-table=archwiki.querycachetwo \
	--ignore-table=archwiki.querycache_info --ignore-table=archwiki.transcache \
	| gzip -c > archwiki-data.sql.gz

tar -czf wiki-htdocs.tar.gz /srv/http/vhosts/wiki.archlinux.org
  • Space needed: 570MB

Flyspray

Mailman

ArchWeb

Git

SVN