Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 743 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 743 Bytes

This is a script for backup and restore Omni etcd

Image Build and Push

Generate GPG Keypair

# Generate GPG Keypair
gpg --gen-key
# Real name: OmniBackup
# Email address: [email protected]
# Passphrase: Generate it from 1Password and keep it safe.

# Export the public key and private key
gpg --armor --export OmniBackup > bk.pub
gpg --export-secret-keys --armor OmniBackup > bk.key

# Remove the keys from the keyring
gpg --delete-secret-and-public-keys OmniBackup

# Remove the private key from the backup machine and only keep the public one.