Working backup/restore functionality. Table truncations cascade
Fixed bug with checking if database already exists