What zip files are you referring to, the logs & journals or something else?
How big is your database? If it isn't purging it can grow pretty fast. Between that and the daily backup of the oversized db you can really chew through disk space.
Here's what I would do.
- Clean up the hard drive. 4.0 was pretty good at throwing temp files all over the place and forgetting about them.
- Check the business date in manager procedures and make sure it's correct.
- Run a time card report and check out the shift lengths. If you have anyone clocked in for over 24 hours, or with shifts that end before they start, adjust them in Manager Procedures.
- Run Open Check and Clock In status reports. Close any checks that shouldn't be open.
- Run the SQL queries CathalMF provided:
[blue]select min(business_date) from micros.trans_dtl[/blue]
if the result is more than 14 days old, run a purge and another business date query:
[blue]call micros.sp_purgehistory();[/blue]
[blue]select min(business_date) from micros.trans_dtl[/blue]
Repeat this until the date returned is 14 days old. The system will not purge anything new than this, so that's the date your shooting for.
If the date stops changing at any point beyond 14 days, you most likely have 1) an check that's been open for more than 2 weeks, 2) an employee who's been clocked in for more than 2 weeks, or 3) some kind of db corruption. Check the labor and open checks again.
Once you get everything purged, back up the database and rebuild it. Both are done through Database Manager.
If the purge stopped short of 14 days and the labor & checks look ok, back up, rebuild and try the purge again.
Depending on the size of your database and how long it's been since the purge worked, this may take a while. Purging will low the system down quite a bit, and you can't access POS operations or any of the Micros applications during a rebuild, so do this when you can go a few hours with the Micros system.