How to backup a database and install it