Backup commands

From Knot Atlas
Revision as of 22:46, 31 August 2005 by Drorbn (talk | contribs)
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 *