autorestic/docs/markdown/location/copy.md
Nicco 434862ed4e
1.6.0 (#180)
* fix for #178

* restore options

* error codes

* update docs

* forget docs

* add option to auto forget

* add copy option

* update go version to enable generics

* copy docs

* changelog & version bump
2022-04-14 11:51:32 +02:00

708 B

Copy

Instead of specifying multiple to backends for a given location you can also use the copy option. Instead of recalculating the backup multiple times, you can copy the freshly copied snapshot from one backend to the other, avoiding recomputation.

Example
locations:
  my-location:
    from: /data
    to:
      - a #Fast
      - b #Fast
      - c #Slow

Becomes

locations:
  my-location:
    from: /data
    to:
      - a
      - b
    copy:
      a:
        - c

Instead of backing up to each backend separately, you can choose that the snapshot created to a will be copied over to c, avoiding heavy computation on c.