Howto import objects if a large object structure is deleted?

Author Message

K259

Friday 08 July 2005 1:53:53 am

We have 5 sections on our site. Every section is assigned to a place in the structure and every section has thousands of objects.

If our users deletes some object in the structure which contains a large number of objects then every object loses it's relation and must be restored from the trashcan one and one.

This is not realistic to do, it will take days, so I need to import this deleted structure into the db from the mysql-backup.

Does eZ or others have a finished solution on this, a script which will solve this problem?

Gabriel Ambuehl

Saturday 30 July 2005 7:06:43 am

You could always stop users from deleting things.

Or export your content to ezpackages every once in a while.

But restoring from earlier SQL dumps seems like asking for trouble to me.

Visit http://triligon.org

K259

Sunday 31 July 2005 12:08:59 pm

How do I export content under a node to a package, and how do I import it?

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 06:17:58
Script start
Timing: Jan 31 2025 06:17:58
Module start 'layout'
Timing: Jan 31 2025 06:17:58
Module start 'content'
Timing: Jan 31 2025 06:17:58
Module end 'content'
Timing: Jan 31 2025 06:17:58
Script end

Main resources:

Total runtime0.0188 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0087 588.3906151.2422
Module start 'layout' 0.00870.0036 739.632836.7109
Module start 'content' 0.01230.0049 776.343890.0156
Module end 'content' 0.01710.0016 866.359429.9922
Script end 0.0188  896.3516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002513.2505140.0002
Check MTime0.00126.2501140.0001
Mysql Total
Database connection0.00115.688610.0011
Mysqli_queries0.005227.842130.0017
Looping result0.00000.111510.0000
Template Total0.00126.610.0012
Template load0.00095.024410.0009
Template processing0.00031.519710.0003
Override
Cache load0.00073.514810.0007
General
dbfile0.00147.232480.0002
String conversion0.00000.166040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs