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