Compressed backups
-
@frank-s said in Compressed backups:
Hi, Does delta (incremental) backup compress backups on the backup repository? Is there a way to enable this to reduce the amount of data to transfer?
Thanks.Delta, by definition is compressed to changes only, there has been some discussion on the forum about how effective this is when comparing Linux and Windows guests and how much the delta's are different.
Additionally, you can enable compression within the advanced settings under a given backup, see below for an example.
-
@DustinB
I couldn't see the Compression field under "delta backups" but now I see it for full backups. I guess then compression is not available for delta backup because it would screw up file merge when retention has been reached. Is this right? -
Compression is enabled by default for incremental backups.
-
@olivierlambert Thank you. Does this apply to the key backup as well as the increrments?
-
FYI, you should create a remote with "Store backup as multiple data blocks instead of a whole VHD file" to enjoy better backup perf with compression (IIRC, we use brotli). Every info we can compress will be compressed.
-
@olivierlambert Thanks. I'll do that.
-
@olivierlambert Are you referring to the compression ratio when you mention performance? I turned it on for my remote and it tanked my transfer speeds compared to the standard sequential backup.
Since I'm using zfs for my remote, is there a way to turn off compression for the delta backups?
-
Question for @florent
-
@CJ said in Compressed backups:
@olivierlambert Are you referring to the compression ratio when you mention performance? I turned it on for my remote and it tanked my transfer speeds compared to the standard sequential backup.
Since I'm using zfs for my remote, is there a way to turn off compression for the delta backups?
you can turn compression off by setting vhd compression to none instead of brotly in your configuration file ,
[backups] # Mode to use for newly created backup directories vhdDirectoryCompression = 'brotli
writing vhd blocks is often slower than sequential, and compression should not have a lot of impact , but the merging is faster. So the best solution depends on the limiting factor on your infrastructure
(also this storage mode have been made for s3 which do not like modifying the files ) -
@olivierlambert said in Compressed backups:
Compression is enabled by default for incremental backups.
Hi, if I configure Delta Backup and run a backup for the first time, a full backup of the affected virtual machines is performed. This initial full backup is also compressed?
-
IIRC, everything is compressed using Brotli by default, including the full.