The backup commands are the operator's. They do what the Backups section of
the portal's Settings does, and also list each job's past runs.
gko backup show
gko backup destination offsiteEndpoint=https://s3.example.org offsiteBucket=gingko offsiteKeyId=<key> offsiteSecret=<secret>
backup show prints where the copies go, what is not safe yet, each job with
its state and its last and next run, and the text the setup wizard takes to
restore from these copies. With no destination yet, it lists the answers
backup destination asks for.
backup destination tries the answers against the store and saves them only
if it answers. A stored secret left out keeps its answer, and is never printed.
gko backup check < passphrase.txt
backup check reads a passphrase on stdin and says whether it is the one the
copies are encrypted with. The stored one never leaves the install, so this is
how to check a copy kept somewhere else.
gko backup run <job>
The job ids are the first column of backup show.
gko backup move
gko backup resume
backup move stops every app and takes one final pass, so the new machine can
restore everything up to that moment. Unless -yes is given, it asks you to
type move. backup resume starts every app the move stopped, and the
schedules again.
Last validated: · View as Markdown