Interface BackupCreator
public interface BackupCreator
Copies config files and dumps the database before an upgrade rewrites anything.
-
Method Summary
Modifier and TypeMethodDescriptionvoidCopies one file into the backup folder for the version being upgraded from.voidbackup(String preInitVersion, Config.Database database) Dumps the database into the backup folder, using whichever tool the database type needs.
-
Method Details
-
backup
-
backup
Dumps the database into the backup folder, using whichever tool the database type needs.- Parameters:
preInitVersion- the version the files were written bydatabase- the database settings
-