Informer backup guide
Backing up your Informer instance keeps your configuration and metadata recoverable after an incident. This guide covers the quickest options. (Customers are responsible for backing up their own Informer Cloud instance.)
For the full PostgreSQL backup and restore commands, see Backups and restores (Windows) and Backups and restores (Linux w/ Docker).
Back up from the Informer UI
- From the Administration dashboard, open the Settings tab on the left panel.
- Click Backup System.
- Click the Backup System button. A window shows the progress of the export.
- When it finishes, a
.tgzfile is generated for download. Store it securely.
Back up with the IR tool
You can take a scriptable backup with the IR command-line tool. To generate a backup file named informer-backup.tgz:
ir export -vf informer-backup.tgz
Back up to AWS S3
To back up straight to AWS S3, set your AWS credentials as environment variables (see the AWS CLI):
export AWS_ACCESS_KEY_ID=your_access_key_id
export AWS_SECRET_ACCESS_KEY=your_secret_access_key
Then back up Informer's database and upload it to your bucket, replacing your-bucket and adjusting the filename:
ir db:backup | aws s3 cp - s3://your-bucket/informer-backup-YYYY-MM-DD.tgz
Compressed binary backup
For a single-database backup in PostgreSQL's compressed custom binary format (which pairs with pg_restore), use pg_dump -Fc:
pg_dump -U postgres -Fc -d informer5 -f ./backup_informer5.dump
For the full compressed backup and restore procedure, including the user-roles dump, see Backups and restores with compression (Windows).