Closed rzerres closed 2 years ago
You can get the wrong zfs properties with:
zfs get org.znapzend:src_plan pool/pathtozfs
and fix it with
zfs set org.znapzend:src_plan pool/pathtozfs value
thank you for the respond. I managed to fix the issue as described, resetting the incorrect property with
zfs set org.znapzend:dst_0 pool_data/backups/ubuntu_gringosrv1/data
Abstract
On a working environment i had to edit an already active backup plan (
znapzendzetup edit myplan
).I was mistaken and tried to
comment out
a disfunctional destination using a hash sign in front of thedst
line in question inside the editor. After writing the buffer end ending the editor session, the given destination-plan isn't accessible any more. I can't edit or delete it. Can't create a new one, since the given data are blocking.Your are right, i should have used the intended
znapzendzetup disable-dest <src_dataset> myplan
. But now, the configuration is rendered unusable and unfunctional.Expectation
znapzendzetup
should have rejected to write back the incorrect backup plan or should have deleted the corrupt dstination lines to keep a syntactical correct definition of the backup plan.Question
znapzynczetup
persitently store the plan configuration? Is it possible to correct the corrupt information?znapzendzetup list --recursive
omits the malformated backup plan.System information
OS: Ubuntu 20.04.3 LTS Kernel: Linux 5.13.0-1010-oem ZFS: zfs-2.1.2-0york0~20.04 ZFS-Mod: zfs-kmod-2.1.1-0york0-20.04 ZnapZync: znapzend-0.21.1