mirror of
https://github.com/psy0rz/zfs_autobackup.git
synced 2025-06-03 01:30:57 +03:00
stricter test
This commit is contained in:
parent
797fb23baa
commit
2305fdf033
@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
* Complete rewrite, cleaner object oriented code.
|
* Complete rewrite, cleaner object oriented code.
|
||||||
* Python 3 and 2 support.
|
* Python 3 and 2 support.
|
||||||
|
* Automated regression against real ZFS environment.
|
||||||
* Installable via [pip](https://pypi.org/project/zfs-autobackup/).
|
* Installable via [pip](https://pypi.org/project/zfs-autobackup/).
|
||||||
* Backwards compatible with your current backups and parameters.
|
* Backwards compatible with your current backups and parameters.
|
||||||
* Progressive thinning (via a destroy schedule. default schedule should be fine for most people)
|
* Progressive thinning (via a destroy schedule. default schedule should be fine for most people)
|
||||||
@ -21,6 +22,7 @@
|
|||||||
* Supports raw backups for encryption.
|
* Supports raw backups for encryption.
|
||||||
* Custom SSH client config.
|
* Custom SSH client config.
|
||||||
|
|
||||||
|
|
||||||
## Introduction
|
## Introduction
|
||||||
|
|
||||||
This is a tool I wrote to make replicating ZFS datasets easy and reliable. You can either use it as a backup tool or as a replication tool.
|
This is a tool I wrote to make replicating ZFS datasets easy and reliable. You can either use it as a backup tool or as a replication tool.
|
||||||
|
@ -33,7 +33,7 @@ test_target1
|
|||||||
|
|
||||||
|
|
||||||
with self.subTest("second snapshot, no changes, no snapshot"):
|
with self.subTest("second snapshot, no changes, no snapshot"):
|
||||||
node.consistent_snapshot(node.selected_datasets, "test-2",100000)
|
node.consistent_snapshot(node.selected_datasets, "test-2",1)
|
||||||
r=shelltest("zfs list -H -o name -r -t all")
|
r=shelltest("zfs list -H -o name -r -t all")
|
||||||
self.assertEqual(r,"""
|
self.assertEqual(r,"""
|
||||||
test_source1
|
test_source1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user