cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
870
Views
4
Helpful
4
Replies

backup/grapevine api

m.volodko
Level 1
Level 1

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

aradford
Cisco Employee
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

aradford
Cisco Employee
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

ymeloch
Cisco Employee
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.

m.volodko
Level 1
Level 1

Thanks Adam and Yosef

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

excellent.  thanks for letting us know.

Let us know if you have more questions.

Adam