Added repository support. Added a db backup