Greg
88caae26e4
Install the latest backup gem
...
It added a few dev dependencies, install them
2023-06-28 16:35:56 +02:00
Greg
5a5f8425af
Add missing postgresql-client package for backup gem
2022-11-07 16:30:45 +01:00
Basti
57b5a244fa
Remove superfluous license header
2021-12-23 13:05:44 +01:00
Basti
f7afc21f9e
Use pbkdf2 for backup key derivation
...
Fixes a warning thrown by OpenSSL during backup runs, and makes it more
secure.
2021-11-30 13:38:34 -06:00
Basti
c30733e5aa
Send backup notifiations when run ends with warning
2021-11-30 13:38:18 -06:00
Basti
e63cda3317
Use SMTP/Mailgun for backup notifications
2021-11-30 13:37:51 -06:00
Basti
8dd146e95c
Remove obsolete mysql client install
...
This fails nowadays,and the client is already installed via the mysql
package in the first place.
2020-09-06 13:42:34 +02:00
Greg
d398c167ca
Allow to pass extra attributes to backup PostgreSQL databases
2019-05-14 16:39:21 +02:00
Greg
81192f7277
Fix the backup config format to work with backup 5
2019-05-08 12:26:47 +02:00
Greg
37aa87df5e
Add a missing dependency on the zlib1g-dev for the backup gem
...
Fixes #56
2019-05-03 10:58:39 +02:00
Greg
57d0885d26
Change the licenses of hte kosmos cookbooks to MIT
2019-04-12 11:41:20 +02:00
Greg
b3786053a5
Don't try to install packages on older Ubuntu versions (dev.kosmos.org)
...
The package repositories do not exist anymore
2019-04-10 16:18:22 +02:00
Greg
2d18e4cd45
Set the mysql version for Ubuntu 18.04
...
The current mysql cookbook doesn't know the version it ships with
2019-04-09 11:09:54 +02:00
Greg
fddadbce25
Install the ruby-dev package since the backup gem needs it
2019-04-08 12:35:43 +02:00
Greg
448bffe34e
Get rid of the deprecated set_unless
2019-04-03 12:56:15 +02:00
Greg
5fc158cb5e
Install the latest version of the backup gem
2019-02-25 18:28:55 +01:00
Greg
ffc6858dcc
Do not pass the password on the command line anymore to fix a warning
...
Since email notifications work now we do not want warnings. Write an
option file with the credentials for mysqldump
(https://dev.mysql.com/doc/refman/5.7/en/option-files.html )
2018-11-09 14:08:32 +01:00
Greg
7073e5d574
Fix backup gem notifications failing
...
This was caused by a bogus PATH that did not include /usr/sbin. The root
user's default PATH includes that, so /usr/sbin/sendmail provided by
postfix is in it
Fixes #27
2018-11-09 14:08:32 +01:00
Basti
4bccf4dd88
Fix missing Mastodon/PosgreSQL backups
...
The backup cookbook was incomplete, and also there was no database
configured to be backed up.
2018-09-08 12:54:51 +08:00
Greg
2f0ff1f559
Fixed code styling
2017-04-28 15:45:59 +02:00
Greg
e98b887665
Add missing dependency on mysql, only install mysql client when needed
2017-04-21 12:53:37 +02:00
Greg
4e5d452aff
Add support for PostgreSQL backups
2017-04-07 18:19:55 +02:00
Greg
de11c0d691
Set up an instance of Mastodon for Kosmos
...
Refs #19
Use new application cookbook, update our cookbooks
2017-04-06 21:20:51 +02:00
Greg
216c8d049d
Remove old file committed by mistake
2016-05-13 17:51:50 +02:00
Greg
7a53617302
Add automatic daily backup of mediawiki and wordpress databases
2016-05-13 17:12:24 +02:00