How can I get the full backup set name of the backup set?
-
-
Xceed admin
-
-
-
Joined on 09-29-2008
-
Longueuil
-
Posts 443
-
-
|
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.
|
|
|
|
|
|