I am trying to write a script in Python 3.7 that will run at night and keep an exact replica of a source ZFS pool on a remote machine, all datasets and snapshots included. Of course, it has to an incremental replication. I know for one thing that I can use the
subprocess
module, but that has proved to be very difficult so far. I would like to know if there is a Python library that I can use.