Slackware HowTo

Local backup with tar and simple snapshots

Quick backups to local disk or USB.

1. Create backup

tar -czf /backup/etc-$(date +%F).tar.gz /etc

2. Exclusions

Use --exclude for non-needed paths.

3. Retention

Remove old backups with find -mtime.

4. Verify

tar -tzf /backup/etc-$(date +%F).tar.gz | head

Quick checklist

[ ] Steps completed
[ ] Config updated
[ ] Service tested
[ ] Restart/rollback ready
[ ] Logs checked

Back to Linux HowTo