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
What I did:
Configured the /etc/bashclub/zsync.conf file
I added a custom tag "bashclub:zsync" to the volume ("zfs set bashclub:zsync=subvols rpool/data/vm-100-disk-1").
Now the problem is - it will not be shown in the "include_list"!
running this zfs get -H -o name,value,source -t filesystem,volume bashclub:zsync
gives me: rpool/data/vm-100-disk-0 subvols local
So the following function will never take this entry into the include list... for zvol in $($ssh $sshcipher $sshport $source "zfs get -H -o name,value,source -t filesystem,volume $tag"); do name=$(echo $zvol | $cut -f1) if [[ "$(echo $zvol | $cut -f2)" == "subvols" ]] && [[ $(echo $zvol | $grep -vE "local|received") ]]; then
The grep -vE "local|received" will exclude it...
What am I doing wrong?!
The text was updated successfully, but these errors were encountered:
What I did:
Configured the /etc/bashclub/zsync.conf file
I added a custom tag "bashclub:zsync" to the volume ("zfs set bashclub:zsync=subvols rpool/data/vm-100-disk-1").
Now the problem is - it will not be shown in the "include_list"!
running this
zfs get -H -o name,value,source -t filesystem,volume bashclub:zsync
gives me:
rpool/data/vm-100-disk-0 subvols local
So the following function will never take this entry into the include list...
for zvol in $($ssh $sshcipher $sshport $source "zfs get -H -o name,value,source -t filesystem,volume $tag"); do name=$(echo $zvol | $cut -f1) if [[ "$(echo $zvol | $cut -f2)" == "subvols" ]] && [[ $(echo $zvol | $grep -vE "local|received") ]]; then
The grep -vE "local|received" will exclude it...
What am I doing wrong?!
The text was updated successfully, but these errors were encountered: