Jump to content
Schizolocal

[Contribution] Reset Database

Recommended Posts

Reset Database Contribution

-------------------------------------

 

Addon: 9111

 

This feature allows administrators to clear non-permanent tables of the database
and delete images from the file system.

The most common use of this feature is to clear out data from the database, and
delete any images, which have been included as a result of testing and trying
out contributions before going live.

In general, tables that have been set up as permanent or semi-permanent information
(such as configuration, geographical data, tax codes etc) are not touched. To clear these,
the best option would be a complete clean re-installation of the database.
It is assumed that no images are permanent or semi-permanent, so all can be deleted.

The feature allows fine control over which tables and image classes are to be cleared
but macro tasks allow grouped actions which address mutually related entities as a unit.

Fine control over images is made possible only if you have installed the
Protected Images contribution (8560).

 

You can download the Reset Database contribution here: http://addons.oscommerce.com/info/9111

 

 

 

Credits

This contribution is mostly original, but the feature was more than a little inspired by the
Clear Down Database contribution by Geoffrey Walton (5793)

Share this post


Link to post
Share on other sites

Thanks for the attrribution but the link is http://addons.oscommerce.com/info/9085 for 2.3 and http://addons.oscommerce.com/info/5973 for 2.2.

 

If you are looking for an add-on to help check your db integrity this one is a good start http://addons.oscommerce.com/info/9087

 

Cheers

 

G


Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×