fix: receive into pool, not name
This commit is contained in:
+1
-1
@@ -77,7 +77,7 @@ class Manager:
|
|||||||
)
|
)
|
||||||
end_snapshot = self._get_last_snapshot_with_backup_tag(local_dataset)
|
end_snapshot = self._get_last_snapshot_with_backup_tag(local_dataset)
|
||||||
stream = ZFS.send_incremental(start_snapshot, end_snapshot)
|
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):
|
def _get_last_snapshot_with_backup_tag(self, local_dataset):
|
||||||
snapshots = self._find_snapshots_with_backup_tag(local_dataset)
|
snapshots = self._find_snapshots_with_backup_tag(local_dataset)
|
||||||
|
|||||||
Reference in New Issue
Block a user