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
However after adding this I received the following errors...
[2025-03-10 20:48:35.66831] [3890524] [info] WARNING: property post_znap_cmd not set on backup for Outside/Vault. Skipping to next dataset
Use of uninitialized value in string ne at /usr/lib/x86_64-linux-gnu/ZnapZend/Config.pm line 160.
Use of uninitialized value in split at /usr/lib/x86_64-linux-gnu/ZnapZend/Config.pm line 161.
Use of uninitialized value $mbuffer in concatenation (.) or string at /usr/lib/x86_64-linux-gnu/ZnapZend/Config.pm line 163.
Can't exec "command": No such file or directory at /usr/lib/x86_64-linux-gnu/ZnapZend/ZFS.pm line 1462.
Use of uninitialized value $mbuffer in concatenation (.) or string at /usr/lib/x86_64-linux-gnu/ZnapZend/Config.pm line 164.
*** WARNING: executable '' does not exist on root@...
cannot set property for 'Outside/Vault': invalid property 'org.znapzend:post-send-command '
ERROR: could not set property post-send-command on Outside/Vault
So obviously my syntax was incorrect but when I went back to correct it with "sudo znapzendzetup edit Outside/Vault" I get the following error...
Can't use string ("0") as an ARRAY ref while "strict refs" in use at /usr/bin/znapzendzetup line 241.
I have absolutely no idea what it is complaining about. I am assuming it had something to do with my poor syntax but since I can't get back into the config to correct it, I am a bit stuck on what to do. My CS friend told me you guys would have a better idea.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello all!
I was attempting to add a pre and post command to my znapzend config. The config looks like below.
*** backup plan: Outside/Vault ***
dst_a = root@...:tank/vault
dst_a_plan = 1year=>7days
enabled = on
mbuffer_size = 1G
post-send-command = /usr/bin/ssh @...*** "sudo /usr/sbin/rtcwake -m disk -u -t "$(date -d 'today 18:00:00' '+%s')""
pre-send-command = /usr/bin/ssh @...*** "echo active > /home/***/znapzendwriting.txt"
pre_znap_cmd = off
recursive = on
src = Outside/Vault
src_plan = 1month=>3days
tsformat = %Y-%m-%d-%H%M%S
zend_delay = 0
However after adding this I received the following errors...
[2025-03-10 20:48:35.66831] [3890524] [info] WARNING: property post_znap_cmd not set on backup for Outside/Vault. Skipping to next dataset
Use of uninitialized value in string ne at /usr/lib/x86_64-linux-gnu/ZnapZend/Config.pm line 160.
Use of uninitialized value in split at /usr/lib/x86_64-linux-gnu/ZnapZend/Config.pm line 161.
Use of uninitialized value $mbuffer in concatenation (.) or string at /usr/lib/x86_64-linux-gnu/ZnapZend/Config.pm line 163.
Can't exec "command": No such file or directory at /usr/lib/x86_64-linux-gnu/ZnapZend/ZFS.pm line 1462.
Use of uninitialized value $mbuffer in concatenation (.) or string at /usr/lib/x86_64-linux-gnu/ZnapZend/Config.pm line 164.
*** WARNING: executable '' does not exist on root@...
cannot set property for 'Outside/Vault': invalid property 'org.znapzend:post-send-command '
ERROR: could not set property post-send-command on Outside/Vault
So obviously my syntax was incorrect but when I went back to correct it with "sudo znapzendzetup edit Outside/Vault" I get the following error...
Can't use string ("0") as an ARRAY ref while "strict refs" in use at /usr/bin/znapzendzetup line 241.
I have absolutely no idea what it is complaining about. I am assuming it had something to do with my poor syntax but since I can't get back into the config to correct it, I am a bit stuck on what to do. My CS friend told me you guys would have a better idea.
Please let me know what I can do to help!
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions