fix: receive into pool, not name

This commit is contained in:
timeshifter
2021-12-02 14:58:03 +01:00
parent cb603eea74
commit ef25c43a8b
+1 -1
View File
@@ -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)