19 Commits

Author SHA1 Message Date
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 Karékinian
d398c167ca Allow to pass extra attributes to backup PostgreSQL databases 2019-05-14 16:39:21 +02:00
Greg Karékinian
81192f7277 Fix the backup config format to work with backup 5 2019-05-08 12:26:47 +02:00
Greg Karékinian
37aa87df5e Add a missing dependency on the zlib1g-dev for the backup gem
Fixes #56
2019-05-03 10:58:39 +02:00
Greg Karékinian
57d0885d26 Change the licenses of hte kosmos cookbooks to MIT 2019-04-12 11:41:20 +02:00
Greg Karékinian
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 Karékinian
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 Karékinian
fddadbce25 Install the ruby-dev package since the backup gem needs it 2019-04-08 12:35:43 +02:00
Greg Karékinian
448bffe34e Get rid of the deprecated set_unless 2019-04-03 12:56:15 +02:00
Greg Karékinian
5fc158cb5e Install the latest version of the backup gem 2019-02-25 18:28:55 +01:00
Greg Karékinian
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 Karékinian
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
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 Karékinian
2f0ff1f559 Fixed code styling 2017-04-28 15:45:59 +02:00
Greg Karékinian
e98b887665 Add missing dependency on mysql, only install mysql client when needed 2017-04-21 12:53:37 +02:00
Greg Karékinian
4e5d452aff Add support for PostgreSQL backups 2017-04-07 18:19:55 +02:00
Greg Karékinian
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 Karékinian
216c8d049d Remove old file committed by mistake 2016-05-13 17:51:50 +02:00
Greg Karékinian
7a53617302 Add automatic daily backup of mediawiki and wordpress databases 2016-05-13 17:12:24 +02:00