Commit Graph

113 Commits

Author SHA1 Message Date
Alex Joedt
beb5fa841c Fix shebang in entry.sh 2023-08-02 22:51:20 +02:00
Tobias Kaupat
bc000ef4f8 Merge pull request #73 from lojutaan/check
Update restic to version 0.14.0 and add option to check data integrity
2023-01-03 08:29:15 +01:00
Tobias Kaupat
5155c3b351 Merge branch 'master' into check 2023-01-03 08:27:34 +01:00
Haneef
fa34734660 Restic updated 2023-01-03 08:23:19 +01:00
Niko
7e0b0706c1 Update restic to version 0.13.1 and add option to check data integrity 2022-08-17 19:14:39 +03:00
0chroma
820fabb1e6 add RESTIC_INIT_ARGS docs 2022-01-19 22:14:46 +01:00
0chroma
e94df72518 add init args env variable 2022-01-19 22:14:46 +01:00
Tobias Kaupat
36f771b781 Remove duplicate ENV 2021-08-07 19:20:09 +02:00
Kevin Köllmann
f308eca25b Fix minor typos in log output of backup.sh 2021-05-05 20:15:34 +02:00
Victor Fauth
0b72ec94a7 Update to restic 0.12.0 2021-04-07 12:58:55 +02:00
Victor Fauth
84c8ed0c0d Update to restic 0.11.0 2020-12-27 14:30:31 +01:00
Tobias Kaupat
a118fb5594 Merge pull request #56 from enuuros/add-webhook
Add support for webhooks
2020-12-27 14:29:57 +01:00
Tobias Kaupat
0c32b273e9 Merge branch 'master' into add-webhook 2020-12-27 14:28:14 +01:00
Erfan Sahafnejad
5110483351 Add Microsoft Teams notifier 2020-12-27 14:26:14 +01:00
Christian Studer
93e76c46fe README: Adds additional info for rclone backends 2020-12-27 14:21:00 +01:00
Esa Nuuros
4d2034ccd4 Pass backup exit code to post-backup.sh hook
We can write our own hook that can choose what to do based on the exit code.
For example, we may only want to sent notifications on failures.
2020-10-26 15:13:37 +02:00
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