Backup commands

From Knot Atlas
Revision as of 20:55, 30 August 2005 by Scott (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
  • To backup the SQL database
mysqldump -u <username> -p <nameofyourdatabase> > wikidb-backup-05MoDa.sql
  • To create a backup of the web directory, login as wiki, and go to /www/html/w and type
tar cvzf web-backup-2005MoDa.tar.gz *cd