fixing support owncloud
fix database dump script