Backup and Sync
If you want to back up your environment variables or recover them after a loss, tryEnv provides a secure GitHub integration.
1. Configuring GitHub CLI
Before you can use the backup and sync features, you’ll need to install and configure GitHub CLI (not GIT CLI) on your device.
-
Step 1: Install GitHub CLI on your system if you haven’t done so already.
-
Step 2: Follow the prompts to sign in to your GitHub account
- Step 3: Once GitHub CLI is authenticated, you’ll be able to use tryEnv’s backup and sync functionality.
2. Creating a Backup Repository
After GitHub CLI is set up, tryEnv will create a tryEnv-Backup repository in your GitHub account. tryEnv stores all environment variables in this repository in an encrypted format (AES-256-GCM encryption with SHA-512 hashing).
This repository will keep a secure, encrypted backup of your environment variables for easy recovery.
3. Syncing and Updating Variables
To keep your environment variables up-to-date:
-
Syncing: Use the Sync feature in tryEnv to update your variables in the tryEnv-Backup GitHub repository whenever you make changes.
-
Backup Updates: Any changes you make to the preview, development, or production variables will automatically update the backup file in your GitHub repository.