public class CyrusSdsWorker extends DefaultWorker
logger
Constructor and Description |
---|
CyrusSdsWorker() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.String> |
getDataDirs()
This is called after
prepareDataDirs . |
java.lang.String |
getDataType() |
void |
prepareDataDirs(IDPContext ctx,
java.lang.String tag,
ItemValue<Server> toBackup)
This is called before the backup starts.
|
boolean |
supportsTag(java.lang.String tag) |
cleanup, dataDirsSaved, restore
public boolean supportsTag(java.lang.String tag)
supportsTag
in interface IBackupWorker
supportsTag
in class DefaultWorker
public java.lang.String getDataType()
public void prepareDataDirs(IDPContext ctx, java.lang.String tag, ItemValue<Server> toBackup) throws ServerFault
IBackupWorker
prepareDataDirs
in interface IBackupWorker
prepareDataDirs
in class DefaultWorker
ServerFault
public java.util.Set<java.lang.String> getDataDirs()
IBackupWorker
prepareDataDirs
. Rsync will be used to
save those dirs. Symlinks are handled by the dataprotect code, so you
don't need special code here to check if the dir war symlinked elsewhere.getDataDirs
in interface IBackupWorker
getDataDirs
in class DefaultWorker
Copyright © 2021. All Rights Reserved.