This sounds great, Josh. Just the kind of thing that I would find very useful. Thanks for putting it together.
On Thursday, 9 January 2014 13:58:33 UTC-8, Josh Cartmell wrote: > > I've had a couple of clients recently asking me about back up strategies. > There are lots of viable and good backup strategies out there and the > fabfile included with Mezzanine does some backing up as well. > > That in mind there is still something about an admin being able to backup > a site at any time that can give some people peace of mind. To that end I > created https://bitbucket.org/joshcartme/mezzanine-admin-backup. It adds > /admin/backup/ which will create and respond with a zip file containing the > site's current media library and a dump/copy of the database. > > It's probably still rough around the edges and has some caveats: > > - I'm fairly certain it will only work with media libraries on the > local filesystem (I'm not super up on the Django storages so I'm not sure > how hard this would be to generalize) > - Likewise it currently only works with databses on the local > filesystem (this may be pretty easy to change) > - I don't have a postgres powered site around to test it on so > although I think it will properly dump a postgres database, I'm not 100% > certain about that > > If anyone thinks it's useful and wants to play with it and > fork/improve/test/whatever that would be great. If there is any interest > in merging this into Mezzanine that would be great or it works just fine > standalone as well. > > In case you missed it the repo is, > https://bitbucket.org/joshcartme/mezzanine-admin-backup > > Thanks, > Josh > -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
