BTRFS backup script.

Use it in a cronjob as follows:

./backup.sh $btrfs_subvol {recent,hourly,daily,weekly,monthly}

The script expects $btrfs_subvol/.btrfs to exist.