#!/bin/sh
/sbin/btrfs subvolume delete /var/lib/redis/snapshots/`date +"%u"`
/sbin/btrfs subvolume snapshot -r /var/lib/redis /var/lib/redis/snapshots/`date +"%u"`