public interface IBackupWorker
| Modifier and Type | Method and Description | 
|---|---|
void | 
cleanup(IDPContext ctx,
       PartGeneration part,
       java.util.Map<java.lang.String,java.lang.Object> params)  | 
void | 
dataDirsSaved(IDPContext ctx,
             java.lang.String tag,
             ItemValue<Server> backedUp)
This gets called once the data is saved with rsync. 
 | 
java.util.Set<java.lang.String> | 
getDataDirs()
This is called after  
prepareDataDirs. | 
void | 
prepareDataDirs(IDPContext ctx,
               java.lang.String tag,
               ItemValue<Server> toBackup)
This is called before the backup starts. 
 | 
void | 
restore(IDPContext ctx,
       PartGeneration part,
       java.util.Map<java.lang.String,java.lang.Object> params)  | 
boolean | 
supportsTag(java.lang.String tag)  | 
boolean supportsTag(java.lang.String tag)
void prepareDataDirs(IDPContext ctx, java.lang.String tag, ItemValue<Server> toBackup) throws ServerFault
ctx - tag - toBackup - ServerFaultjava.util.Set<java.lang.String> getDataDirs()
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.void dataDirsSaved(IDPContext ctx, java.lang.String tag, ItemValue<Server> backedUp) throws ServerFault
ctx - tag - backedUp - ServerFaultvoid restore(IDPContext ctx, PartGeneration part, java.util.Map<java.lang.String,java.lang.Object> params) throws ServerFault
ServerFaultvoid cleanup(IDPContext ctx, PartGeneration part, java.util.Map<java.lang.String,java.lang.Object> params) throws ServerFault
ServerFaultCopyright © 2021. All Rights Reserved.