Bash
Directory backup
Create a compressed directory backup with source-specific retention, locking and a dry-run option. Run: bash backup.sh --source /path/to/files --destination /path/to/backups --keep 7. Requires Linux, Bash 4.4+, GNU tools and flock. Read --help before running.
- Version
- 1.0.0
- File
- backup.sh · 4.25 KB
- Downloads
- 2
- Uploaded
- Nov 9 2026 06:14 GMT
- Updated
- Nov 9 2026 06:14 GMT
- SHA-256
- 9bad1d8aed10cc33a0995458352a031bd4cac25288b8ba46bca432247ba82969
Read the script before running it. Check paths and settings for your system.