RobotStudio event

S4Backup [WebWare Server]

I have a problem.

What shoul I do to have this backup done in my pc ?

I wonder if someone could help me with the backup method.

When I use something like this :

dia = Format(Date, "ddmmyy")
   
    NombreFichero = dia
    status = FrmBG.robotHelper.S4Backup(NombreFichero, 3, resultid)
   
    If status <> 0 Then    ' did the function work?
        Error_msg status, ""
        Exit Sub
    End If

then I get the error -5108 General error for log

I want to use s4backup method only works on the local memory device and then to be copied in PC. What happen?

Comments

  • Hi,

    it looks like that your path given in the dia variable is not correct.

    You have to submit a complete path to the command (like "hd0a20051022"), and additionally this path has to be created via the S4MakeDir("hd0a","20051022",3,resid) command before.

    Try this, and it should work if all is programmed correctly...image

    Regrds

    Thomas