Replication packages (IRPCReplicationPackages)
Lists and deletes the content replication packages that wait in cloud storage for import into the vault.
Use this interface to list and remove replication packages.
| gRPC service | MFiles.IRPCReplicationPackages |
|---|---|
| Book and level | Server integration API, specialized |
| Methods | 2 |
| Proto file | mfiles/IRPCReplicationPackages.proto |
Overview
For M-Files components only. M-Files Admin calls this service from the Manage Replication dialog of a content export or import job that uses replication via cloud storage. Applications should not call it.
- Session and rights: a vault session with the vault right
change_full_control_role(the vault role full control, or a system administrator withfull_control_of_vaults). - Connection string: both methods take the connection string of the cloud storage location in the form M-Files Admin composes it from the job's replication settings (storage connection string, folder name and encryption password). The server uses it to open the storage; it does not read it from the vault.
- Typical order: GetReplicationPackages to list the waiting packages, then DeleteReplicationPackages to remove the ones that should not be imported.
Methods
| Method | Summary | Facts |
|---|---|---|
| DeleteReplicationPackages | Deletes replication packages from the given cloud storage location. | internal: not for applications write session idempotent |
| GetReplicationPackages | Lists the replication packages in the given cloud storage location that this vault has not imported yet. | internal: not for applications read session idempotent |