Forums / Developer / Howto import objects if a large object structure is deleted?

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?