Switch to hourly, added README
This commit is contained in:
13
README.md
Normal file
13
README.md
Normal 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
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
dumpfile="dump.sql.custom"
|
||||
dumpfile="dump.sql"
|
||||
|
||||
tmpdir="$(mktemp -d -p "${PWD}")"
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ Description=Runs bitwarden backup on a schedule
|
||||
|
||||
[Timer]
|
||||
Unit=backup-bitwarden.service
|
||||
OnCalendar=daily
|
||||
OnCalendar=hourly
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
|
||||
Reference in New Issue
Block a user