Foswiki Migration


  • /old/ server
    • /var/lib/foswiki
  • /new/ server
    • /var/www/foswiki

  1. install/configure new foswiki v2 instance -> ansible
  2. sync old files over to temporary location /new/:=/srv/foswiki=: rsync -a /var/lib/foswiki sansible@; rsync -a /etc/foswiki/LocalSite.cfg sansible@
  3. patch old site config: sed -i 's!/var/lib/foswiki/!/srv/foswiki/!' /srv/foswiki/lib/LocalSite.cfg
  4. patch to ignore utf8 conversion problems: sed ...
  5. run bulk_copy: cd /var/www/foswiki/tools; perl --xweb TWiki --xweb System --xweb _default --xweb _empty --latest '*.WebStatistics' /srv/foswiki/bin /var/www/foswiki/bin (takes 1-2hrs)

-- CarstenAulbert - 29 Jan 2016
Topic revision: r1 - 29 Jan 2016, CarstenAulbert
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback