PDA

View Full Version : SB_PRESERVE_BACKUPFILEEXT -Thank you!



ccordes
02-19-2023, 01:26 PM
I was going to ask about this but thought - wait I'm sure someone asked for this already. I searched the help and didn't find it.
Then I searched the forum and found it from 2005, so the answer to my backup issue has been here all this time.

Now the automatic backup is much more useful - THANKS!

linder
03-07-2023, 07:32 AM
Thank you for your feedback!!!!

Friedrich

RichBPL
05-09-2023, 12:31 PM
I cannot find a variable named “%_SB_PRESERVE_BACKUPFILEEXT” in the list of possible system defined variables in the “Variable Name” dropdown list when I insert the “Set Variable…” statement into a SB script under versions 10.0.6976 or 11.0.7684.
1) Is there really an option to use the original file extension when SB is making an automatic backup, instead of auto incrementing a 3-digit file extension for the destination file?
2) If there really is an option to use the original file extension when creating an automatic backup (as determined by the “Project Properties / Advanced Settings / “Backup Replaced Files” option) does this mean it will replace an existing backup file if it exists or skip making the backup copy?

ccordes
05-09-2023, 01:12 PM
@Rich F.
It isn't a %_Variable_% it is an $installer_flag$.
Use the Set installerflag command -
Set Installer Flag $SB_PRESERVE_BACKUPFILEEXT$ to "1"
You can look it up in the Help or PDF