Restore of JCB Backup fails #936

Closed
opened 2022-07-13 20:47:10 +00:00 by Martin Kopp · 2 comments
Member

Steps to reproduce the issue

  • Backup JCB and save the JCB_Backup....zip File (no keys set on the Encryption Settings Tab)
  • Uninstall JCB
  • Install JCB
  • Import the JCB_Backup File with then Import JCB Packages Option

Expected result

Complete Restore

Actual result

Restore failes on the second stage
with

"Data is corrupt!
This could be due to key error, or broken package!
Import error."

Components on the second page were all paid/locked

System information (as much as possible)

  • OS Name & Version:
  • MySql Version:
  • Apache Version:
  • PHP Version: 7.4.30
  • Joomla Version: 3.10.10
  • JCB Version: 3.1.4
  • Browser:

Additional comments

### Steps to reproduce the issue - Backup JCB and save the JCB_Backup....zip File (no keys set on the Encryption Settings Tab) - Uninstall JCB - Install JCB - Import the JCB_Backup File with then Import JCB Packages Option ### Expected result Complete Restore ### Actual result Restore failes on the second stage with "Data is corrupt! This could be due to key error, or broken package! Import error." Components on the second page were all paid/locked ### System information (as much as possible) - OS Name & Version: - MySql Version: - Apache Version: - PHP Version: 7.4.30 - Joomla Version: 3.10.10 - JCB Version: 3.1.4 - Browser: ### Additional comments
Owner

Okay I just tested this, and doing on component at a time, works:

https://youtu.be/5iEdiJiY_l4

But I see if your backup has to many component and your server does not allow these kind of long tasks to run due to memory or other constraints it falls over.

Okay I just tested this, and doing on component at a time, works: https://youtu.be/5iEdiJiY_l4 But I see if your backup has to many component and your server does not allow these kind of long tasks to run due to memory or other constraints it falls over.
Author
Member

I can export and import 9 components - that works (except the module link problem here: #935)
Whats NOT included in the Export are the (additional) libraries and the Field Categories - i hoped that would be in the backup file - which is much bigger than the smartPackage. The problem is that recreating the same setup from the exported components is not straightforward.

I can export and import 9 components - that works (except the module link problem here: https://git.vdm.dev/joomla/Component-Builder/issues/935) Whats NOT included in the Export are the (additional) libraries and the Field Categories - i hoped that would be in the backup file - which is much bigger than the smartPackage. The problem is that recreating the same setup from the exported components is not straightforward.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: joomla/Component-Builder#936
No description provided.