zrepl/docs
Christian Schwarz 2642c64303 make initial replication policy configurable (most_recent, all, fail)
Config:

```
- type: push
  ...
  conflict_resolution:
    initial_replication: most_recent | all | fali
```

The ``initial_replication`` option determines which snapshots zrepl
replicates if the filesystem has not been replicated before.
If ``most_recent`` (the default), the initial replication will only
transfer the most recent snapshot, while ignoring previous snapshots.
If all snapshots should be replicated, specify ``all``.
Use ``fail`` to make replication of the filesystem fail in case
there is no corresponding fileystem on the receiver.

Code-Level Changes, apart from the obvious:
- Rework IncrementalPath()'s return signature.
  Now returns an error for initial replications as well.
- Rename & rework it's consumer, resolveConflict().

Co-authored-by: Graham Christensen <graham@grahamc.com>

Fixes https://github.com/zrepl/zrepl/issues/550
Fixes https://github.com/zrepl/zrepl/issues/187
Closes https://github.com/zrepl/zrepl/pull/592
2022-06-26 14:36:59 +02:00
..
_static docs: add logo 2017-11-11 23:25:12 +01:00
configuration make initial replication policy configurable (most_recent, all, fail) 2022-06-26 14:36:59 +02:00
installation docs: add a note that FreeBSD jail zfs userland needs to be kept in sync with kernel module 2021-12-18 16:06:26 +01:00
quickstart docs: fix typo in backup_to_external_disk.rst 2022-01-20 19:25:03 +01:00
sphinxconf docs: bump copyright 2019-03-30 19:01:34 +01:00
usage/runbooks docs: add runbook on how to migrate sending side to new zpool 2021-11-14 17:34:32 +01:00
.gitignore docs: publishing workflow as script 2017-11-11 23:25:12 +01:00
changelog.rst prometheus: convert zrepl_version_daemon to zrepl_start_time metric 2022-01-20 19:33:18 +01:00
conf.py docs: sphinx-versioning would not build master 2017-11-18 21:28:10 +01:00
configuration.rst make initial replication policy configurable (most_recent, all, fail) 2022-06-26 14:36:59 +02:00
gen-sphinx-versioning-flags.py docs: gen-sphinx-versioning-flags.py: implement the stable branch logic used for 0.3.0 release 2020-09-12 14:03:45 +02:00
global.rst.inc docs: badges & links to Matrix chat room 2022-01-09 12:05:19 +01:00
index.rst docs: badges & links to Matrix chat room 2022-01-09 12:05:19 +01:00
installation.rst build: rpm + deb targets, build-in-docker targets, CircleCI pipeline rewrite 2020-09-02 21:34:52 +02:00
Makefile build: include docs in release artifacts + use sphinxcontrib-versioning 2017-11-18 16:28:06 +01:00
pr.rst docs: reflect changes in replication_rewrite branch 2018-10-11 18:03:18 +02:00
publish.sh docs / CI: stop creating churn with doc commits & commit as zreplbot@ 2021-07-08 17:07:24 +02:00
quickstart.rst docs: document fan-out replication & add quick-start guide 2022-01-09 12:45:09 +01:00
requirements.txt build: use git+https to fix lazy.sh docdep failures 2022-03-20 20:23:01 +01:00
supporters.rst send/recv: job-level bandwidth limiting 2021-09-12 20:08:43 +02:00
usage.rst 0.5 changelog + front page update 2021-12-18 17:36:54 +01:00