Script to periodically dump MySQL, PostgreSQL or Mnesia databases