Aleksandr Bogdanov
27ddd316e5
Making linter hapy
vor 7 Jahren
Alex Payne
76050eda6b
Newest Tarsnap.
Formatting the task names.
vor 9 Jahren
Florian Anderiasch
076b6d2452
Fix typo in tarsnap.yml
vor 9 Jahren
Laurent Arnoud
a09e2e71c1
tar used in place of unarchive module
vor 9 Jahren
Manfred Touron
16c93ea486
Using more verbose 'dependencies' tag (#393 )
vor 9 Jahren
Manfred Touron
b49f3a6586
Tagged 'deps' aptitude tasks
vor 9 Jahren
Alex Payne
ea266b73bc
Tarsnap key should be 0600. Resolves #321 .
vor 10 Jahren
Lorenzo Villani
d5ecf673d3
Calm OCD by sorting almost every with_items block in alphabetical order
vor 10 Jahren
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.
vor 10 Jahren
Justin Plock
d19e9a7d73
Move tarsnap.key from /root to /decrypted and don't overwrite it if one already exists (fixes #15 )
vor 10 Jahren
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.
vor 10 Jahren
Alex Payne
f7f7157cec
more updated variable formatting and accommodation of the YAML parser being a fussbudget
vor 11 Jahren
Alex Payne
d28f0f82b9
move to non-deprecated template variable formatting
vor 11 Jahren
Paul DeBruicker
9493ebd9a5
added SHA check for tarsnap
vor 11 Jahren
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
vor 11 Jahren
Luke Cyca
2ccb180e3d
Use relative paths for tarsnap archives
vor 11 Jahren
Alex Payne
26233ecb6c
provide absolute path to tarsnap binary in cron job
vor 11 Jahren
Alex Payne
f27442b678
move tarsnap to its own role
vor 11 Jahren