Forrest logo
back to the charm tool

charm:tldr:e7e0f

charm: Backup Charm account keys to a specific location.
$ charm backup-keys -o ${path-to-output_file-tar}
try on your machine

The command charm backup-keys is used to create a backup of the Charm encryption keys required for a Charm application. This command ensures that the encryption keys are safely stored in case they are needed for recovery or restoration purposes.

The -o option is used to specify the output file where the backup of the keys will be saved. In this case, ${path-to-output_file-tar} is a placeholder for the desired path and name of the output file in the tar format. You need to replace ${path-to-output_file-tar} with the actual path and filename where you want to save the backup file. For example, you can replace it with /home/user/charm-keys.tar to save the backup as charm-keys.tar in the /home/user directory.

So, when you run the command charm backup-keys -o ${path-to-output_file-tar}, it will create a tar file at the specified location containing a backup of the Charm encryption keys.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the charm tool