Software Defined Networking
1753767 Members
5716 Online
108799 Solutions
New Discussion

Moving a SDN backup file to another location

 
Hosse
Occasional Visitor

Moving a SDN backup file to another location

for belowHello, 

i made a VAN controller 2.5 to generate a backup, and like to move it to another location for safekeeping,

but, repeatly failed it,  i knows the returned error code:400 means bad request, so i guess there is something wrong with my curl syntax,  so could you help to find what's the wrong on below my a curl command,

sdn@ubuntu:/opt/sdn/backup$ curl --noproxy 172.10.10.101 --header "X-Auth-Token:a03005688af9447fbe5c14fdff03c452" --fail -ksSfL --request GET --url "https://172.10.10.101:8443/sdn/v2.0/backup>\\172.10.10.102\c$sdn_controller_backup_172.10.10.101.zip"
curl: (22) The requested URL returned error: 400
sdn@ubuntu:/opt/sdn/backup$

and, also please let me know a sample upload curl command for below a command which is from administative guide;

curl --noproxy controller_ip -X POST --fail -ksSfL
--url "https://controller_ip:8443/sdn/v2.0/restore/backup"
-H "X-Auth-Token:auth_token" --data-binary @PatH-and-file-name.zip"

Thanks in advance.