diff --git a/ncm-backup/README.md b/ncm-backup/README.md new file mode 100644 index 0000000..b5250a5 --- /dev/null +++ b/ncm-backup/README.md @@ -0,0 +1,5 @@ +# NCM backup using ssh action + +Refer to screenshot for more info. + +Edit credentials and command as per requirement. \ No newline at end of file diff --git a/ncm-backup/ncm-backup-playbook.png b/ncm-backup/ncm-backup-playbook.png new file mode 100644 index 0000000..2dd2c96 Binary files /dev/null and b/ncm-backup/ncm-backup-playbook.png differ diff --git a/ncm-backup/ncm-backup.pbk b/ncm-backup/ncm-backup.pbk new file mode 100644 index 0000000..2bb7904 --- /dev/null +++ b/ncm-backup/ncm-backup.pbk @@ -0,0 +1 @@ +{"pcVersion":"master","pcUuid":"695ec728-5bb8-42b6-88dc-3742a1216607","hashValue":"n9ZW+tuNhCm6GUkQyWMDeFFfKiBdXt8edhPJitT8FVo=","actionRuleList":[{"uuid":"4c24000a-a5af-4b3d-4cb8-0b12958e143a","name":"ncm-backup","isEnabled":true,"validated":true,"triggerList":[{"uuid":"d0b1abac-bda7-436c-926f-be89f2a4f6e7","triggerType":{"type":"trigger_type","uuid":"","name":"time_trigger"},"displayName":"Time","inputParameterList":[{"name":"recurrence","value":"hourly"},{"name":"occurrence","value":"recurring"},{"name":"hour_multiplier","value":"1"},{"name":"start_time","value":"T13:00:00+05:30"},{"name":"start_date","value":"2024-04-23"}]}],"actionList":[{"uuid":"1bf97b35-3477-44ae-a3e9-c7a55b615e32","actionType":{"type":"action_type","uuid":"","name":"ssh_using_ipaddr"},"displayName":"IP Address SSH","inputParameterList":[{"name":"ssh_command","value":"/home/nutanix/bin/ncm/ncm-backup-cli backup --location-type=\"\u003clocation-id\u003e\""},{"name":"auth_mechanism","value":"password"},{"name":"ip_addr","value":"192.168.1.1"},{"name":"username","value":"admin"},{"name":"password","value":""},{"name":"allow_on_cvm","value":"false"}],"maxRetries":2}],"isPrepackaged":false,"checkTriggerValidity":true,"ruleType":"kXPlay"}]} \ No newline at end of file