purge the entire content

110 views
Skip to first unread message

stefan...@stroeher.de

unread,
Mar 16, 2017, 6:18:47 AM3/16/17
to ResourceSpace
Hi

I configured ResourceSpace and played a boit around with the staticsync option. No I want to purge the entire content and try again without loosing my config. Is that somehow possible?

R Snider

unread,
Mar 16, 2017, 9:19:09 AM3/16/17
to ResourceSpace
You could delete the database in MySQL and recreate it to start over from scratch. Your config.php won't be affected. You'd lose any other customizations like resource types and metadata fields, and you'd have to reconfigure any plugins you've installed, but you could export those settings to be reimported. I'd do a mysql dump from System>Export Data under Admin menu just to be safe.

Cheers,

Rob

Tom Gleason

unread,
Mar 16, 2017, 12:10:12 PM3/16/17
to ResourceSpace
It depends on how much you want to save. You could just delete all the resource table records, and then run pages/tools/database_prune.php and that would clean up a lot. 

If you used staticsync to create public collections, you could do the same with the collection table, deleting all the collection records created by the staticsync process, then run database_prune.php. That would clean up collections-related tables that were created in the process. 

That's how I'd go about it, because staticsync creates resources and collections, and then other stuff related to those two main products. 

--
Tom Gleason


Reply all
Reply to author
Forward
0 new messages