Welcome to the Xceed Community | Help
Community Search  
More Search Options

How can I get the full backup set name of the backup set?

Sort Posts: Previous Next
  •  10-10-2008, 10:40 AM Post no. 28515

    How can I get the full backup set name of the backup set?

    Although it is not necessary to know the full name of the backup set as kept on the disk, the code below demonstrates how to retrieve it.

    Dim sBackupSetName As String
    Dim sDateTime as String

    sBackupSetName = BackupJob1.BackupFolder & BackupJob1.BackupSetName & "_FULL_"

    sDateTime = Year(Now) & Month(Now) & Day(Now) & "_" & Hour(Now) & Minute(Now)

    MsgBox sBackupSetName & sDateTime & ".zip"

    This will give you the full path and file name of the created backup set. The backup type is hardcoded for the purposes of this example.
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.