Usage
When to run this
You only need to run
capsule auth once per server during normal use. Do not skip it — without a license key, the agent cannot connect to the dashboard, upload backups, or receive restore commands.
What it does
- Prompts for your license key (starts with
cpsl_live_) - Saves it to
~/.config/capsule/capsule.yaml - Links this server to your Capsule account
--restore is used, it also prompts for your saved encryption key and loads it into the OS keyring — making your existing encrypted backups accessible on the new server.
Where to find your license key
Your license key is on the Setup page in your dashboard.Flags
Disaster recovery — restoring on a new server
Use this when your original server is gone and you need to access your existing encrypted backups from a fresh install. Prerequisite: You must have already saved your encryption key from the old server usingcapsule key show. If you haven’t done that yet and the old server is still accessible, do it now before continuing.
Once you have your saved key, run on the new server:
Notes
- You only need to run
capsule authonce per server - Re-running it re-saves your license key to the config file but does not affect your encryption key — pass
--restoreif you also need to import a replacement encryption key capsule authis exempt from the license key check — you can always run it on a fresh install with no prior config
See also
capsule key show— display and save your encryption key before you need to restore it