on_demand_snapshot
Initiate an on-demand snapshot.
Arguments
Name | Type | Description | Choices |
object_name | str | The name of the Rubrik object to take a on-demand snapshot of. | |
object_type | str | The Rubrik object type you want to backup. | vmware, physical_host, ahv |
Keyword Arguments
Name | Type | Description | Choices | Default |
sla_name | str | The SLA Domain name you want to assign the on-demand snapshot to. By default, the currently assigned SLA Domain will be used. | current | |
fileset | str | The name of the Fileset you wish to backup. Only required when taking a on-demand snapshot of a physical host or share. | None | |
host_os | str | The operating system for the physical host. Only required when taking a on-demand snapshot of a physical host. | Linux, Windows | None |
sql_host | str | The name of the SQL Host hosting the specified database. Only required when taking a on-demand snapshot of a MSSQL DB. | None | None |
sql_instance | str | The name of the SQL Instance hosting the specified database. Only required when taking a on-demand snapshot of a MSSQL DB. | None | None |
sql_db | str | TThe name of the SQL DB. Only required when taking a on-demand snapshot of a MSSQL DB. | None | None |
hostname | str | Required when the | None | None |
force_full | bool | If True will force a new full image backup of an Oracle database. Used when the object_type is oracle_db | True, False | False |
share_type | str | The type of NAS share i.e. NFS or SMB. Only required when taking a snapshot of a Share. | NFS or SMB | False |
timeout | int | The number of seconds to wait to establish a connection the Rubrik cluster before returning a timeout error. | 15 |
Returns
Type | Return Value |
tuple | When object_type is vmware, the full API response for |
tuple | When object_type is physical_host, the full API response for |
Example
VMware
AHV
Physical Host
MSSQL DB
Oracle DB
NAS Share
Last updated