How to move repository?

JarnoP     Feb 14 2:32AM 2018 CLI

I had to move the location of the repository, but the backed up files stayed the same. Do I need to init a new repository at the new location or how does it work?


gchen    Feb 14 10:40AM 2018

Yes, init a new repository at the new location with the same repository id and the same storage url:

cd /path/to/new/repository
duplicacy init repository_id storage_url


JarnoP    Feb 14 9:44PM 2018

I actually just manually moved the .duplicacy file to the root of the new repository location and ran backuo. It seemed working after that. Do I still need to run the init command?


gchen    Feb 15 1:37PM 2018

That should be fine. Rerunning the init command would have the same effect.