Issue when pool is empty. #181
ozgurerdogan
started this conversation in
General
Replies: 1 comment 1 reply
-
Perhaps, but maybe for now you can script it?
This will only backup if there are datasets in that pool. I could add a check, but its not super trivial to do it in a reliable way: Its needs to lookup all the pools, check if there are no datasets and check if the pool-dataset for each pool is really empty. And then still it could be that a sysadmin wants to begin backuping from the moment the pool was still empty. It seems if someone is automating it, like you, it would be better to add some scripting to do the checks that suit your environment. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using healthchecks.io to monitor if backup fails. When there is no dataset in a pool, it creates following log:
! No source filesystems selected, please do a 'zfs set autobackup:s2d1=true' on the source datasets you want to select.
which causes healthchecks to trigger warning.
So is it possible if pool is empty, just igrone it?
Beta Was this translation helpful? Give feedback.
All reactions