Dokuwiki - Backup Filters (Filezilla, Zip )

> DokuWiki

1 - About

When you download a Dokuwiki installation for backup purpose, you want to have it so little as possible. The following directories are not metadata and can be ignored during a download.

3 - Filters

3.1 - Filezilla

Filezilla offers this functionality and you can set it as in the following screenshot:


3.2 - Zip

  • Add strategy
cd ~/www/wiki
zip -r -q ~/backup/wiki$(date +"%Y%m%d").zip ./data/pages/* ./data/media/* ./conf/* ./data/attic/* ./data/media_meta/*  ./lib/images/interwiki/*
  • Filters strategy
zip -r -q ./wiki/* -x ./*.o /*.c