Web Services Backup Restore
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
- All Categories
- 5.5K RobotStudio
- 392 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 307 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 779 RAPID Programming
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings