public class CyrusWorker extends DefaultWorker
logger
Constructor and Description |
---|
CyrusWorker() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.String> |
getDataDirs()
This is called after
prepareDataDirs . |
java.lang.String |
getDataType() |
void |
restore(IDPContext ctx,
PartGeneration part,
java.util.Map<java.lang.String,java.lang.Object> params) |
boolean |
supportsTag(java.lang.String tag) |
cleanup, dataDirsSaved, prepareDataDirs
public boolean supportsTag(java.lang.String tag)
supportsTag
in interface IBackupWorker
supportsTag
in class DefaultWorker
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
public void restore(IDPContext ctx, PartGeneration part, java.util.Map<java.lang.String,java.lang.Object> params) throws ServerFault
restore
in interface IBackupWorker
restore
in class DefaultWorker
ServerFault
public java.lang.String getDataType()
Copyright © 2021. All Rights Reserved.