Skip to main content

Backing Up a LXD Server

Hands-On Lab


Photo of

Training Architect





While there are multiple methods to backing up a LXD server, one way involves creating a second LXD server to work as a live spare that we can failover to should the need arise. This server will contain recent copies of our containers and should be set up to automatically receive these container copies. In this hands-on lab, we'll be doing just that. We'll create a secondary backup server, then write a short Bash script to copy over our backups. This script will then get added to our crontab to run automatically.

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.