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

Changing file storage settings should warn user in case of existing files #77

Closed
Lex-2008 opened this issue Jul 11, 2022 · 2 comments
Closed

Comments

@Lex-2008
Copy link

If you change storage settings (http://localhost:8090/_/#/settings/storage), already uploaded files become unavailable. I think it's unreasonable to attempt to copy all files to a new place, and generally this scenario is kinda unsupported - you're expected to set your storage settings before uploading files - but I believe that showing a big scary warning might be a good thing - like when you do some schema changes, UI reminds you that some linked changes might have to be changed elsewhere.

@gedw99
Copy link

gedw99 commented Jul 11, 2022

https://github.com/peak/s5cmd Supports mirroring content . Might be a useful thing for when a user changes the s3 endpoint.

You could easily move your file data to wherever as part of any change in settings.

@ganigeorgiev
Copy link
Member

A warning message and suggestions to use rclone or s5cmd was added in v0.2.4 release.

The warning should be visible only when you change the storage type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants