F5 iApp Automated Backup
Problem this snippet solves:
This is now available on GitHub!
Please look on GitHub for the latest version, and submit any bugs or questions as an "Issue" on GitHub:
(Note: DevCentral admin upd...
Updated Feb 15, 2022
Version 2.0Daniel_Tavernie
Cirrostratus
Joined December 19, 2012
keithhubb
May 31, 2018Employee
Hi,
I'm using v3.1.3, and getting this message:
script did not successfully complete: (can't read "::destination_parameters__pruning_mode": no such variable
while executing
"if { $::destination_parameters__pruning_mode eq "Only Prune iApp-Generated Archives" } {
set pruning_suffix $::destination_par..."
invoked from within
"if { $freq != "Disable" } {
Ensure a default $filename_format is set
if { $::destination_parameters__filenam..." line:44)
I Fixed it by changing line 54 from this:
if { $::destination_parameters__pruning_mode eq "Only Prune iApp-Generated Archives" } {
To this:
if { [info exists ::destination_parameters__pruning_mode] && ($::destination_parameters__pruning_mode eq "Only Prune iApp-Generated Archives") } {
Basically validating the variable exists as a condition to the 'if' statement.