I try to find an efficient way of
rsyncing contents of an
ext4 file system as a part of a regular backup, yet I consider a decent compression and a minimal required space.
I can just use plain
rsync and then
gzip the resulting directory, but compression itself will be orders of magnitude slower, than the preceding rsyncing.
I cannot use
squashfs and its likes because they are read-only.
I can make a partition of a special type for this backup, with an in-built compression, such as
reiser4 but I must to create it with a specific size and it will not scale.
I wonder if there any technology of a container with an in-built compression, which transparently and automatically adjust its size according to the volume of data, rsynced to it?
By the way, I use Debian GNU/Linux.