@sulliwane this is not exactly the same problem. You should refer to issue #3 as @rfc2822 said in his last comment.
Allow editing of server URL
Creator last edited by rfc2822
@rfc2822 My case leading to data loss.
- VPS1 with owncloud (calendar+contacts).
- Smartphone, synchronized with VPS1
- Some new contacts and calendar events, not yet synchronized.
- VPS1 was removed.
- VPS2 was created (as clone of VPS2).
- Created new account ICSx⁵ and got duplicates.
- Removed old account.
- Not yet synchronized data was lost.
@Creator Do you mean ICSx⁵ or DAVx⁵? How can there be data loss with ICSx⁵, when it’s only in one direction?
For DAVx⁵: Yes, if you delete the account with unsynchronized data (data inserted on the client and sync was never run), these data are lost.
Creator last edited by Creator
Editing the server URL is not really possible, because internally this is a very complex matter and there are many possibilities for data loss because data has internally to be copied partially (only the unsynced data?) to a new calendar/address book. There are so many cases where this could result in chaos, so we probably will never add this feature. All you can do is create the second account, export unsynced data manually on the device from the first account and import it to the newly created second account. There are helper apps like ical Import/Export afaik.