Data Backup and Recovery

Small bugreport SC4.0p1 with Postgres

magnus_nyvall
2,302 Views

Hi!

I helped a collegue to install Snapcreator v4.0p1 for a customer.

It is working quite good but here is som feedback/bugreports from him.

1)

Subject: GUI rename function breaks existing setup

Environment: Snap Creator Framework Version 4.0p1

If you have an existing configuration in Management -> Configurations -> Profiles and Confgurations and then right-click on a configuration you have the choice to rename the configuration.

This should only be allowed for new configurations that have never been used in any way.

If you rename the configuration, existing logs and scheduled jobs are not updated with the new information.

Proposal: Make it work as expected, or disable the function.

2)

Subject: Variable in success trap message is not expanded

Environment: Snap Creator Framework Version 4.0p1

The default value of the configuration value SUCCESS_MSG is this:

                      SUCCESS_MSG=INFO: Snap Creator Framework finished successfully (Action: %ACTION)

When you use %SUCCESS_MSG within your SUCCESS_TRAP-definition as the typical:

                      SUCCESS_TRAP=/root/TMP/send_mail.sh  %SUCCESS_MSG

What really is passed to the script as arguments is this (as 8 separate arguments, not one string):

                      INFO: Snap Creator Framework finished successfully (Action: %ACTION)

The string %ACTION is not expanded, event though it is defined in the environment as "backup" (in the case I tested).

3)

Subject: Error information in trap message is not set

Environment: Snap Creator Framework Version 4.0p1

The error message MSG is normally not set, but should be set by SnapCreator on errors so they can be properly reported.

The typical usage is this:

                      SENDTRAP=/root/TMP/send_mail.sh %MSG

What really is passed to the script as a single argument is this exact string:

                      %MSG

The string %MSG is not expanded, and unlike SUCCESS_MSG it is not defined in the environment either.

EDIT: It is the Linux 64 bit version running on CentOS.

2 REPLIES 2

sivar
2,302 Views

Thank you for the detailed writeup.

As a Snap Creator Community Moderator, I will submit these bug reports internally and keep you posted on the progress.

I appreciate your time and effort in posting it here.

Thanks,
Siva Ramanathan

sivar
2,302 Views

I have just submitted 3 different defects. I will keep you posted on the progress.

Public