You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello py-libzfs-team,
I am trying to send snapshots to a backup device using the send - receive mechanism, but I cannot figure out how to use these methods correctly. Is there any documentation (what they do, what are the input parameters)? When I open the help (help(libzfs) ), I can see the different methods available, but I do not know how to find the description of input parameters.
In my implementation of the send-receive mechanism, I always get the Error libzfs.ZFSException: trailing slash in name although there is no trailing slash in the name of my dataset.
File "/usr/local/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/usr/local/lib/python3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "libzfs.pyx", line 1392, in libzfs.ZFS.receive
libzfs.ZFSException: trailing slash in name
The text was updated successfully, but these errors were encountered:
I had the same problem until I figured out that incremental snapshots fromname parameter is supposed to be the string following the dataset-path and would be equal to:
Indeed there is no documentation for libzfs anywhere. It was never meant to be a public library, only some internal code sharing for the zfs commands. But, here we are.
If you want to know how things work, you have to read the code in openzfs/zfs. If you're lucky you might even find a comment or two.
Hello py-libzfs-team,
I am trying to send snapshots to a backup device using the send - receive mechanism, but I cannot figure out how to use these methods correctly. Is there any documentation (what they do, what are the input parameters)? When I open the help (
help(libzfs)
), I can see the different methods available, but I do not know how to find the description of input parameters.In my implementation of the send-receive mechanism, I always get the Error
libzfs.ZFSException: trailing slash in name
although there is no trailing slash in the name of my dataset.The text was updated successfully, but these errors were encountered: