Wykres commitów

30 Commity (c8307608ebffa144ac22aee0d36231f548cd5fbb)

Autor SHA1 Wiadomość Data
Jarno Rantanen c8307608eb Only write .aws/config when AWS_DEFAULT_REGION is provided. 2018-11-26 22:46:42 +02:00
Jarno Rantanen 053cc78832 Add test compose file for S3 backups. 2018-11-26 22:46:03 +02:00
Jarno Rantanen e768954904 Improve S3 upload logging slightly. 2018-11-26 22:39:40 +02:00
Jarno Rantanen 07b21ea263 Rename BACKUP_BUCKET_NAME to AWS_S3_BUCKET_NAME. 2018-11-26 22:28:05 +02:00
Jarno Rantanen 4de180c824 Include timestamp in default backup filename. 2018-11-26 22:26:32 +02:00
Jarno Rantanen 1306cb92e0 Move original compose file to test. 2018-11-26 22:24:20 +02:00
Jarno Rantanen e7b58efca2 Add test compose file for local backups. 2018-11-26 22:15:46 +02:00
Jarno Rantanen c8141e0cb9 Update logging a tiny bit. 2018-11-26 21:47:13 +02:00
Jarno Rantanen 5b6345bce7 Rename BACKUP_ARCHIVE_PATH to BACKUP_ARCHIVE. 2018-11-26 21:22:59 +02:00
Jarno Rantanen 2dc64a29cd Remove Docker Hub badge; our image name doesn't fit. 2018-11-26 17:20:05 +02:00
Jarno Rantanen 34a4712671 Add docker-compose for testing. 2018-11-26 17:18:58 +02:00
Jarno Rantanen 9837e46d5c Set default BACKUP_WAIT_SECONDS to 0. 2018-11-26 16:25:46 +02:00
Jarno Rantanen 6d67722f9c Update script to deal with the Docker socket not being mounted. 2018-11-26 16:25:34 +02:00
Jarno Rantanen 084dab26d2 Add logging about intent to stop containers, with count. 2018-11-26 16:08:38 +02:00
Jarno Rantanen ebaa428c2b Allow copying the the backup file to an archive path afterward. 2018-11-26 14:57:04 +02:00
Jarno Rantanen c779ac454a Rename BACKUP_UPLOAD_WAIT_SECONDS to BACKUP_WAIT_SECONDS. 2018-11-26 14:37:51 +02:00
Jarno Rantanen 74c32d1c79 Ensure metrics are logged even when not shipped. 2018-11-26 13:34:33 +02:00
Jarno Rantanen 03eaccb3b1 Fix bold formatting so it doesn't leak when someone is prefixing loglines. 2018-11-26 13:31:36 +02:00
Jarno Rantanen 62e18bde65 Ensure cleanup also works when the backup file isn't present. 2018-11-26 13:29:13 +02:00
Jarno Rantanen ae9baec840 Make S3 upload optional. 2018-11-26 13:28:39 +02:00
Jarno Rantanen 318691ae8e Remove unnecessary content after apt install. 2018-11-26 13:21:39 +02:00
Jarno Rantanen 4df42e351e Pass BACKUP_FILENAME through date. 2018-11-26 13:16:25 +02:00
Jarno Rantanen a3c2c39898 Add Docker Hub badge to README. 2018-11-26 11:52:27 +02:00
Jarno Rantanen c6ebbe3937 Switch to cron for scheduling. 2018-11-26 11:46:26 +02:00
Jarno Rantanen 2269f45a73 Switch stopping logic to opt-in instead of opt-out. 2018-11-25 11:07:54 +02:00
Jarno Rantanen 145388e827 Update base Ubuntu image to latest LTS. 2018-11-25 10:37:51 +02:00
Jarno Rantanen 452f768509 Rename Dockerfile. 2018-11-23 18:04:06 +02:00
Jarno Rantanen b69881f55a Add basic ignores. 2018-11-23 18:04:06 +02:00
Jarno Rantanen bf00d1f5f9 Add initial implementation. 2018-11-23 18:04:02 +02:00
Jarno Rantanen 6e4c8f7fb2
Initial commit 2018-11-23 12:24:10 +02:00