About the service
I set up automatic archiving of old files and disk space cleanup on the server — relevant if logs, downloads, temporary exports, and old copies accumulate over years and eventually hit disk limits. Instead of manually searching for what can be deleted, I deploy a scheduled task: it scans designated folders, finds files older than a set period, and moves them to a separate archive storage — with compression and a clear date-based structure so nothing important is lost.
Each run writes a detailed log: what was moved, how much space was freed, where exactly the files went. This prevents the situation where disk space suddenly increased, but why is unclear. Separately, I set up a threshold alert: as soon as used space approaches a set limit, you get a signal in advance, not when the server is already refusing to write data due to lack of space.
I make the solution specifically for file management and disk cleanup, not database backups — that's a separate task with different logic, and they shouldn't be mixed: each should have its own independent process. After setup, everything works without human involvement.
Work includes:
— scheduled task for automatic archiving of outdated files
— archive storage with compression and date-based structure
— log for each run showing freed space volume
— alert when approaching disk limit
— safe settings that exclude active files from being touched
Each run writes a detailed log: what was moved, how much space was freed, where exactly the files went. This prevents the situation where disk space suddenly increased, but why is unclear. Separately, I set up a threshold alert: as soon as used space approaches a set limit, you get a signal in advance, not when the server is already refusing to write data due to lack of space.
I make the solution specifically for file management and disk cleanup, not database backups — that's a separate task with different logic, and they shouldn't be mixed: each should have its own independent process. After setup, everything works without human involvement.
Work includes:
— scheduled task for automatic archiving of outdated files
— archive storage with compression and date-based structure
— log for each run showing freed space volume
— alert when approaching disk limit
— safe settings that exclude active files from being touched