Commit 84ae96ac authored by Nigel Kukard's avatar Nigel Kukard

Merge branch 'period-to-zabbix-item' into 'master'

Add $ZABBIX_ITEM variable

See merge request !23
parents bcbf8785 09c5c28a
Pipeline #943 passed with stages
in 1 minute and 23 seconds
...@@ -76,6 +76,8 @@ do ...@@ -76,6 +76,8 @@ do
BIND_MOUNT_ARGS+=("$ITEM:$ITEM") BIND_MOUNT_ARGS+=("$ITEM:$ITEM")
done done
ZABBIX_ITEM="$lv,$PERIOD"
# Backup to $PERIOD-$vg-$lv ... # Backup to $PERIOD-$vg-$lv ...
backstep-traceback --backup \ backstep-traceback --backup \
--acl \ --acl \
...@@ -88,6 +90,6 @@ do ...@@ -88,6 +90,6 @@ do
--email="$REPORT_EMAIL" \ --email="$REPORT_EMAIL" \
--port "$SERVER_PORT" --pubkey "$SERVER_KEY" \ --port "$SERVER_PORT" --pubkey "$SERVER_KEY" \
$syncopts \ $syncopts \
--zabbix "$PERIOD" --zabbix-config "$ZABBIX_CONFIG" \ --zabbix "$ZABBIX_ITEM" --zabbix-config "$ZABBIX_CONFIG" \
"$SERVER_USER"@"$SERVER_HOST"::"$SERVER_PATH"/"$PERIOD-$vg-$lv" "$SERVER_USER"@"$SERVER_HOST"::"$SERVER_PATH"/"$PERIOD-$vg-$lv"
done done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment