Skip to content

Need a little help... #1

Description

@OswaldKolle1977

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?!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions