Okay to rename storages in preferences file?

Can I just rename the storages in my preference file (making sure, of course, that exactly one is called “default”) or will this break something?

Yes, you can freely change the storage name in the preference file. And there doesn’t need to be one called “default”. The first one is the default one if no one is called “default”.

You may need to enter the password/credentials again as these are saved by the storage names (if not “default”). And also remember to remove the directory with the old storage name under .duplicacy/cache.

Excellentt!

You may need to enter the password/credentials again as these are saved by the storage names (if not “default”).

storage password is the same, because it’s technically the same storage (previously accessed via the pcloud app, now via webdav), so let’s see it it works (it’s a script running in the background, so if password entry is required, it will fail.

UPDATE: it failed. I had to run duplicacy manually to enter the storage password.

remember to remove the directory with the old storage name under .duplicacy/cache.

I new there’d be some pitfall. Thanks for pointing that out. I just changed the names of the folders in the cache folder, so that should work too, I suppose.

1 Like

The first one is the default one if no one is called “default”.

I cannot confirm this. Renaming the second one to default and the first one to something else did not work. Only when I moved the second one to the first position.

In case it matters: the path for the non-default (previously default) storage is currently not available. But it shouldn’t matter when I’m only using the default one.