Web Services Backup Restore

Gary_Rice
United Kngdom ✭
Hello,
I am trying to backup and restore (in this case a virtual robot) via web services.
Using postman I can backup the controller using the following URL
http://localhost/ctrl/backup?action=backup
Then if I gain mastership using
http://localhost/rw/mastership?action=request
And do a restore immediately with
http://localhost/ctrl/backup?action=restore
It works but for some reason if I don't for example do the backup first It fails and I get a 400 bad request.
Any Idea?
Thanks in advance
Gary
I am trying to backup and restore (in this case a virtual robot) via web services.
Using postman I can backup the controller using the following URL
http://localhost/ctrl/backup?action=backup
Then if I gain mastership using
http://localhost/rw/mastership?action=request
And do a restore immediately with
http://localhost/ctrl/backup?action=restore
It works but for some reason if I don't for example do the backup first It fails and I get a 400 bad request.
Any Idea?
Thanks in advance
Gary
0
Answers
-
In actual fact I have discovered that the backup gets deleted after a restore...There is a parameter in the body of the request to not delete after restore and this works now.
- delete-dir = {true | false} Indicate whether the backup directory should be deleted after the restore is finished. Defaults to true
0
Categories
- 10.3K All Categories
- 5.2K RobotStudio
- 341 UpFeed
- 13 Tutorials
- 6 RobotApps
- 281 PowerPacs
- 404 RobotStudio S4
- 1.7K Developer Tools
- 236 ScreenMaker
- 2.6K Robot Controller
- 238 IRC5
- 34 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 678 RAPID Programming
- 14 Wizard Easy Programming
- 100 Collaborative Robots
- 3 Job listings