Back up and restore your data on Nife
This guide shows how to set up scheduled backups of an app's volume on Nife and how to restore from one. Use it to replace the backups you had on your old platform.
Before you start
- An app on Nife that has a persistent volume. See Move your persistent storage.
- Permission in your organization to create and change backup policies.
What Nife backs up
Nife backs up an app's volume by taking snapshots. A backup policy takes a snapshot of one app's volume on a schedule and deletes the snapshots it took once they are older than the retention period you chose.
Step 1: Open Backup & DR
In the dashboard, go to Security & Governance, then Backup & DR.
Step 2: Create a backup policy
- Click Create Backup Policy.
- Enter a policy name.
- Choose the app. Only apps with a volume are listed.
- Choose a schedule. The options are hourly, daily at 2:00 AM UTC, daily at 12:00 PM UTC, weekly on Sunday or Friday at 2:00 AM UTC, and monthly on the 1st or 15th at 2:00 AM UTC.
- Enter the retention period in days, from 1 to 365.
- Click Create Policy.
The first backup runs at the next scheduled time. Each policy shows when it last ran, when it runs next and whether the last run failed.
Step 3: Manage your policies
- Use the switch on a policy to pause it or turn it on again.
- Delete a policy when you no longer need it. Its existing snapshots are kept.
Step 4: Restore from a snapshot
- On the Backup & DR page, find the snapshot in the list.
- Click Restore and confirm.
Restoring replaces the volume's current data with the data in the snapshot. Try a restore on a test app first, so you know the steps before you need them.
You can also delete a snapshot you no longer need. Downloading a snapshot is not available yet.
Keep your own copy of important data
Snapshots stay on Nife. If you need a copy you can load anywhere, such as a database dump, take one yourself. See Move your database.
What this guide does not cover
Restoring to an exact minute, copying backups to another region, and backups taken by the database engine itself. If you depend on these, contact Nife support at support@nife.io before you migrate, and we will help you plan it.
Need help? Email support@nife.io.