Comments (9)
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.
It took me several hours to reverse engineer that back then, I'm glad my findings were of use to you.
from nextbackup.
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.
Thanks for the quick response. So - no hints on where to go from here?
from nextbackup.
Once someone had troubles with longblob
fields, I posted that as ownCloud issue at owncloud/core#25316.
from nextbackup.
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.
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.
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_calendarobjectsWHERE
id= ? AND
calendardata= ? AND
uri= ? AND
calendarid= ? AND
lastmodified= ? AND
etag= ? AND
size= ? AND
componenttype= ? AND
firstoccurence= ? AND
lastoccurence= ? AND
uid = ? 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.
Ah, sorry. I didn't read carefully enough. I'll report back.
from nextbackup.
Related Issues (20)
- manuell deleting backups that are no longer needed HOT 6
- Restoring oc_news_folders column type HOT 1
- Ability to restore/create backups from command line occ HOT 2
- fails silently (on big table) HOT 4
- Feature request: Allow selection of storage location for backup files. HOT 7
- Nextcloud cron HOT 3
- Translate the app HOT 2
- Exception: Certificate "4131" has been revoked HOT 3
- Systemd timer service to trim backups HOT 1
- nextbackup App fails for integrity check in NC 18.01 HOT 4
- Certificate "4354" has been revoked HOT 36
- Don't depend on Nextcloud's JS libraries
- Causes malfunction in "Group Folders" and admin log HOT 11
- oc_deck_assigned_users HOT 7
- Not compatible with Nextcloud 21 HOT 6
- Usage of private API - OC_DB::updateDbFromStructure HOT 5
- Admin config page is blank after installing app
- Possibility to download / store backups externally HOT 1
- Not working (anymore / on NC v23) because of missing method OC_DB::getDbStructure() HOT 2
- remove this obsolete app from apps.nextcloud.com please HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nextbackup.