backup database python scripts