# Configure multiple repositories

**URL:** <https://kopia.discourse.group/t/configure-multiple-repositories/1194>\
**Category:** Feature Requests\
**Created:** [June 7, 2022, 12:30am UTC](https://kopia.discourse.group/t/configure-multiple-repositories/1194 "2022-06-07T00:30:09Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![basldfalksjdf](https://avatars.discourse-cdn.com/v4/letter/b/ce73a5/32.png) [@basldfalksjdf](https://kopia.discourse.group/u/basldfalksjdf)\
**Post date:** [June 7, 2022, 12:36am UTC](https://kopia.discourse.group/t/configure-multiple-repositories/1194/2 "2022-06-07T00:36:57Z")

</div>

This is exactly what `sync-to` is designed to do. The repo you setup in Kopia is your “main” repo and `sync-to` then copies all files from your main repo to whatever secondary repos you want. You can use `sync-to` with as many secondary repos that you want. Using `--delete` ensures all secondary repos stay 100% in sync with your main repo. If you don’t use `--delete` then secondary repos will retain blobs that the main repo has deleted already.

If you use KopiaUI, see [https://kopia.discourse.group/t/how-to-automatically-sync-snapshots-to-multiple-repositories-with-kopiaui/](https://kopia.discourse.group/t/how-to-automatically-sync-snapshots-to-multiple-repositories-with-kopiaui/)

---

_[View the full topic](https://kopia.discourse.group/t/configure-multiple-repositories/1194)._
