class BackupManager
<init> |
BackupManager(aem: AemExtension) |
any |
Backup file from any source (local & remote sources). val any: File? |
downloadUrl |
URL to remote backup file. val downloadUrl: Property<String!>! |
local |
Backup file from local source. val local: File? |
localDir |
Directory storing locally created backup files. val localDir: DirectoryProperty! |
namedFile |
Get newly created file basing on namer rule. val namedFile: File |
remote |
Backup file from remote source. val remote: File? |
remoteDir |
Directory storing downloaded remote backup files. val remoteDir: DirectoryProperty! |
suffix |
File suffix indicating instance backup file. val suffix: Property<String!>! |
uploadUrl |
URL to remote directory in which backup files are stored. val uploadUrl: Property<String!>! |
create |
fun create(instances: Collection<LocalInstance>): Filefun create(file: File, instances: Collection<LocalInstance>): Unit |
namer |
Defines backup file naming rule. Must be in sync with selector rule. fun namer(provider: () -> String): Unit |
restore |
fun restore(backupZip: File, rootDir: File, instances: Collection<LocalInstance>): Unit |
selector |
Defines backup source selection rule. fun selector(selector: Collection<BackupSource>.() -> BackupSource?): Unit |
upload |
fun upload(backupZip: File, verbose: Boolean): Boolean |
OUTPUT_DIR |
const val OUTPUT_DIR: String |
SUFFIX_DEFAULT |
const val SUFFIX_DEFAULT: String |