oetiker / znapzend

zfs backup with remote capabilities and mbuffer integration.
www.znapzend.org
GNU General Public License v3.0
603 stars 136 forks source link

znapzendzetup edit data : ERROR: cannot get backup config #557

Closed hallux4 closed 2 years ago

hallux4 commented 2 years ago

Hi,

I made a mistake while editing the znapzendzetup config.

znapzendzetup edit data
*** backup plan: data ***
          #dst_a = root@serveur_ip:backup/zfs_volume
     #dst_a_plan = 15days=>1days

     Do you want to save this backup set [y/N]? y
cannot set property for 'data': invalid property 'org.znapzend:#dst_a_plan'
ERROR: could not set property #dst_a_plan on data

And now I cannot edit the config anymore.

znapzendzetup edit data
ERROR: cannot get backup config

Is there a way to recover from this without deleting the config ?

Regards

Dacesilian commented 2 years ago

Hello, if znapzendzetup delete doesn't work, you probably have to delete all org.znapzend: properties (zfs get all data).

hallux4 commented 2 years ago

the znapzendzetup delete data worked. I recreated the config without the remote destination.