DokuWiki

It's better when it's simple

User Tools

Site Tools


tips:maintenance

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
tips:maintenance [2022-02-25 18:40] – bis: protect the _dummy file from deletion (provided for version control systems) 82.66.50.120tips:maintenance [2022-09-28 22:54] (current) – [Keeping Playground Clean] Remove -p from example commands; -p causes the pages to not refresh since the timestamp remains the same 2601:543:4001:9fa0:403e:b893:5604:64ce
Line 187: Line 187:
 Example: Restore Playground every 30 min: Example: Restore Playground every 30 min:
  
-  0,30 * * * * cp -pf /path/to/savedwiki/data/pages/playground/playground.txt /path/to/dokuwiki/data/pages/playground/+  0,30 * * * * cp -/path/to/savedwiki/data/pages/playground/playground.txt /path/to/dokuwiki/data/pages/playground/
  
 Example: Restore all pages in [[:namespace]] "wiki" every 30 min: Example: Restore all pages in [[:namespace]] "wiki" every 30 min:
  
-  0,30 * * * * cp -rpf /path/to/savedwiki/data/pages/wiki/ /path/to/dokuwiki/data/pages/wiki/+  0,30 * * * * cp -rf /path/to/savedwiki/data/pages/wiki/ /path/to/dokuwiki/data/pages/wiki/
  
 ==== Problems with CAPTCHA plugin ==== ==== Problems with CAPTCHA plugin ====
tips/maintenance.txt · Last modified: 2022-09-28 22:54 by 2601:543:4001:9fa0:403e:b893:5604:64ce

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