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.6K RobotStudio
 - 401 UpFeed
 - 21 Tutorials
 - 15 RobotApps
 - 306 PowerPacs
 - 407 RobotStudio S4
 - 1.8K Developer Tools
 - 250 ScreenMaker
 - 2.9K Robot Controller
 - 363 IRC5
 - 81 OmniCore
 - 8 RCS (Realistic Controller Simulation)
 - 853 RAPID Programming
 - 31 AppStudio
 - 4 RobotStudio AR Viewer
 - 19 Wizard Easy Programming
 - 110 Collaborative Robots
 - 5 Job listings