Home Forums ActiveX components Other ActiveX components How do I change drive letters when restoring a backup?

Viewing 1 post (of 1 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #43163 |

    You need to update the Catalog file to reflect the new directory. You need to use the RecreateCatalogs method and update your catalog on a new directory. The extra code you need to setup would look like the following (in VB):

    Dim xResultCode As bkpError

    ‘ — Original Catalog Directory —
    XceedBackup1.CatalogFolder = “D:\Backup\Catalogs”

    ‘ — New Catalog and Directory —
    xResultCode = XceedBackup1.RecreateCatalogs(“Example backups”, “D:\Backup”)

    If xResultCode = 0 Then
       MsgBox “Your catalogs were recreated successfully.”
    Else
       MsgBox “Error recreating catalogs. Error description: (” & Str(xResultCode) & “) ” &    XceedBackup1.GetErrorDescription(bvtError, xResultCode)
       Exit Sub
    End If
     

    Imported from legacy forums. Posted by Xceed admin (had 1641 views)

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.