From ef25c43a8b0ff7f7b13280aaf9b8aeca0b74f5c0 Mon Sep 17 00:00:00 2001 From: timeshifter Date: Thu, 2 Dec 2021 14:58:03 +0100 Subject: [PATCH] fix: receive into pool, not name --- zfs-backup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zfs-backup.py b/zfs-backup.py index c6a71a7..44d8541 100755 --- a/zfs-backup.py +++ b/zfs-backup.py @@ -77,7 +77,7 @@ class Manager: ) end_snapshot = self._get_last_snapshot_with_backup_tag(local_dataset) stream = ZFS.send_incremental(start_snapshot, end_snapshot) - ZFS.receive(stream, self._external_pool.name) + ZFS.receive(stream, self._external_pool) def _get_last_snapshot_with_backup_tag(self, local_dataset): snapshots = self._find_snapshots_with_backup_tag(local_dataset)