Hello, I’m using Incus 7.0.1 from Debian 13 (backports)
My containers use DIR storage driver with Ext4 filesystem backend.
I see any:
incus snapshot create MyContainerName PointName
Really makes a complete export of container files.
Is there some way to make it export only differences between last snapshot and current filesystem status?
The snapshot feature relies on the underlying storage driver’s snapshotting capabilities. The dir storage driver is as dumb as it gets, storing a full export each time. I suggest you to have a look at the other storage drivers; see Storage drivers - Incus documentation.
Why DIRectory and BTRFS are considered different storage drivers?
The dir driver is agnostic about the underlying filesystem; you give it a path on your system and it puts its data in there. The btrfs driver makes use of btrfs subvolumes.
Isn’t the second one a filesystem and not a driver, with the possibility to work with DIR on a BTRFS filesystem?
You can use the dir driver on a btrfs mount, although you’d lose all the features that btrfs offers, such as snapshots. That feels like a pretty bad idea.
What about incremental snapshot feature in documentation?
In the page I linked, that’s the “Optimized snapshot creation” line.