added possibility to backup database to specified file - not finished yet