DOCS / GUIDES

Backups and the Frozen Chicken Archive

Back up your data and understand how long it takes to thaw it.

Intermediate10 min read
Before you beginYou need the cluck CLI, a Pollosoft account, and a coop to work in. No prior experience required. Curiosity and a mild fondness for chickens are helpful.

Overview

Back up your data and understand how long it takes to thaw it. The whole thing takes about 10 minutes, and the commands below are the ones you will use along the way.

$ cluck backup create --coop main
$ cluck backup list
$ cluck backup restore bkp_41a9 --to staging

Steps

  1. Automatic backups. Every coop is backed up nightly and kept for 30 days. Change the retention in coop.yolk.
  2. Cold storage. Backups older than 30 days move to the Frozen Chicken Archive, which costs less and thaws in about four hours.
  3. Test restores. Restore into a staging coop every month. If you have never restored, you do not have backups. You have hopes.
  4. Cross-region copies. Copy critical backups to a second region. Two baskets, as the proverb says.

Commands used

Keep going

Stuck? Check the error codes, the FAQ, or the glossary.