aports/cron/dovecot/cron-daily

4 lines
149 B
Bash

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