Sounds like in the auto mode it's not getting that far, but it should.
If you want to modify the backup script, you can have it call your script.
Open the /scripts/cpbackup file and put:
Code:
if (-e "/scripts/postupcp") {
system("/scripts/postupcp");
}
just before:
if you have backup enabled.
If backup is not enabled, you will have to put it just before:
Code:
if ($CONF{'BACKUPENABLE'} ne "yes") {
but you will need to change that if you enable backup later.
You can change the /scripts/postupcp that you add if you want to put your script elsewhere, or give it a different name.