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

Multiple backends for snapshots #228

Open
dimitri-justeau opened this issue Aug 5, 2016 · 3 comments
Open

Multiple backends for snapshots #228

dimitri-justeau opened this issue Aug 5, 2016 · 3 comments

Comments

@dimitri-justeau
Copy link

The snapshot feature of django-sql-explorer is a very nice and convenient one. However, I think it would be even more convenient to have more options than Amazon S3, which is a non-open source commercial solution, to store and retrieve these snapshots. For instance, I would be happy to be able to schedule snapshots on the local filesystem, or send then in a self hosted storage server. I don't think it is a difficult feature to implement, what do you think? I'll try to do it myself if I have the time for it!

@chrisclark
Copy link
Owner

Definitely open to it and it's a great idea!

I don't think it would be super difficult, though I would call out that it would probably make the most sense to do it in a way that also allowed an alternative backend for the 'email' feature (see tasks._upload). Though I'm willing to look at and merge a pull request without that unified implementation.

@dimitri-justeau
Copy link
Author

Sorry to come back late, and thanks for the feedback! A unified implementation would be very nice, I'll try to start working on it as soon as I have time to :)

@Tatoo988
Copy link

Tatoo988 commented Oct 5, 2017

Sounds good. I actually adapted it to allow me to save each query on different buckets, also added a slug to create better names, and added the chance to send the files via FTP. It's really simple!

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

No branches or pull requests

3 participants