Add option to not remove existing Subs when importing #34

Closed
opened 1 year ago by Jonny007-MKD · 3 comments

I just imported my backup and was surprised that my existing Subs were overwritten right away. Actually that was what I wanted, but I think generally it is one tap too close to losing data when (accidentally) importing an old backup.

At least I'd suggest a popup explaining the consequences before importing.

Additionally one could implement a question whether the existing Subs should be removed or merged with the imported ones.

I just imported my backup and was surprised that my existing Subs were overwritten right away. Actually that was what I wanted, but I think generally it is one tap too close to losing data when (accidentally) importing an old backup. At least I'd suggest a popup explaining the consequences before importing. Additionally one could implement a question whether the existing Subs should be removed or merged with the imported ones.
epinez added this to the v1.1 milestone 1 year ago
Owner

Some preparations in b9ac929da8

Will introduce the following options in the restore dialog:

  1. Replace current subscriptions with backup
  2. Merge current subscriptions and backup
  3. Cancel

Concerning the second, I think I will switch again from counted up ids (1, 2, ...) to uuids, introduce last edited date property for each subscription and then keep the subscription with the same id and newer last edited date. Of course, this would be explained in the alert box.

Some preparations in b9ac929da8 Will introduce the following options in the restore dialog: 1. Replace current subscriptions with backup 2. Merge current subscriptions and backup 3. Cancel Concerning the second, I think I will switch again from counted up ids (1, 2, ...) to uuids, introduce last edited date property for each subscription and then keep the subscription with the same id and newer last edited date. Of course, this would be explained in the alert box.
epinez self-assigned this 11 months ago
epinez closed this issue 11 months ago
epinez reopened this issue 11 months ago
Owner

Last edited and created property for subscriptions implemented with 80185cc940

Last edited and created property for subscriptions implemented with 80185cc940
Owner

ids of subscriptions are now max 12 char long pseudo random numbers with f4f4440751, which is nicer for auto-merging subscriptions from a backup.

ToDo

  • Merging support within the storage service - ab0492e6f0
  • Implement restore options as mentioned earlier - 675d9945d1
ids of subscriptions are now max 12 char long pseudo random numbers with f4f4440751, which is nicer for auto-merging subscriptions from a backup. ### ToDo - [X] Merging support within the storage service - ab0492e6f0 - [X] Implement restore options as mentioned earlier - 675d9945d1
epinez closed this issue 11 months ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.