cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
256
Views
4
Helpful
4
Replies
Highlighted
Beginner

backup/grapevine api

Hello,

I couldn't find api for backup in swagger. Assuming this is part of grapevine which isn't described yet?

Where I could find API specification for creation and downloading backups?

Thanks

Misha

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Cisco Employee

Hi Misha,

good question.  There is a longer historical answer, but it has not been documented (can you make a wish for this).

There was a script we published to show how to use these API.  This example uses port 14141 (which is part of the historical answer), which i think is turned off in 1.5, so you would need to use port 443 and https://{{apic}}/grapevine/api/backup/info

This is the older version of the script which has the API endpoints (that need to change)

uniq/retrieve_backup.sh at master · CiscoDevNet/uniq · GitHub

Let me know if you need more information.

Adam

View solution in original post

4 REPLIES 4
Highlighted
Cisco Employee

Hi Misha,

good question.  There is a longer historical answer, but it has not been documented (can you make a wish for this).

There was a script we published to show how to use these API.  This example uses port 14141 (which is part of the historical answer), which i think is turned off in 1.5, so you would need to use port 443 and https://{{apic}}/grapevine/api/backup/info

This is the older version of the script which has the API endpoints (that need to change)

uniq/retrieve_backup.sh at master · CiscoDevNet/uniq · GitHub

Let me know if you need more information.

Adam

View solution in original post

Highlighted
Cisco Employee

Adding to Adam's reply, I run the following POST which successfully triggered a backup procedure:

https://[APIC]/grapevine/api/backup

You can also run the following GET command to retrieve the backup jobs info:

https://[APIC]/grapevine/api/backup/info

Hope it helps.

Highlighted
Beginner

Thanks Adam and Yosef

I as able to create backup with calling grapevine/api/backup.

Highlighted

excellent.  thanks for letting us know.

Let us know if you have more questions.

Adam