ncp-metrics.cfg.sh: Exclude snapshots from backup monitoring on LXD/LXC

Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
This commit is contained in:
Tobias Knöppler 2023-04-15 02:06:25 +02:00
parent 4dd2dcef6a
commit ab501b3f51
No known key found for this signature in database
GPG Key ID: 3510056072886A8F

View File

@ -51,7 +51,7 @@ EOF
EOF
}
is_docker || {
is_docker || is_lxc || {
DATADIR=$( get_nc_config_value datadirectory ) || {
echo "ERROR: Could not get data directory. Is NextCloud running?" >&2