aports/cron/snapshot-gitea/daily
Alex Denes 8df9fdc4ab
Reorganization, automation and more
- More templating and inheritance
- New commands
+ rx_replace
+ rx_install
+ rx_cpkgdir
- More transparency with secrets being sourced as variables and replaced
- Modularization of configs
+ telegraf
+ nginx (partial)
+ fastd
+ wireguard
+ unbound
- Split of unbound configurations and bind zones
- Bumping of key versions (rolling keys)
+ ZSK/KSK
+ OpenDKIM
- Relaxed permission defaults
and other smaller tweaks...
2021-06-01 23:17:41 +00:00

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"`