Backup and restore data
Backing up your data regularly helps prevent data loss and allows you to restore your system quickly if necessary. Follow these instructions to back up and restore your data using Plane’s command-line interface.
Backup data
Create a backup of your Plane data with ↓:
This command initiates a full backup of all critical data, storing it in the default backup location at:
Each backup file will be timestamped to ensure you can easily identify the latest or a specific backup if needed.
Backup plane.env
If you need to back up only the plane.env
file, you’ll need to do it manually. Here’s how:
- Navigate to the
/opt/plane
folder on your machine or server where Plane is installed.. - Locate the
plane.env
file. - Copy this file to a different location as a backup, so you can restore it if needed.
Restore data
You can restore your data from a previous backup with ↓:
This command prompts the restoration process, which will overwrite the current data with the data from the most recent backup file. Ensure you have selected the correct backup before running this command, as restoring will replace your current data.