- “Repository” key defines a directory that is to be used as repository; useful if you want to initialize a repository somewhere else, as opposed to in the current directory
- Right.
- “storage” in preferences json is connection string to the storage. s3 URL, or path to a netwrok drive. Application refers to it by “name”, unless the name is "default’, in which case it can be omitted. This name is only meaninfgul in this preferences file.
- Backup job only exists in the context of web uil.
- By definitlion, yes, it backs up one repository to one storage with one snaphsot id (which is the value with key “id” in that file)
- No, backup job sends one repositoru to one destination as one snapshotID
- Yes
Right, the add command wants you to pick snapshot id:
NAME:
duplicacy add - Add an additional storage to be used for the existing repository
USAGE:
duplicacy add [command options] <storage name> <snapshot id> <storage url>
Maybe. But since your storage is encrypted, you cannot change its snapshot ID. So your options are only use the same, even though its meaing as read by a human would be misleading, or use different one, and lose benefits of copying the version histories between storages. You can still copy most of the data, and it will be deduplciated, so you will have separate histories – which is actually preferrable, to avoid three way copy confusion. If you backup to both from the same machine – you dont’ really need to copy between storages to begin with, so you can use diffent snapshot IDs.
Repository ID (i.le. “name” in the preferences file) is only used to refer to this blob of data when you tell duplciacy do do somthing. For example,. backup command needs -storage <storage name>
-storage <storage name> backup to the specified storage instead of the default one
You can name it whatever you want, and use that whatever in your commands, Or name is “defautl” and omit -storage parameter. It is not use anywhere else.
Only snapshot ID is embedded into chunks, everythign else is only meaninfull locadlly.
No. I would create the storage on another provider with the same snapshot ID and not worry about what it says. it’s just a string. My snapshot IDs are “a”, “b”, “c”… because they are meaningless, and I can’t be arseed to come up with meaninful names.