[MGNLBACKUP-126] Error while restoring backup Created: 17/May/19 Updated: 29/Mar/22 Resolved: 20/May/19 |
|
| Status: | Closed |
| Project: | Backup |
| Component/s: | None |
| Affects Version/s: | 2.1.3 |
| Fix Version/s: | 2.1.4 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Federico Grilli | Assignee: | Federico Grilli |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | regression | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Template: |
|
||||||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||||||||||||||
| Release notes required: |
Yes
|
||||||||||||||||||||
| Documentation update required: |
Yes
|
||||||||||||||||||||
| Sprint: | Foundation 11 | ||||||||||||||||||||
| Story Points: | 1 | ||||||||||||||||||||
| Team: | |||||||||||||||||||||
| Description |
|
When testing the restore functionality in the upcoming Magnolia 5.5.14, as explained at https://documentation.magnolia-cms.com/display/DOCS55/Backup+module#Backupmodule-Restoringabackup the following error occurred. java.sql.SQLException: Database at /Users/fgrilli/devel/backup/version/db has an incompatible format with the current version of the software. The database was created by or upgraded by version 10.14. at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source) at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source) at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source) |
| Comments |
| Comment by Federico Grilli [ 17/May/19 ] |
|
akhamis A new version of the backup 2.1.4 will have to be released with 5.5.14 due to the major library updates it involves, in particular the Jackrabbit update. The new module is to be utilised for all new backups (that is backups done with Magnolia 5.5.14 and greater) whereas for old backups prior to 5.5.14, the old 2.1.3 will have be utilised. This is because the versions of JDBC drivers, such as Derby and other database may have changed, thus possibly leading to errors like the one in the description while trying to restore a repository. |