As a backup, copy the .db and .log files for the database immediately before running ALTER DATABASE UPGRADE. Perform this backup before starting the server. Because ALTER DATABASE UPGRADE modifies only the catalog, a full backup is unnecessary.