Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow user to choose whether data is overwritten when importing over an existing user #60

Open
Pytal opened this issue Mar 17, 2022 · 3 comments
Labels
0. Needs triage Pending approval or rejection enhancement New feature request

Comments

@Pytal
Copy link
Member

Pytal commented Mar 17, 2022

Currently all data is overwritten, a user should be able to choose per data interactively whether to overwrite and also be given a flag for non-interactive mode e.g. --overwrite=true

@Pytal Pytal added 0. Needs triage Pending approval or rejection enhancement New feature request labels Mar 17, 2022
@PVince81
Copy link
Member

we have a prompt already, but the CLI option is missing

@kubuntu-newbie
Copy link

I don't see the prompt in the web UI (Nextcloud 29.0.4, User Migration 6.0.0)

Currently, data appears to be merged, old files remain and new files are added, no option to remove old files that don't exist in the export file and keep only files from the user.nextcloud_export.
Calendars with the same names are created instead of overwriting old calendars that have the same name.
My use case is use User Migration as a backup or to synchronize 2 Nextcloud servers so when I restore the export file, I'd like to see old files/calendars etc removed and replaced with the files/calendars from the export file.

Would be great if there was an option in Web UI to choose to merge or overwrite.

@Pytal
Copy link
Member Author

Pytal commented Aug 21, 2024

we have a prompt already, but the CLI option is missing

I do not recall what prompt this was referring to 🙈

@kubuntu-newbie this functionality is currently not present via web or cli, whether data is overwritten is determined by the migrator implementation

We will consider this feature going forward

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending approval or rejection enhancement New feature request
Projects
None yet
Development

No branches or pull requests

3 participants