#!/bin/sh
/sbin/btrfs subvolume delete /databases/snapshots/influxdb/`date +"%u"`
/sbin/btrfs subvolume snapshot -r /databases/influxdb /databases/snapshots/influxdb/`date +"%u"`