Foswiki Migration

assumptions:

  • /old/ server
    • wiki.atlas.aei.uni-hannover.de
    • /var/lib/foswiki
  • /new/ server
    • 10.20.60.82
    • /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@10.20.60.82:/srv/; rsync -a /etc/foswiki/LocalSite.cfg sansible@10.20.60.82:/srv/foswiki/lib/
  3. patch old site config: sed -i 's!/var/lib/foswiki/!/srv/foswiki/!' /srv/foswiki/lib/LocalSite.cfg
  4. patch bulk_copy.pl to ignore utf8 conversion problems: sed ...
  5. run bulk_copy: cd /var/www/foswiki/tools; perl bulk_copy.pl --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