cancel
Showing results for 
Search instead for 
Did you mean: 

UJBR - Backup/Restore from one system to another

Former Member
0 Kudos

Hello,

Using UJBR, I backed up an environment (Environment ID = XYZ) from our Development system. When I try to restore the same environment to our SandBox system, I'm getting the following error messages:

* Security data load ended in error

* Error occured while generating user security settings.

All patches/packages are equally applied in both system (Development and Sandbox), including the ones mentioned in SAP Note 1594158.

Things that I have tried:

1. Created all users (same as Development) in SandBox

2. Cleaned up all UJ* tables

3. Cleaned the environment several times.. and tried and tried again and again...

Any idea why this is happening,

Thanks,

Joel S.

Accepted Solutions (0)

Answers (2)

Answers (2)

damovand
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

If you have the same version of BPC installed in the target system then the UJBR should work.  Can you provide the exact errors you get from SLG1?  Also, please verify the the BPC versions in the two systems are the same. 

Best Regards,

Leila Lappin

Former Member
0 Kudos

Hi Joel,

UJBR is backup tool, not a transport tool.

I recommend to you to use the BPC transportation tools available in your version.

Regards,

Lucas

Former Member
0 Kudos

Thank you, Lucas,

I undestand that. However what we want is to get all transaction data from the source system, not only the data structure, that why we are trying to use UJBR.

Regards,

Joel

Former Member
0 Kudos

Hi Joel,

as Lucas suggested you should use the standard BPC transport tools.

Afterwards you could export to file the trasaction data from development and then import from file to the Sand Box.

You could use process chains:

/CPMB/EXPORT_TD_TO_FILE

/CPMB/IMPORT_APPEND

Hope it helps.

Best regards

Michele

Former Member
0 Kudos

Thank you Lucas & Michele,

I'll try that.

regards,

Joel

Former Member
0 Kudos

Hi, refer to note 1927908 - Support UJBR backup without security data.

Symptom

User may get "Security data load ended in error" and "Error occurred while generating user security settings" errors in UJBR restoring process. It is caused by max number of SAP Netweaver profile limitation. This note provides a control flag for user to determine whether backup security data or not to avoid the exception. And user will backup/restore without security data.

Solution

Apply this note.

1. Add a parameter to UJA_USER_DEF table.
   SE16->UJA_USER_DEF, add new line with values as:
      APPSET ID: <source appsetname>
      APPLICATION ID: with blank
      DEFAULT KEY: UJBR_BACKUP_IGNORE_SECURITY
      DEFAULT TYPE: SYSTEM
      DEFAULT VALUE: YES

2. Do backup process.

I would add as number 3, do restore in target system, cheers

Former Member
0 Kudos

Hi Lucas, I would say it's also a feasible option of transporting among two systems in some scenarios. For instance if you want to introduce gradually into a subset of users before releasing to all key users. There you would have a lot of data, BPF instances (not templates), etc already loaded and validated as part of the testing. Besides not being a "best practice" which inconvenients or risk would you see in doing this?

sap_cohort
Active Contributor
0 Kudos

Soooo.  How would one go about getting the security data restored?