I want to backup two directories (“two repositories”?), so I try:
duplicacy init -storage-name storage1 duplicacy-test1 R:/backup/duplicacy
which works, then I try:
duplicacy init -storage-name storage1 duplicacy-test2 R:/backup/duplicacy
Fails with:
ERROR REPOSITORY_INIT The repository C:\bin\duplicacy has already been initialized
This makes sense, I haven’t given a parameter for my backup location.
I find intuitive option for init -repository
. I try:
duplicacy init -repository test2 -storage-name storage1 duplicacy-test2 R:/backup/duplicacy
and I get:
The repository C:\bin\duplicacy has already been initialized
So now I see the .duplicacy
directory being created in “current working directory” despite the help duplicacy init --help
lying to me that the repository will be initialized at <path>
.
Deleting that lets me run a new init, which simply recreates .duplicacy
on additional attempts at init
, no matter what I specify for -repository
.
Then I find the -pref-dir
. Ohhhh, this must be the other, other initialization. Cool:
duplicacy init -pref-dir pref -repository tmp -storage-name storage-test2-name duplicacy-cli2 R:/external/duplicacy-cli2
The repository C:\bin\duplicacy has already been initialized
duplicacy init -pref-dir pref -repository tmp -storage-name storage-test2-name duplicacy-cli2 R:/external/duplicacy-cli2
The repository C:\bin\duplicacy has already been initialized
duplicacy init -pref-dir pref -repository tmp -storage-name storage-test2-name duplicacy-cli2 R:/external/duplicacy-cli2
The repository C:\bin\duplicacy has already been initialized
duplicacy init -pref-dir pref -repository tmp -storage-name storage-test2-name duplicacy-cli2 R:/external/duplicacy-cli2
The repository C:\bin\duplicacy has already been initialized
duplicacy init -pref-dir pref -repository tmp -storage-name storage-test2-name duplicacy-cli2 R:/external/duplicacy-cli2
The repository C:\bin\duplicacy has already been initialized
duplicacy init -pref-dir pref -repository tmp -storage-name storage-test2-name duplicacy-cli2 R:/external/duplicacy-cli2
The repository C:\bin\duplicacy has already been initialized
Oh, now there’s just a file named .duplicacy
in the “current working directory”. Nice.
I give up. Took me like, 4, 5 commands tops, with Borg…
Yikes.