django-sql-explorer
django-sql-explorer copied to clipboard
Multiple backends for snapshots
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!
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.
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 :)
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!