MpBackup restore without Initial Installation on the same CPU (permanents variables issue)

Hi everyone,

I’m trying to understand if anyone has successfully used MpBackup to perform a backup and restore on the same CPU without triggering an Initial Installation, in order to preserve permanents variables.

My goal is to restore the application while keeping all permanents values intact.

So far, I have:

  • Checked MpBackupConfig, but I couldn’t find any option that helps prevent the loss of permanents variables during restore.

  • Modified the pipconfig file generated by the backup:

    • ForceInitialInstallation = 0

    • KeepPvValues = 1

Despite this, the restore process still seems to behave like an initial installation and effectively clears the permanents variables.

Has anyone faced a similar scenario or found a working approach to restore using MpBackup on the same CPU without losing permanents data?
Any insights, best practices, or undocumented details would be greatly appreciated.

Thanks in advance

Hi @FMA ,
I didn’t see any notes in the help for mpBackup regarding Permanent variables so I recommend to ask our B&R Support in Italy more details.
To be honest for saving retain variables since a while I use files (as much as I can) and no more Permanent variables.
Few reasons why I prefer don’t use permanent variables:

When I transfer my changes during development I see less issues without them.
If the customer needs to replace a broken hw, in my opinion it’s more easy the recover sequence if I don’t use permanent variables in the prj.

Ciao
Valerio