4 lines
164 B
Bash
4 lines
164 B
Bash
#!/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"`
|