Remove/rename backup/snapshot ids

Add commands to rename and completely remove backup/snapshot ids. Currently, rename isn’t supported, and removing a backup/snapshot id with the CLI isn’t obvious and isn’t supported by the Web UI. (See Removing backup id from storage (Web GUI) and Remove backup id from web ui)

Two years later, was this ever addressed with in any upgrades?

With Duplicacy Web GUI, is it possible to:

  • Delete a backup/snapshot id?
  • Rename a backup/snapshot id?
1 Like

You can’t delete or rename a backup/snasphot id with the Web GUI or CLI. You’ll have to do it from the storage side.

To delete a backup id, remove the corresponding subdirectory under snapshots in the storage, then run duplicacy prune -exhaustive to collect all unreferenced chunks.

To rename a backup id, rename the corresponding subdirectory under snapshots in the storage. Note that this only works for an unencrypted storage. For encrypted storages renaming the subdirectory will break the encryption.

1 Like

Thank you, sir!

For encrypted storages renaming the subdirectory will break the encryption.

Could you elaborate on this? Break the encryption?

The path of a snapshot file (such as snapshots/backupid/1) is used to derive the encryption key for that snapshot file. So after you rename the backup id you won’t be able to decrypt the snapshot file and access the content.

1 Like