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 ↓:

sudo prime-cli backup

This command initiates a full backup of all critical data, storing it in the default backup location at:

/opt/plane/backups

Each backup file will be timestamped to ensure you can easily identify the latest or a specific backup if needed.

Restore data

You can restore your data from a previous backup with ↓:

sudo prime-cli restore

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.