Backup

To backup a wiki to html see wget

to backup a wiki to xml see Special:Export