Translations of this page?:
Learn about DokuWiki
Advanced Use
Corporate Use
Our Community
Follow us on Facebook, Twitter and other social networks.
Learn about DokuWiki
Advanced Use
Corporate Use
Our Community
Follow us on Facebook, Twitter and other social networks.
How can I backup my DokuWiki? What parts do I need to backup?
Since DokuWiki does not use a database, backups are really simple. All you need to do is copy the files. The easiest way is just to backup your whole DokuWiki directory.
If you want to save some space you should at least backup the following directories:
data/pages
- contains your current pagesdata/meta
- contains meta information about your pages (like who created it originally, who subscribed to it, …)data/media
- contains your current media (images, PDFs, …)data/media_meta
- meta data for the mediadata/attic
- all the old versions of your pagesdata/media_attic
- all the old versions of your mediaconf
- the configuration settings
You can exclude the cache
, index
, locks
, and tmp
directories.
Note: Debian layout is a little different.
../dw
folder. Then do a second install (same version of DokuWiki) in ../dw2
folder. Verify DokuWiki is working in ../dw2
.../dw2/lib/tpl/vector
folder../dw/lib/tpl/vector/user/logo.jpg
to ../dw2/lib/tpl/vector/user/logo.jpg
../dw2/.htaccess.dist
by uncommenting (removing #) the url rewrite code section then save as ../dw2/.htaccess
../dw/data
to ../dw2/data
../dw/conf
to ../dw2/conf
../dw/lib/plugins
to ../dw2/lib/plugins
(see below)../dw/lib/plugins
to ../dw2/lib/plugins
../dw
and ../dw2
(tip from mmturner)/dw2/lib/plugins
folder