March 17, 20233 yr 1 hour ago, JJJonesJr33 said: You will need to run ``` znapzend --daemonize ``` ``` touch /boot/config/plugins/unRAID6-ZnapZend/auto_boot_on ``` Then reboot. That should fix it. To test run the ``` znapzend --daemonize ``` command again after reboot and it should tell you it’s already running. It seems auto_boot_on doesn't autostart it as I had that, maybe ill just use user scripts to run znapzend --daemonize at boot Edit: I added it to array startup via user script and it works! Edited March 17, 20233 yr by Jclendineng
July 1, 20233 yr Has someone find a solution to get the snapshots in windows shadow copy's with 6.12? Now the share's are configured unter the unraid gui "shares". Before i have configured them under the smb-extras.conf and there i have to put the following under each share: vfs objects = shadow_copy2 shadow: snapdir = .zfs/snapshot shadow: sort = desc shadow: format = %Y-%m-%d-%H%M%S shadow: localtime = yes But now because i have configured it under the unraid gui i can not make this options and i can not see the snapshots anymore in Windows 10. My Snapshots look like this: Someone has an idea?
July 10, 20232 yr On 7/1/2023 at 3:39 AM, Ironcurtain said: Has someone find a solution to get the snapshots in windows shadow copy's with 6.12? Now the share's are configured unter the unraid gui "shares". Before i have configured them under the smb-extras.conf and there i have to put the following under each share: vfs objects = shadow_copy2 shadow: snapdir = .zfs/snapshot shadow: sort = desc shadow: format = %Y-%m-%d-%H%M%S shadow: localtime = yes But now because i have configured it under the unraid gui i can not make this options and i can not see the snapshots anymore in Windows 10. My Snapshots look like this: Someone has an idea? To what I have seen so far that has not been added for ZFS samba shares just yet. So far my work around was to still use smb-extras.conf and not the shares created by the gui - just change your path in the config to map to the new location of where the ZFS pool is Example: [Storage] > path = /mnt/storage public = yes browseable = yes guest ok = yes writeable = yes read only = no create mask = 0775 directory mask = 0775 vfs objects = shadow_copy2 shadow: snapdir = .zfs/snapshot shadow: sort = desc shadow: format = zfs-auto-snap_%S-%Y-%m-%d-%H%M shadow: localtime = yes
August 1, 20232 yr Have I understood it correctly that znapzend is zfs-replication build into an "easier" syntax and with build in scheduling and stuff?
December 1, 20232 yr On 8/1/2023 at 8:29 PM, isvein said: Have I understood it correctly that znapzend is zfs-replication build into an "easier" syntax and with build in scheduling and stuff? Sort of. But it combines all that and includes scheduling and it's all stored in the drive structure. So it's quite a bit more really.
February 2, 20242 yr Does anyone know why I keep getting the following when I try to either list or export my config? Assume something isn't setup correctly zLog must be specified at creation time! I used the znapzend --logto=/var/log/znapzend.log --daemonize when starting the daemon so not sure what log it's referring to? Edited February 2, 20242 yr by davidfava
February 7, 20242 yr I don't understand why this has turned into such a steaming pile. I looked into sanoid and syncoid out of desperation and it looks very complicated to set up. Znapzend is running and starts at boot. Yet it never runs a backup job. Foundational stuff like this makes me want to jump ship from unraid. Something in the zfs implementation from the unraid folks is what has messed it up. If I didn't have a broken arm at the moment I think id just virtualise unraid and be done with it. I mean they've actually never gotten this foundational stuff right, but plugins have usually filled the gaps. That's not even possible now it seems. Perhaps because dev pack and nerd pack are no longer available? Edited February 7, 20242 yr by Marshalleq
February 7, 20242 yr 4 hours ago, Marshalleq said: I don't understand why this has turned into such a steaming pile. I looked into sanoid and syncoid out of desperation and it looks very complicated to set up. Znapzend is running and starts at boot. Yet it never runs a backup job. Foundational stuff like this makes me want to jump ship from unraid. Something in the zfs implementation from the unraid folks is what has messed it up. If I didn't have a broken arm at the moment I think id just virtualise unraid and be done with it. I mean they've actually never gotten this foundational stuff right, but plugins have usually filled the gaps. That's not even possible now it seems. Perhaps because dev pack and nerd pack are no longer available? I still have znapzend installed, but I ended up switching to Sanoid. I seen the video Spaceinvader One did and after that it's been setup once and forget. I recommand checking out Part A and Part B of his video to get you going. But to make it simplified Install Sanoid Setup Script under user scripts for each backup you want ( FYI: in this all you need to change the is "source_pool" and "source_dataset" under Source for snapshotting and/or replication ) Setup custom cron job for task ( if you have mutiple sanoid tasks, make sure they are seperated by a few mins so they don't mess with each other when running - example "0 12 * * *", "5 12 * * *", ect ... ) Run the task manually for the first time Done Hope that helps. P.S I'm on version 6.12.6 atm P.S.S Nerd pack and Dev Pack kind of turned into Nerdtools, very similar but some things did change companred to the packages you could load that way. I still load the .txz plugins under the extra folder in my main flash drive for the ones I need. Edited February 7, 20242 yr by JJJonesJr33
February 10, 20242 yr Ive been grumpily playing with it. I say grumpily because I really just want znapzend to work and a few things about Sanoid are pretty horrible. Like it doesn't run in the background and you have to rely therefore on cron to run it in the background which makes it less capable and a little bizarre with how the cron aligns to the script schedule. For example I want hourly and daily snapshots at the source and weekly monthly and yearly at the destination - cant be done. Might be able to do it if I ditch space invaDERS script which honestly we shouldn't have to use it anyway, something to look into. Could also do it using two scripts for one location which would be silly. Don't like by default it snaps all child datasets either. All in all it needs more time spent trying to make basic functionality work that should be baked into the os. I'm nursing a concussion at the moment, so it probably feels harder than it actually is. Edited February 10, 20242 yr by Marshalleq
February 14, 20242 yr Just updating that for the parts that are working, it's definitely working better than znapzend. In particular cleaning up old snapshots. Thanks for the help, just gotta follow through and stop using space invaders script then I think from what Ive read it will give me everything I need.
February 15, 20242 yr Author On 12/1/2023 at 2:12 AM, isvein said: Will this be updated to 21.2? Just did
January 17, 20251 yr On 2/15/2024 at 4:23 PM, steini84 said: Just did Could you please update plugin to last version? Plugin uses v 0.21.2, but on github already 0.23.2. And also do you have any plan for feature developemnt?
January 18, 20251 yr Does anyone know if znapzend can append “hour” “day” “week” “month” “year” to the end of the snapshot name depending on which iteration it’s snapshotting? znapzendzetup create --recursive \ --tsformat='%Y-%m-%d-%H:%M:%S' \ SRC '1day=>1hour,7day=>24hour,1month=>1week,6month=>1month' cache/appdata \ DST '7day=>24hour,1month=>1week,6month=>1month' zfs/snapshots/appdata Here is my snapshot protocol, would I have to create one for each duration, hour, day, week, month in order for that to work? Can you even add text after the --tsformat=''%Y-%m-%d-%H:%M:%S' + 'hour'' ? Make this: Look like this: so i can visually differentiate between whatever the first snapshot is and whether it's my hourly, daily, weekly, monthly snapshot? Edited January 18, 20251 yr by MowMdown
January 18, 20251 yr 2 hours ago, MowMdown said: Can you even add text after the --tsformat=''%Y-%m-%d-%H:%M:%S' + 'hour'' ? concatenation doesnt work here https://github.com/oetiker/znapzend/blob/master/doc/znapzendzetup.pod https://metacpan.org/pod/strftime Plugin doesn`t add any additional functionality. For example I even don`t use this plugin, I downloaded znapzend, took 3 files and use them, after each array start I automatically run command: Quote znapzend --logto=/var/log/znapzend.log --daemonize All your question related to znapzend itself and should be addressed to their github as support request.
March 19, 20251 yr I upgraded from 6.9.2 to 7.0.1 but now znapzend is not running on startup anymore. I already read the posts and i figured, that if it is not starting by itself I will just write the "znapzenz --daemonize" command in my go file. Then I logged the output away and after a reboot this was the output: /var/tmp/go: line 7: znapzen: command not found When I start it again manually in the console everything starts and works fine. I read the Unraid documentation about when and what is startet at boot and plugins should be loaded before the go file. Does anyone know what the problem is here? Edited March 19, 20251 yr by tabbse spelling error
October 3, 2025Oct 3 On 3/19/2025 at 11:18 AM, tabbse said:I upgraded from 6.9.2 to 7.0.1 but now znapzend is not running on startup anymore. I already read the posts and i figured, that if it is not starting by itself I will just write the "znapzenz --daemonize" command in my go file. Then I logged the output away and after a reboot this was the output:/var/tmp/go: line 7: znapzen: command not found When I start it again manually in the console everything starts and works fine. I read the Unraid documentation about when and what is startet at boot and plugins should be loaded before the go file. Does anyone know what the problem is here?I'm looking at getting it to auto start too. My guess in your case is that the go script runs before the pools are ready. I'm going to try putting the daemonize command in a User Script that I'll set to Array Start.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.