Interface BackupConsts
-
public interface BackupConsts
Constants for backup and restore.
-
-
Field Summary
Fields Modifier and Type Field Description static String
ALLOW_BACKUP_FILE_ANY_PATH_PROPERTY
If this property is not set, TC will not allowed to place backup archive outside of the default backup directory (but this functionaly doesn't follow symbolic links).static String
BACKUP_DOWNLOAD_URL_INFIX
Part of URL that specifies backup download context.static String
BACKUP_SETTINGS_FILE
static String
BUILD_LOG_6_FOLDER
static String
BUILD_LOG_9_FOLDER
static String
BUILD_LOG_9_INNER_PATH
Local path where build logas are located, relative to the build artifacts directory.static Charset
CHARSET_NAME_SAVING_CHARSET
Charset of file inside zip with used charset name.static String
CHARSET_NAME_SAVING_FILE_NAME
Name of file inside zip with used charset.static String
FIELD_DELIMITER
static int
FILE_COPYING_BUFFER_SIZE
static String
INTERM_FILE_NAME_SUFFIX
Additional file name suffix for backup file when it is not completed yet.static String
METADATA_PATH
Internal (inside zip) path where metadata files are placed.static String
METADATA_VERSION_FILE
Name of the metadata version file.static int
MINIMAL_VERSION_WE_CAN_BACKUP
Minimal version of database we can backup.static List<String>
MISCELANEOUS_SYSTEM_PATHS_TO_BACKUP_WITH_CONFIG
Additional files that should be exported with configuration.static String
TC_VERSIONS_FILE_NAME
Name of a file in the root of archive that will contain human readable version information.static String
TEAMCITY_MAINTENANCE_EXPORT_SKIP_REGISTRATION_PROPERTY
static String
TEAMCITY_MAINTENANCE_IMPORT_IGNORE_ERRORS_CREATE_INDICES
static String
TEAMCITY_MAINTENANCE_IMPORT_SKIP_CREATE_EMPTY_DATABASE
static String
TEAMCITY_MAINTENANCE_IMPORT_SKIP_CREATE_INDICES
static String
TEAMCITY_MAINTENANCE_IMPORT_SKIP_RESTORE_TABLES
static String
VERSION_FILE_NAME
Version file name and path inside an archive.static String
ZIPPED_TABLES_FOLDER_NAME
Name of the folder inside zip file where exported tables will be placed.
-
-
-
Field Detail
-
VERSION_FILE_NAME
static final String VERSION_FILE_NAME
Version file name and path inside an archive. The file type is a "property" file, that should contain a "version.nr" property with integer value of the DB version.- See Also:
- Constant Field Values
-
FILE_COPYING_BUFFER_SIZE
static final int FILE_COPYING_BUFFER_SIZE
- See Also:
- Constant Field Values
-
ZIPPED_TABLES_FOLDER_NAME
static final String ZIPPED_TABLES_FOLDER_NAME
Name of the folder inside zip file where exported tables will be placed.- See Also:
- Constant Field Values
-
FIELD_DELIMITER
static final String FIELD_DELIMITER
- See Also:
- Constant Field Values
-
BACKUP_SETTINGS_FILE
static final String BACKUP_SETTINGS_FILE
- See Also:
- Constant Field Values
-
TC_VERSIONS_FILE_NAME
static final String TC_VERSIONS_FILE_NAME
Name of a file in the root of archive that will contain human readable version information.- See Also:
- Constant Field Values
-
CHARSET_NAME_SAVING_FILE_NAME
static final String CHARSET_NAME_SAVING_FILE_NAME
Name of file inside zip with used charset. Backup processor allows a user to specify in which charset he/she want to perform backup. The selected charset name will be saved into a file inside the backup zip, to allow restore utility to get know in which charset text files should be red. This is a file name (with relative path) inside zip.- See Also:
CHARSET_NAME_SAVING_CHARSET
, Constant Field Values
-
CHARSET_NAME_SAVING_CHARSET
static final Charset CHARSET_NAME_SAVING_CHARSET
Charset of file inside zip with used charset name. Backup processor allows a user to specify in which charset he/she want to perform backup. The selected charset name will be saved into a file inside the backup zip, to allow restore utility to get know in which charset text files should be red. This is a character set in with this file is written.- See Also:
CHARSET_NAME_SAVING_FILE_NAME
-
METADATA_PATH
static final String METADATA_PATH
Internal (inside zip) path where metadata files are placed.- See Also:
- Constant Field Values
-
METADATA_VERSION_FILE
static final String METADATA_VERSION_FILE
Name of the metadata version file.- See Also:
- Constant Field Values
-
INTERM_FILE_NAME_SUFFIX
static final String INTERM_FILE_NAME_SUFFIX
Additional file name suffix for backup file when it is not completed yet. This suffix should be removed when backup is completed.Note: must be in lower case.
- See Also:
- Constant Field Values
-
BACKUP_DOWNLOAD_URL_INFIX
static final String BACKUP_DOWNLOAD_URL_INFIX
Part of URL that specifies backup download context.- See Also:
- Constant Field Values
-
MISCELANEOUS_SYSTEM_PATHS_TO_BACKUP_WITH_CONFIG
static final List<String> MISCELANEOUS_SYSTEM_PATHS_TO_BACKUP_WITH_CONFIG
Additional files that should be exported with configuration. Each entry can be a path to a file or a directory relative to the SYSTEM directory. Use only unix slashes. For directories, the last character must be a slash.
-
MINIMAL_VERSION_WE_CAN_BACKUP
static final int MINIMAL_VERSION_WE_CAN_BACKUP
Minimal version of database we can backup. Since this version, TeamCity database contains metadata that are used to determine backup structure.- See Also:
- Constant Field Values
-
BUILD_LOG_6_FOLDER
static final String BUILD_LOG_6_FOLDER
- See Also:
- Constant Field Values
-
BUILD_LOG_9_FOLDER
static final String BUILD_LOG_9_FOLDER
- See Also:
- Constant Field Values
-
BUILD_LOG_9_INNER_PATH
static final String BUILD_LOG_9_INNER_PATH
Local path where build logas are located, relative to the build artifacts directory. The path contains '/' separators, DO NOT replace it with File.separator here.- Since:
- 9.0.2
- See Also:
- Constant Field Values
-
ALLOW_BACKUP_FILE_ANY_PATH_PROPERTY
static final String ALLOW_BACKUP_FILE_ANY_PATH_PROPERTY
If this property is not set, TC will not allowed to place backup archive outside of the default backup directory (but this functionaly doesn't follow symbolic links). If the property is set, no restrictions. Implemented because it was asked in TW-17760.- Since:
- 9.0
- See Also:
- Constant Field Values
-
TEAMCITY_MAINTENANCE_EXPORT_SKIP_REGISTRATION_PROPERTY
static final String TEAMCITY_MAINTENANCE_EXPORT_SKIP_REGISTRATION_PROPERTY
- See Also:
- Constant Field Values
-
TEAMCITY_MAINTENANCE_IMPORT_SKIP_CREATE_EMPTY_DATABASE
static final String TEAMCITY_MAINTENANCE_IMPORT_SKIP_CREATE_EMPTY_DATABASE
- See Also:
- Constant Field Values
-
TEAMCITY_MAINTENANCE_IMPORT_SKIP_RESTORE_TABLES
static final String TEAMCITY_MAINTENANCE_IMPORT_SKIP_RESTORE_TABLES
- See Also:
- Constant Field Values
-
TEAMCITY_MAINTENANCE_IMPORT_SKIP_CREATE_INDICES
static final String TEAMCITY_MAINTENANCE_IMPORT_SKIP_CREATE_INDICES
- See Also:
- Constant Field Values
-
TEAMCITY_MAINTENANCE_IMPORT_IGNORE_ERRORS_CREATE_INDICES
static final String TEAMCITY_MAINTENANCE_IMPORT_IGNORE_ERRORS_CREATE_INDICES
- See Also:
- Constant Field Values
-
-