Archive and Purge
|
Purpose |
Archive user action and change history records and remove the archived records from the cw_data database to reduce database storage. |
|
Who should do this |
CAREWare administrators and designated database support staff. |
|
Use this when |
Historical user activity records must be moved to a retained archive under an approved retention plan. |
|
Main warning |
Archive and Purge removes selected historical records from cw_data. Verify backups, retention requirements, destination access, and the cutoff date before starting. |
|
Video walkthrough |
Quick path
Central Administration > Administrative Options > Data Oversight > Archive and Purge Data
Before you begin
• Confirm authorization and the retention cutoff date with your data governance or compliance team.
• Create and verify a current CAREWare database backup before purging. Store backups separately from production data.
• Confirm that the destination folder or SQL Server database has sufficient capacity and appropriate access controls.
• Plan the operation during a maintenance window if the archive is expected to be large.
|
Important: Archive and Purge is not a substitute for a full CAREWare database backup. |
Open Archive and Purge Data
Step 1. Sign in to Central Administration and click Administrative Options.
Step 2. Click Data Oversight.
Step 3. Under Data Oversight Features, click Archive and Purge Data.

Choose the archive cutoff and destination
Step 4. Set Archive Date. User action and change history records on or before this date are selected for archiving and removal.

Step 5. Select Save Archive To: Server Folder, New Database, or Specified Database.

Archive destination options
Step 6. For Server Folder, enter the Server Archive Path and verify that the server can write to that location.

Step 7. For Specified Database, enter the Database Connection String for the existing archive database. For New Database, CAREWare generates the archive database connection settings.
|
Destination |
What it does |
|
Server Folder |
Writes archived records to a folder on the CAREWare server. |
|
New Database |
Creates an archive database in the CAREWare SQL Server instance. |
|
Specified Database |
Stores records in an existing database. |

Review and run
Step 8. Click Summarize and Confirm. Review the cutoff date, record counts, estimated size, and destination before proceeding.
Step 9. If the summary is correct, click Start Archive and Purge. Wait for the process to finish; do not interrupt it.
|
Important: Archive and Purge is not a substitute for a full CAREWare database backup. |
How to confirm it worked
• Verify the archive files or database records exist at the selected destination.
• Confirm the archived historical records are no longer present in cw_data.
• Record the cutoff date, destination, completion status, and verification results in the maintenance log.
• Retain the archive according to organizational retention and security requirements.
Helpful tips and troubleshooting
- Use a cutoff date that follows your approved audit-history retention policy; do not select a recent date solely to save space.
- If the folder archive fails, check the server-side path, write permissions, and available disk space. If a database archive fails, check the SQL Server instance, database permissions, and connection string. Review the CAREWare system log before retrying.
- If the summary shows unexpected record counts, cancel and verify the Archive Date before proceeding.
Related CAREWare guides and resources
|
Resource |
How it helps |
|
Database backup and restore guidance. |
|
|
Review and test SQL Server connection settings. |
|
|
Review Business Tier and service settings. |
|
|
Find diagnostic and troubleshooting guidance. |
