Use two scripts, itgwiki_mirror_backup and itgwiki_mirror_deploy, to maintain a read-only mirror of ITGwiki. itgwiki_mirror_backup runs periodically and automatically on the live instance of ITGwiki to create a backup and copy it to the mirror. itgwiki_mirror_deploy runs on the mirror and is triggered by itgwiki_mirror_backup, imports and adjusts the backup to be read-only, then deploys it on the mirror server. Requires rsync and mysqldump. IMPORTANT: database user passwords are visible as part of the command used to execute the backup and deploy processes. I recommend creating minimally empowered user accounts to execute backup and deploy tasks.

installgem install itgwiki_mirror -v 1.0.3

Justin Force

8,850 total downloads 1,049 for this version


gem 'itgwiki_mirror', '~> 1.0.3'
  1. 1.0.4 January 24, 2012 (8 KB)
  2. 1.0.3 January 24, 2012 (8 KB)
  3. 1.0.2 January 24, 2012 (8 KB)
  4. 1.0.1 January 24, 2012 (8 KB)
  5. 1.0.0 January 24, 2012 (8 KB)
Show all versions (34 total)