The BASTION app
Backup, restore and reset
Export an encrypted backup, restore it on a fresh install, and reset the app.
What a backup holds
A backup holds how your app is set up, not your content files.
In the backup:
- profiles and your medical card;
- assistance reports;
- categories, bookmarks, highlights and reading positions;
- loadouts;
- waypoints and drawing layers;
- the list of map layers and which are switched on;
- your saved servers;
- sync history and settings.
Not in the backup:
- Book files and map files. After a restore, import or sync them again. The app recognises each file by its content and puts it back in its place.
- Server passwords and tokens. After a restore each saved server is there without its password. Enter it again, or scan the setup code again.
- Your App Lock PIN and lock settings. After a restore App Lock is off until you set it again.
Make a backup
- Go to Settings, DATA, Backup & Restore.
- Under BACKUP PASSPHRASE, type a passphrase of at least 12 characters, twice.
- Under EXPORT, choose To File and pick where to save it.
The file is named bastion-backup-<number>.bastionbak. Copy it somewhere off the device.
About the passphrase
The passphrase encrypts the backup. It is separate from your App Lock PIN.
There is no recovery. If you lose the passphrase, the backup can't be opened. If the passphrase is weak, so is the backup's protection.
Backing up to a server
To Server uploads the backup to a backups folder on your default server. The Network Gate must be armed.
In this version it works with your own SFTP server only. It does not work with a website account. There is also no button to restore from the server: to restore, the backup file has to be on the device.
Restore
Restore is meant for a fresh or reset install.
- Put the backup file on the device.
- Go to Settings, DATA, Backup & Restore.
- Enter the backup's passphrase. Restore from File stays disabled until you do.
- Choose Restore from File, pick the file, and confirm with Restore.
The app replaces its organisation and settings with the backup's and restarts.
Your imported book files are not deleted by a restore. Copies stay on the device, and linked files in your own folders are untouched.
If the app can't open its storage
If the encrypted database can't be opened, the app shows SECURE STORAGE UNAVAILABLE.
- Your emergency information stays readable.
- Reset App Data clears BASTION's organisation and settings and starts fresh. Book files stay on the device.
After a reset, restore a backup to get your organisation back.
If you forget your PIN
There is no PIN recovery, and the lock screen has no reset. The ways back are to uninstall and reinstall the app, or to clear its storage in Android's settings. Either one also removes copied books and imported maps; linked books in your own folders stay. Then restore a backup.
This is the main reason to keep a recent backup somewhere off the device.