Commit Graph

97 Commits

Author SHA1 Message Date
Esa Nuuros 265c33f2d9 Do not exit on backup failure
Exit caused email notifications to be not sent when backup fails. We especially
want to be notified if a backup fails.
2020-10-26 15:12:19 +02:00
Esa Nuuros 268987fd8e Install curl for webhooks 2020-10-26 15:00:49 +02:00
Tobias Kaupat 4f60e830af Some README about common usecases 2020-09-28 11:18:18 +02:00
Tobias Kaupat 925930000c use exit instead of kill to end script 2020-08-06 08:44:18 +02:00
Dan Rabinowitz ed609ae89d Ensure that only a single backup runs at one time 2020-08-06 08:43:28 +02:00
Dan Rabinowitz 317ecba765 Remove unused code 2020-08-06 08:42:28 +02:00
Lucas Breton 46df366e4c Add pre and post backup hooks 2020-08-06 08:39:07 +02:00
Lucas Breton 23a05d88b9 Update README.md 2020-08-06 08:39:07 +02:00
Lucas Breton d3297615e2 Add environment variables to allow backup via OpenStack Swift 2020-08-06 08:39:07 +02:00
Aldo D'Aquino a07b831d78 Fix missing permissions also on .cache 2020-07-07 18:02:03 +02:00
Aldo D'Aquino b85c6d9603 Fix permission denied on OpenShift
Refer to https://docs.openshift.com/container-platform/4.4/openshift_images/create-images.html#use-uid_create-images
2020-07-07 18:02:03 +02:00
Tobias Kaupat 5b4d050643 add CHANGELOG.md 2020-05-18 18:17:55 +02:00
Tobias Kaupat d5596197a6 Install fuse to allow "restic mount" 1.3.0-0.9.6 1.3.1-0.9.6 2020-05-18 17:49:41 +02:00
Tobias Kaupat 4713b3f13b Rename docker-compose.test.yml to docker-compose.test.broken.yml 2020-01-07 18:21:06 +01:00
Tobias Kaupat 0c8da5f31e Update and rename config.yml to config-broken.yml 2020-01-07 16:45:19 +01:00
Tobias Kaupat 5a1bec484a Update config.yml
disable tests
2020-01-07 16:41:15 +01:00
Tobias Kaupat 0f6a7bd462 Update README.md
Update how to set hostname
2020-01-07 16:30:14 +01:00
Victor Fauth e81386c51a Use static restic version in Dockerfile 2019-11-29 00:51:09 +01:00
Max Stabel 11513a9b20 Copy rclone to final image 2019-11-29 00:51:09 +01:00
Max Stabel 9469bbe7ba Base image directly on official restic image
This has the advantage of using Alpine Linux as base and having certs,
ssh and fuse already installed.
2019-11-29 00:51:09 +01:00
Max Stabel 15012cdab1 Run test backup every minute
Change interval of cron to backup every minute instead of once a day at
midnight to make it in line with the documentation.
2019-10-11 10:53:37 +02:00
Tobias Kaupat ec42bdd04c Merge pull request #38 from lobaro/alpine
Merge Alpine to master for #4
2019-09-19 10:30:06 +02:00
Tobias Kaupat 88620c3acb Merge branch 'master' into alpine 2019-09-19 10:27:26 +02:00
Bruno Inec b0408d66a5 Add rclone to Dockerfile 2019-09-16 11:40:47 +02:00
mrclschstr d10efe97f5 Fixed missing backslash by separating ENV lines again 2019-07-25 14:49:34 +02:00
mrclschstr 29e46cad2c Implemented a simple mail notification after backups using mailx. This can be used to send mail via an external SMTP server. Syntax uniformity is questionable. 2019-07-25 14:49:34 +02:00
Tobias Kaupat 0f2df46b9d Merge pull request #31 from Cobrijani/upstream-master
#30 Resolve test docker hub
2019-07-24 08:28:59 +02:00
Stefan Bratic 5f5f75f903 Fixed dockerhub test 2019-07-19 10:13:21 +00:00
Stefan Bratic 5c0dbbc9cc Merge branch 'master' of https://github.com/lobaro/restic-backup-docker into upstream-master 2019-07-19 10:11:32 +00:00
Tobias Kaupat 7ed9080c68 Pin version and add dependencies
- pin version of base image 
- add fuse 
- add openssh-client
1.3.0-TEST+0.9.5
2019-07-19 00:25:38 +02:00
Tobias Kaupat 683db322d7 Update README.md 2019-07-19 00:19:55 +02:00
Tobias Kaupat f99b15304f Update README.md 2019-07-19 00:18:20 +02:00
Tobias Kaupat 6613cd39b3 Update README.md 2019-07-19 00:13:09 +02:00
Tobias Kaupat 71feaad5b4 Update README.md 2019-07-19 00:12:44 +02:00
crast b4ed623bd4 Reduce layer count in Docker image:
* move the bzip2 and extraction into the scratch image
 * combine commands and ENV directives to make less layers
2019-07-18 23:36:00 +02:00
Cobrijani 31a9e3f328 added changes from master 2019-07-18 23:30:46 +02:00
Cobrijani 1033900afc corrected check status 2019-07-18 23:30:46 +02:00
Stefan Bratic 8aa40aa682 fixed status check 2019-07-18 23:30:46 +02:00
Stefan Bratic 4cdfc85445 added general repository checking 2019-07-18 23:30:46 +02:00
Cobrijani f4275c5aef added changes from master 2019-07-07 12:44:55 +01:00
Cobrijani 8a49ee9a53 corrected check status 2019-06-19 21:06:17 +00:00
Stefan Bratic 6bedee1ab1 fixed status check 2019-06-19 11:05:34 +00:00
Stefan Bratic 5e99ccbc9f added general repository checking 2019-06-19 10:18:06 +00:00
Leonardo Fedalto 393cc232c1 Bump to restic 0.9.5
https://github.com/restic/restic/releases/tag/v0.9.5
2019-06-06 16:07:14 +02:00
Tobias Kaupat 99ad449822 Update Dockerfile 2019-02-06 15:55:19 +01:00
Tobias Kaupat fb54cf6906 Update README.md
document AWS S3 parameters
2019-02-06 15:55:19 +01:00
Tobias Kaupat d3c851da27 Update backup.sh
log restic repository and AWS ID
2019-02-06 15:55:19 +01:00
Sergei Silnov f500b08d94 Update to version 0.9.3 2018-10-22 22:44:44 +02:00
Tobias Kaupat fa45e05b19 Update README.md 2018-07-01 20:24:48 +02:00
Tobias Kaupat 527ba2dd4f Merge pull request #19 from NickBusey/master
Fixing default cron value
2018-07-01 20:16:44 +02:00