alpine publish
Description
Packages an instance into a .tar.gz archive for backup or distribution.
Usage
alpine publish <instance> [<instance>...]
Aliases
pub, archive
Flags
| Flag | Shorthand | Type | Default | Description |
|---|---|---|---|---|
--encrypt |
-e |
bool | false |
Encrypt the published archive. Prompts for a passphrase. |
Details
This command creates a compressed archive (e.g., my-instance.tar.gz) in the current directory. If the -e flag is used, the archive will be encrypted using age and named my-instance.tar.gz.age. The instance can be restored using the alpine import command. For more details, see the Publishing & Importing guide.