@Path(value="/dataprotect")
public interface IDataProtect
| Modifier and Type | Method and Description |
|---|---|
TaskRef |
forget(int generationId)
Removes protected data
|
java.util.List<DataProtectGeneration> |
getAvailableGenerations()
Returns all protected generations, ordered from oldest to most recent
|
TaskRef |
getContent(java.lang.String partGenerationId)
Loads an index of protected datas with possible restore actions.
|
java.util.List<RestoreOperation> |
getRestoreCapabilities()
Returns infos about the restore operations that the core provides
|
java.util.List<RestoreOperation> |
getRestoreCapabilitiesByTags(java.util.List<java.lang.String> tags)
* Returns infos about the restore operations that the core provides
(filtered by tags)
|
RetentionPolicy |
getRetentionPolicy()
Returns the
RetentionPolicy used for backup automatic removals. |
TaskRef |
installFromGeneration(int generationId)
Populates a blue mind database using protected data from a given
generation.
|
TaskRef |
run(RestoreDefinition restoreDefinition)
Executes a restore operation on the given
Restorable item using
data from a DataProtectGeneration |
TaskRef |
saveAll()
Run the incremental dataprotect backup process
|
void |
syncWithFilesystem()
Re-creates the in-database metadata using the generations.xml index from
the data protect spool on the filesystem.
|
void |
updatePolicy(RetentionPolicy rp)
creates or updates the
RetentionPolicy. |
@GET @Path(value="generations") java.util.List<DataProtectGeneration> getAvailableGenerations() throws ServerFault
ServerFault@POST
@Path(value="_content/{partGen}")
TaskRef getContent(@PathParam(value="partGen")
java.lang.String partGenerationId)
throws ServerFault
dpg - GenerationContent XML from TaskStatus resultServerFault@GET @Path(value="restore/_capabilities") java.util.List<RestoreOperation> getRestoreCapabilities() throws ServerFault
token - ServerFault@GET @Path(value="restore/_capabilities_by_tags") java.util.List<RestoreOperation> getRestoreCapabilitiesByTags(java.util.List<java.lang.String> tags) throws ServerFault
tags - ServerFault@POST @Path(value="restore") TaskRef run(RestoreDefinition restoreDefinition) throws ServerFault
Restorable item using
data from a DataProtectGenerationrestoreDefinition - ServerFault@DELETE @Path(value="generations") TaskRef forget(@QueryParam(value="generationId") int generationId) throws ServerFault
dpg - ServerFault@GET @Path(value="policy") RetentionPolicy getRetentionPolicy() throws ServerFault
RetentionPolicy used for backup automatic removals.
Never returns null.ServerFault@POST @Path(value="policy") void updatePolicy(RetentionPolicy rp) throws ServerFault
RetentionPolicy.rp - ServerFault@POST
@Path(value="_syncfs")
void syncWithFilesystem()
throws ServerFault
ServerFault@POST @Path(value="_install") TaskRef installFromGeneration(@QueryParam(value="generationId") int generationId) throws ServerFault
at - generationId - ServerFault@POST @Path(value="_backup") TaskRef saveAll() throws ServerFault
ServerFaultCopyright © 2023. All Rights Reserved.