Skip to content

Commit a2088f0

Browse files
authored
Merge pull request #2371 from stgraber/main
incusd/storage/zfs: Use compression and large-blocks on backups
2 parents bc3fc24 + b71e56d commit a2088f0

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)