Process use when you need to archive historical database records to reduce primary database size. This skill automates moving old data to archive tables or cold storage (S3, Azure Blob, GCS). Trigger with phrases like "archive old database records", "implement data retention policy", "move historical data to cold storage", or "reduce database size with archival".
Automates moving historical database records to archive tables or cloud cold storage (S3, Azure, GCS) to reduce primary database size. Triggered when you need to archive old records, implement data retention policies, or move data to cold storage.
/plugin marketplace add jeremylongshore/claude-code-plugins-plus-skills/plugin install database-audit-logger@claude-code-plugins-plusThis skill is limited to using the following tools:
assets/README.mdreferences/README.mdscripts/README.mdscripts/archival/README.mdscripts/database_archival.pyscripts/database_restore.pyThis skill provides automated assistance for database archival system tasks.
Before using this skill, ensure:
This skill produces:
Archival Scripts: SQL and shell scripts to extract, transform, and load data to archive destination
Archive Tables/Files: Structured storage containing historical records with metadata and timestamps
Verification Reports: Row counts, data checksums, and integrity checks confirming successful archival
Storage Metrics: Database size reduction, archive storage utilization, and cost savings estimates
Archival Logs: Detailed logs of each archival run with timestamps, record counts, and any errors
Insufficient Storage Space:
Data Integrity Issues:
Permission Denied Errors:
Timeout During Large Archival:
Archival Configuration Templates:
{baseDir}/templates/postgresql-archive-config.yaml{baseDir}/templates/mysql-archive-config.yaml{baseDir}/templates/s3-archive-config.yaml{baseDir}/templates/azure-archive-config.yamlRetention Policy Definitions: {baseDir}/policies/retention-policies.yaml
Archival Scripts Library: {baseDir}/scripts/archival/
Monitoring Dashboards: {baseDir}/monitoring/archival-dashboard.json
Cost Analysis Tools: {baseDir}/tools/storage-cost-calculator.py
This skill provides automated assistance for the described functionality.
Example usage patterns will be demonstrated in context.
Use when working with Payload CMS projects (payload.config.ts, collections, fields, hooks, access control, Payload API). Use when debugging validation errors, security issues, relationship queries, transactions, or hook behavior.