Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 963 Bytes

README.md

File metadata and controls

28 lines (23 loc) · 963 Bytes

EEH Wiki Backup Scripts

Backup the EEH Wiki to an Azure Filestore

Backs up

  • All wiki files
  • Database
  • Wiki in XML Format

Requires

Notes

  • disables write access to wiki whilst backup occuring

Installation

  1. Install azure-cli: apt-get install azure-cli -y
  2. Clone repo to /opt/backup: git clone [email protected]:eehackspace/eeh-wiki-backups.git /opt/backup
  3. Rename secrets.inc.example to secrets.inc mv secrets.inc.example secrets.inc
  4. Add the Azure storage credtentials to secrets.inc
  5. Install cronjob: cp /opt/backup/cron/eeh-wiki-backup-cron /etc/cron.d/
  6. Configure mediawiki, add the following lines to /opt/bitnami/mediawiki/LocalSettings.php
    # EEH Backup Settings
    #$wgReadOnly = 'Daily Backup In Progress. Access will be restored shortly.';
    
  7. Finish