Can the rest server point to multiple repositories

rest-server --path /user/home/backup --no-auth

currently this command creates a single repo at the location. Can I create two repos and access them using the same path?? As in C:/ repo1 and C:/ repo2

You can create sub-directories in the path that contain your sub-repos and then backup towards those:

restic -r rest:http://user:pass@hostname:8000/reponame/ backup /path

1 Like

There’s also the --private-repo option, which together with authenticated users, can be used to restrict the access of each user to its own subdirectory.


Hey thanks soo much! This solved my problem.

Right. Once i create a rest server pointing to multiple repos using the same path, I might want to pass this option to further secure it. Thanks!