Skip to content

BackupsetID is not getting updated while uploading the DB on Azure Bucket #18

Description

@RohitChelluru06

When the BackupsetID is not mentioned in the command, the log does not display the BackupsetID. IF BackupsetID is provided in the command, the log shows the BackupID, but if not provided, the BackupsetID remains empty. We need to improve the logging.

In the below case "-backupset" option is not specified in the command:

[nz@posed1 nz]$ ./nz_azConnector -db=db1 -dir="xxxx " -npshost="xxxx " -storage-account="xxxx" -key="" -container="xx xx"-upload -uniqueid="xxxx" -streams=1
2023-10-03 06:21:22 EST  [INFO] Azure account name : xxxx
2023-10-03 06:21:22 EST  [INFO] Azure container : xxxx
2023-10-03 06:21:22 EST  [INFO] Number of blocks to upload/download in parallel : xxxx
2023-10-03 06:21:22 EST  [INFO] Block size in MB to upload/download file 100
2023-10-03 06:21:22 EST  [INFO] Backup/Restore directory : xxxx
2023-10-03 06:21:22 EST  [INFO] DB name : db1
2023-10-03 06:21:22 EST  [INFO] Nps hostname : xxxx
2023-10-03 06:21:22 EST  [INFO] BackupsetID :
2023-10-03 06:21:22 EST  [INFO] UniqueID : xxxx
2023-10-03 06:21:22 EST  [INFO] Number of files to upload/download in parallel : 6
2023-10-03 06:21:22 EST  [INFO] Uploading backup data to azure cloud from backup dir /home/nz/

If we mention the -backupset in the command ,the BackupsetId is updated:

[nz@posed1 src]$ ./nz_azConnector -db=db1 -dir="xxxx" -npshost="xxxx" -storage-account="xxxx" -key="xxxx" -container="xxxx" -upload -uniqueid="xxxx" -streams=1 -backupset 20231003091131
2023-10-03 09:12:09 EST  [INFO] Azure account name : xxxx
2023-10-03 09:12:09 EST  [INFO] Azure container : xxxx
2023-10-03 09:12:09 EST  [INFO] Number of blocks to upload/download in parallel : xxxx
2023-10-03 09:12:09 EST  [INFO] Block size in MB to upload/download file 100
2023-10-03 09:12:09 EST  [INFO] Backup/Restore directory : xxxx
2023-10-03 09:12:09 EST  [INFO] DB name : db1
2023-10-03 09:12:09 EST  [INFO] Nps hostname : xxxx
2023-10-03 09:12:09 EST  [INFO] BackupsetID : 20231003091131
2023-10-03 09:12:09 EST  [INFO] UniqueID : xxxx
2023-10-03 09:12:09 EST  [INFO] Number of files to upload/download in parallel : 6
2023-10-03 09:12:09 EST  [INFO] Uploading backup data to azure cloud from backup dir /home/nz/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions