Florian Anderiasch
076b6d2452
Fix typo in tarsnap.yml
9 gadus atpakaļ
Laurent Arnoud
a09e2e71c1
tar used in place of unarchive module
9 gadus atpakaļ
Manfred Touron
16c93ea486
Using more verbose 'dependencies' tag (#393 )
9 gadus atpakaļ
Manfred Touron
b49f3a6586
Tagged 'deps' aptitude tasks
9 gadus atpakaļ
Alex Payne
ea266b73bc
Tarsnap key should be 0600. Resolves #321 .
10 gadus atpakaļ
Lorenzo Villani
d5ecf673d3
Calm OCD by sorting almost every with_items block in alphabetical order
10 gadus atpakaļ
Alex Dunae
b44972ab87
Only install Tarsnap when version is missing
Checks if the exact version of Tarsnap is already installed and, if so,
skips the download and build steps.
10 gadus atpakaļ
Justin Plock
d19e9a7d73
Move tarsnap.key from /root to /decrypted and don't overwrite it if one already exists (fixes #15 )
10 gadus atpakaļ
James Ravn
146c587644
Stops postgresql for tarsnap backup
Data loss will occur if backing up postgresql while it runs. A simple
fix is to stop it during the backup. I've moved the backup to early
morning to reduce possible downtime.
A better approach would be to use pg_dump.
10 gadus atpakaļ
Alex Payne
f7f7157cec
more updated variable formatting and accommodation of the YAML parser being a fussbudget
11 gadus atpakaļ
Alex Payne
d28f0f82b9
move to non-deprecated template variable formatting
11 gadus atpakaļ
Paul DeBruicker
9493ebd9a5
added SHA check for tarsnap
11 gadus atpakaļ
Bertrand Cachet
6bfa2c991f
add(tarsnap): Script to rotate backups
Add tasks to install script/tarsnap configuration file and a cronjob to run
the backup job
Number of hourly/daily/weekly/monthly backups kept can be configure from the
tarsnap.sh script
Thanks to this script, we don't use all the backups which save space on
tarsnap server and thus reduce the price to pay
11 gadus atpakaļ
Luke Cyca
2ccb180e3d
Use relative paths for tarsnap archives
11 gadus atpakaļ
Alex Payne
26233ecb6c
provide absolute path to tarsnap binary in cron job
11 gadus atpakaļ
Alex Payne
f27442b678
move tarsnap to its own role
11 gadus atpakaļ
Luke Cyca
5beacea2d2
Absolute path for tarsnap
11 gadus atpakaļ
Luke Cyca
6168cd68d0
Automate encfs setup and name mount point more appropriately
11 gadus atpakaļ
Henrik Hodne
a844401d7c
tarsnap: Only run cron job once per day.
The old action would generate a crontab job for `* 3 * * *`, which means every minute at 3am, so 60 times per day.
11 gadus atpakaļ
Alex Payne
080d38986c
first commit
11 gadus atpakaļ