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
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 798 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings