Backup / Snapshot LXC

Problem/Justification
At present there is no easy way to backup and restore a LXC container
Containers probably store their configuration data with in the LXC

As the saying goes RAID isn’t a Backup

Impact

As LXCs become more popular having a way to backup & restore then just seems normal, rather than having to recreate them

A way to put a file on a user accessible share would work

User Story
@Samuel_Tai has created snapshots on the command line / cron job with

zfs snapshot <pool>/.ix-virt/containers/<container name>

@LarsR points out this can’t be done from the UI

they’re stored in a hidden dataset called .ix-virt

1 Like