I’ve written a simple script to create a tar archive of pod’s data: DB dump,
public/uploads folder and
I think that it won’t harm to include it into diaspora source repository (e.g.
script folder) so that podmins might make use of it and didn’t have to write their backup scripts on their own. Also if it is in the repo, diaspora maintainers/contributors can control that the script doesn’t contain anything harmful, any dramatic mistakes (like
rm -rf /) and is up-to-date with the diaspora* version.
Also the script supports PostgreSQL only for now, but can easily be extended to support MySQL as well.
If this post gets enough approval, I’ll create a PR on diaspora*.