Lernstick / lernstick-issues

Lernstick Issue Tracking Repository
0 stars 0 forks source link

Use Btrfs for persistence partition #11

Open THS-on opened 4 years ago

THS-on commented 4 years ago

Currently we use an ext for the persistence partition. This works fine for most cases, but Btrfs makes snapshots and backups easier.

Proposed Layout

The persistence partition contains the following subvolumes. This layout will be created by dlcopy.

Snapshots layout

The snapshot subvolume contains following directories.

A snapshot is named as its source and suffixed with a timestamp.

Snapshot Management

Creating snapshots using the btrfs utilities is quite easy. The current plan is to write a thin wrapper around them and using systemd timers to trigger them.

TODO

Findings