Commit Graph

73 Commits

Author SHA1 Message Date
Ben Jones
e61c940d23
fix typo on skipping/scheduled log message 2020-07-24 11:53:27 +12:00
7fb0fbd467
new version 2020-07-23 13:34:23 +02:00
Ben Jones
1243721a7e
add support for rest server backends
Backend configuration would be;

```
rest_repo:
  type: rest
  path: http://backup:8001/repo_name
```

Would result in the following env var;
```
RESTIC_REPOSITORY=rest:http://backup:8001/repo_name
```
2020-07-23 15:21:55 +12:00
995f2250a1
version bump 2020-06-25 09:36:11 +02:00
3498e6da7b
fix check for executable 2020-06-25 09:33:08 +02:00
ea8bf83799
always unlock 2020-06-25 09:17:20 +02:00
b332897713
upgrade packages, included lock file, fixed types 2020-06-25 09:16:53 +02:00
5c0b67b7fb
version bump 2020-05-17 18:14:09 +02:00
1520e10a59
do not allow multiple instances 2020-05-17 18:13:50 +02:00
f9c645120b
run in shell to set paths and find restic 2020-05-17 18:12:58 +02:00
da7b70c7a7
rebuild links 2020-05-17 15:37:38 +02:00
8dcd0b1f12
add cron to format 2020-05-17 14:48:45 +02:00
9acb6296e4
add cron command 2020-05-17 11:13:02 +02:00
82f6942ff1
remove async 2020-05-17 09:35:18 +02:00
22f5f61ee0
check if cron is valid & give better feedback on init. also make sync 2020-05-17 09:35:07 +02:00
abeaacf182
check config in the beginning to avoid doing it all over the place 2020-05-17 09:11:33 +02:00
7e577c439a
notify user if config file was overwritten and make a copy of it as backup 2020-03-02 19:08:20 +01:00
cupcakearmy
f620bb1764 version bump and help command in addition to flag 2020-01-08 00:34:36 +01:00
cupcakearmy
e3506e44b5 enable sftp 2020-01-08 00:32:33 +01:00
cupcakearmy
a8af085d9c dont' get stuck if backend is not supported 2020-01-08 00:22:49 +01:00
cupcakearmy
d13d4f7cf1 if there is an error while backing up, show it to the user 2019-12-24 18:42:09 +01:00
cupcakearmy
886b6362cd remove duplicated code and make the forget function compatible with the new docker mounts options 2019-12-24 17:31:44 +01:00
cupcakearmy
9ece1d867d typo 2019-12-24 16:54:36 +01:00
cupcakearmy
e80db74af4 ordered gitignore 2019-12-24 16:52:27 +01:00
cupcakearmy
2fd9e2dd22 typo 2019-12-24 16:52:01 +01:00
cupcakearmy
8fdf5188ff cleaner error handling & version bump 2019-12-22 14:26:27 +01:00
cupcakearmy
22d93f0b9c fix self update in Debian systems 2019-12-22 14:25:52 +01:00
cupcakearmy
f940f23338 tidy up imports 2019-12-22 14:25:22 +01:00
cupcakearmy
678aa96c06 version bump 2019-12-21 23:38:07 +01:00
cupcakearmy
e51eacf13c support for tilde in optional arguments 2019-12-21 23:37:44 +01:00
cupcakearmy
b40adcae1f added command to display some info about the config file 2019-12-10 13:44:59 +01:00
cupcakearmy
ad5afab355 version bump 2019-12-10 13:44:41 +01:00
cupcakearmy
5b0011330c now shows elapsed time on each backup and some depulication of code 2019-12-10 13:44:30 +01:00
cupcakearmy
f09cf90653 hooks for backups 2019-12-05 00:24:20 +01:00
cupcakearmy
d352aced37 version bump 2019-12-05 00:24:11 +01:00
cupcakearmy
563d4ffb96 remove duplicate code 2019-12-05 00:23:49 +01:00
cupcakearmy
1c6a061dd1 cleanup types 2019-12-05 00:23:15 +01:00
cupcakearmy
504ad639ab function to convert a variable to an array if its not already 2019-12-05 00:23:06 +01:00
cupcakearmy
1026e68b68 version bump 2019-12-04 23:49:39 +01:00
cupcakearmy
9669b70e20 refactor forget and make compatible with new options api 2019-12-04 23:36:27 +01:00
cupcakearmy
bcb081234c formatting 2019-12-04 23:36:04 +01:00
cupcakearmy
336f44e9dc simplify for 2019-12-04 23:35:41 +01:00
cupcakearmy
d0cda7f1d5 always convert to string 2019-12-04 23:35:26 +01:00
cupcakearmy
a8f4c23254 version bump 2019-12-04 20:53:06 +01:00
cupcakearmy
18c3f4a06f use a simpler restore flag 2019-12-04 20:50:32 +01:00
cupcakearmy
417c54db4d cleanup 2019-12-04 20:38:59 +01:00
cupcakearmy
a9696bbc0c parse the flags in the config file to an array for the exec command 2019-12-04 20:38:48 +01:00
cupcakearmy
45f7506478 added options to the location type 2019-12-04 20:38:27 +01:00
cupcakearmy
d7cdeafe60 moved around params 2019-12-04 20:38:14 +01:00
cupcakearmy
cf09cdbb30 cleanup and support for exclusion 2019-12-04 20:38:04 +01:00