@ Nonnull public final ESuccess createBackup ( @ Nonnull final File fDestFile ) { ValueEnforcer . notNull ( fDestFile , "DestFile" ) ; LOGGER . info ( "Backing up database '" + getDatabaseName ( ) + "' to " + fDestFile ) ; final DBExecutor aExecutor = new DBExecutor ( this ) ; return aExecutor . executeStatement ( "BACKUP TO '" + fDestFile . getAbsolutePath ( ) + "'" ) ; }
Create a backup file . The file is a ZIP file .