Skip to content

Commit b71e56d

Browse files
committed
incusd/storage/zfs: Use compression and large-blocks on backups
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
1 parent bc3fc24 commit b71e56d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/server/storage/drivers/driver_zfs_volumes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2830,7 +2830,7 @@ func (d *zfs) BackupVolume(vol Volume, tarWriter *instancewriter.InstanceTarWrit
28302830
// Handle the optimized tarballs.
28312831
sendToFile := func(path string, parent string, fileName string) error {
28322832
// Prepare zfs send arguments.
2833-
args := []string{"send"}
2833+
args := []string{"send", "-c", "-L"}
28342834

28352835
// Check if nesting is required.
28362836
if d.needsRecursion(path) {

0 commit comments

Comments
 (0)