Switch to hourly, added README

This commit is contained in:
2022-12-25 14:06:50 -08:00
parent f5f6affaea
commit fddd8e84dd
3 changed files with 15 additions and 2 deletions

13
README.md Normal file
View File

@@ -0,0 +1,13 @@
## Backup Scripts
### Requirements
* systemd
* [AWS client](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html)
### Install
* Run `aws configure`
* Symlink unit files to `/etc/systemd/system`
* Run `systemctl enable` on units and slices
* Run `systemctl start` on timers

View File

@@ -2,7 +2,7 @@
set -euo pipefail
dumpfile="dump.sql.custom"
dumpfile="dump.sql"
tmpdir="$(mktemp -d -p "${PWD}")"

View File

@@ -3,7 +3,7 @@ Description=Runs bitwarden backup on a schedule
[Timer]
Unit=backup-bitwarden.service
OnCalendar=daily
OnCalendar=hourly
Persistent=true
[Install]