upaded scripts for db backup/restore