Commit Graph

31 Commits

Author SHA1 Message Date
simonsan
1f1d9347f4
fix(docs): update configuration documentation to align with recent changes (#1280)
Fixes #1279

---------

Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
Co-authored-by: Alexander Weiss <alex@weissfam.de>
2024-10-02 01:17:29 +02:00
aawsome
4c4e820400
chore: Update to newest rustic_core (#1248)
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
Co-authored-by: simonsan <14062932+simonsan@users.noreply.github.com>
2024-09-23 21:34:51 +02:00
aawsome
86fa8551f4
fix(config)!: use multiple options only as array in config profile (#1240)
Consistently uses singular and plural names for options in config and
CLI

BREAKING CHANGE: This requires to adapt CLI calls and config keys.

Affected options:
- `glob` -> `globs` in config profile
- `iglob` -> `iglobs` in config profile
- `glob`-file -> `glob-files` in config profile
- `iglob-file` -> `iglob-files` in config profile
- `custom-ignore-file` -> `custom-ignore-files` in config profile
- `tag`-> `tags` in config profile
- `keep-tags` -> now only array
- `keep-ids` -> now only array
- `use-profile`-> `use-profiles` in config profile
- `backup.sources` -> `backup.snapshots` in config profile
- `filter-host` -> `filter-hosts` in config profile
- `filter-label` -> `filter-labels` in config profile

---------

Co-authored-by: simonsan <14062932+simonsan@users.noreply.github.com>
2024-09-23 15:04:45 +00:00
aawsome
ee6380e0b3
feat(commands)!: copy: Use config profile as target (#1131)
Breaking change: Targets for the `copy` command must now be given by
using config profile(s).

---------

Co-authored-by: simonsan <14062932+simonsan@users.noreply.github.com>
2024-09-18 19:10:36 +00:00
aawsome
678ab12942
doc: Update config profile readme (#1221) 2024-09-03 12:18:12 +02:00
Alexander Weiss
cfd15ea52a feat: document opendal options connections and throttle 2024-05-07 16:44:45 +02:00
aawsome
58ed4b3655
feat!: Allow specifying many options in config profile without array (#1130)
Breaking change:
`password-command` and `warmup-command` now must be given as array if
the commands use args.
2024-04-22 15:03:39 +02:00
aawsome
9980a36b7d
fix(config)!: multiple paths in config profile as array (#1124)
-- BREAKING CHANG --

Using multiple paths for a sources in the config file caused many
problems as the syntax was unclear and problems existed in edge cases.

This PR changes the definition of sources in config profile files:
- a single path path can be specified as before, i.e. using `source =
"/my/path"`.
- multiple paths must now be given in an array:
```
source = ["/my/path1", "/my/path2"]
```

Note that 
```
source = "/my/path1 /my/path2"
```
is now interpreted a a single path using the dir-tree "my","path1 "
(with space), "my", "path2".

closes #1122
closes #1094
2024-04-18 16:03:39 +02:00
aawsome
00c4f197d7
feat(commands): Add --check-index option (#1078)
Adds the `--check-index` option. This is an alternative to `rustic
repair index` in cases where the repository is read-only and cannot be
repaired.

Using this option, the index is checked against existing pack files and
missing information is read from the pack headers.
2024-04-15 10:53:05 +02:00
aawsome
aaedf27cbf
docs: Update configuration README (#1088) 2024-03-04 16:50:12 +01:00
aawsome
206efa3f90
feat: Allow setting extra repository options via env variables (#1081)
Reads the env variables `RUSTIC_REPO_OPT_*`, `RUSTIC_REPO_OPTCOLD_*`,
`RUSTIC_REPO_OPTHOT_*` to set repository options. Also reads `OPENDAL_*`
variables which may be used to explicitly set opendal options (as they
are in snake and not kebab case).

closes #1073
2024-02-28 20:31:00 +01:00
Tom Hale
a39a14d6c8
fix(doc): Correct b2.toml (#1072)
closes #1068 

- s/key_id/application_key_id/
- Remove generic opendal comment
- Add comment for password file

---------

Co-authored-by: Alexander Weiss <alex@weissfam.de>
2024-02-25 11:34:13 +01:00
Alexander Weiss
127d54ecf4 fix(config): rename service examples 2024-02-06 19:55:54 +01:00
simonsan
dc436a5d4f
fix(config): add comments for owncloud and nextcloud dependent settings
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
2024-02-06 15:40:34 +01:00
Falco Hirschenberger
a7860870f2
feat(config): add example config for owncloud and nextcloud (#1052) 2024-02-06 15:19:53 +01:00
simonsan
ef4fd52a7c
feat(config): add s3_idrive config and move configs to a services subdirectory (#1048)
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
Co-authored-by: kapitainsky <dariuszb@me.com>
2024-02-05 08:15:40 +00:00
github-actions[bot]
f06574be01
release: rustic-rs v0.7.0 (#1035)
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: simonsan <14062932+simonsan@users.noreply.github.com>
Co-authored-by: Alexander Weiss <alex@weissfam.de>
2024-02-03 21:22:28 +00:00
aawsome
a6ec35680f
feat: Add webdav command (#1024)
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
Co-authored-by: simonsan <14062932+simonsan@users.noreply.github.com>
2024-01-30 09:53:53 +00:00
aawsome
f16ba04646
refactor: adjust to changes in rustic_core for added rustic_backend (#966) 2024-01-28 15:26:59 +00:00
simonsan
2660d52f96
docs: add config header 2023-09-21 11:05:13 +02:00
aawsome
432380e157
Allow setting env variables in config file (#866)
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
Co-authored-by: simonsan <14062932+simonsan@users.noreply.github.com>
2023-09-18 21:44:57 +00:00
aawsome
2af074a7f4
feat(backup): Add init option (#805)
Co-authored-by: simonsan <14062932+simonsan@users.noreply.github.com>
2023-09-11 06:17:27 +02:00
simonsan
c32bfb521f
docs: Update Readme layout, move docs to separate repository, add rustic_core Readme.md (#820)
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
2023-09-11 05:13:18 +02:00
Alexander Weiss
0a4c873db8 add global config dir to docu 2023-09-07 15:28:38 +02:00
simonsan
676e3c5946
ci: Lint markdown with dprint, run initial dprint fmt (#830) 2023-08-19 21:41:06 +02:00
simonsan
127fb3e620
docs: Fully document configuration specification and environment variables (#766) 2023-08-18 14:31:19 +02:00
Alexander Weiss
d9388637dc Add autocast gettingstarted file 2023-07-21 15:08:29 +02:00
Alexander Weiss
5bd4fa53da rest/rclone: make # of retries cusomizable and use sensible default 2023-07-10 17:56:22 +02:00
Ilia
a8df8a5504 feat: option to disable requiring git repository for git-ignore rules 2023-06-22 20:21:24 +03:00
Alexander Weiss
c8cfe28f51 rest/rclone backend: Set default timeout to 10min 2023-06-14 21:17:47 +02:00
simonsan
b698cc57fc Refactor to library and cli application part
Co-authored-by: Alexander Weiss <alex@weissfam.de>
2023-06-06 08:51:43 +02:00