create functions for db backup
Add check for search-replace script