DokuWiki

It's better when it's simple

User Tools

Site Tools


faq:backup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
faq:backup [2011-05-27 00:10] – [How to backup DokuWiki?] 189.204.6.250faq:backup [2023-12-31 16:30] (current) – cache, index, locks and tmp are inside of "data" but the info incorrectly missed that point, fixed now (I foujd this since I was making a backup script that excluded these recommended dirs btu the script failed to find them, and I checked and indeed they 2601:248:c500:67b0:3cd2:7a61:14f0:aa78
Line 7: Line 7:
 If you want to save some space you should at least backup the following directories: If you want to save some space you should at least backup the following directories:
  
-  * data/pages +  * ''data/pages'' - contains your current pages 
-  * data/meta +  * ''data/attic'' - all the old versions of your pages 
-  * data/media +  * ''data/meta'' - contains meta information about your pages (like who created it originally, who subscribed to it, ...) 
-  * data/attic +  * ''data/media'' - contains your current media (images, PDFs, ...) 
-  * conf+  * ''data/media_attic'' - all the old versions of your media 
 +  * ''data/media_meta'' - meta data for the media 
 +  * ''conf'' - the configuration settings 
 +  * ''lib'' - will backup the installed plugins and templates (many optional, otherwise they will need to be manually downloaded again in a possibly broken interface) However, take care not to overwrite the default included core plugins. 
 + 
 +You can exclude the ''data/cache'', ''data/index'', ''data/locks'', and ''data/tmp'' directories. 
 + 
 +''lib'' folder contains also core files, which should not be replaced, probably only plugins and tpl folders are useful. 
 + 
 +Note: if you installed DokuWiki through a 3rd party package like [[install:Debian]] the directory layout may differ.
  
 ===== See also ===== ===== See also =====
  
 +  * [[faq:servermove|FAQ Server Move]]
   * [[plugin:backup|Backup Plugin]]   * [[plugin:backup|Backup Plugin]]
   * [[tips:backup_script|Backup Scripts]]   * [[tips:backup_script|Backup Scripts]]
   * [[tips:backuptos3|Backup to S3]]   * [[tips:backuptos3|Backup to S3]]
-  * [[http://www.ngcoders.com/php/php-automatic-file-and-database-backup-script|Automatic backup script with sending Emails]]+
faq/backup.1306447849.txt.gz · Last modified: 2011-05-27 00:10 by 189.204.6.250

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki