Giter VIP home page Giter VIP logo

Comments (9)

tofublock avatar tofublock commented on June 2, 2024 5

It worked. That was a lifesaver. Thanks so much!
For anyone with the same problem: Changing <field><name>calendardata</name></field> to <field><name>calendardata</name><type>clob</type><notnull>false</notnull></field> fixed the restore problem for me.

from nextbackup.

pbek avatar pbek commented on June 2, 2024 2

It took me several hours to reverse engineer that back then, I'm glad my findings were of use to you. 😄

from nextbackup.

pbek avatar pbek commented on June 2, 2024

Doesn't ring any bell for me... ownbackup uses the internal ownCloud api to store and restore tables, maybe the api doesn't recognises some data.

from nextbackup.

tofublock avatar tofublock commented on June 2, 2024

Thanks for the quick response. So - no hints on where to go from here?

from nextbackup.

pbek avatar pbek commented on June 2, 2024

Once someone had troubles with longblob fields, I posted that as ownCloud issue at owncloud/core#25316.

from nextbackup.

tofublock avatar tofublock commented on June 2, 2024

Hm, that looks a lot like my error. That means I'm out of luck for now. Is there a way to extract the backup to a format I can work with manually?

from nextbackup.

pbek avatar pbek commented on June 2, 2024

If you had the problem from the issue you could try to edit your data/ownbackup/1489393802/oc_calendarobjects/structure.xml (use your timestamp instead of 1489393802) and set the longblob field to something like <type>clob</type><notnull>false</notnull>.

Other than that you would have to consult ownCloud for their (private) api...

from nextbackup.

tofublock avatar tofublock commented on June 2, 2024

Not that I can really break more at this point, but could you tell me exactly which tag to change, please?
Here's the full error:

Table(s) could not be restored: Inserting data row failed: An exception occurred while executing 'INSERT INTO oc_calendarobjects (id,calendardata,uri,calendarid,lastmodified,etag,size,componenttype,firstoccurence,lastoccurence,uid) SELECT ?,?,?,?,?,?,?,?,?,?,? FROM oc_calendarobjectsWHEREid= ? ANDcalendardata= ? ANDuri= ? ANDcalendarid= ? ANDlastmodified= ? ANDetag= ? ANDsize= ? ANDcomponenttype= ? ANDfirstoccurence= ? ANDlastoccurence= ? ANDuid = ? HAVING COUNT(*) = 0' with params [...CALENDAR ENTRY HERE...]: Column not found: 1054 Unknown column 'calendardata' in 'where clause'

Thanks for all your help and best regards from Vienna to Graz.

from nextbackup.

tofublock avatar tofublock commented on June 2, 2024

Ah, sorry. I didn't read carefully enough. I'll report back.

from nextbackup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.