This repository contains various utility scripts for managing and maintaining a Linux environment.
A wrapper for BorgBackup that automates local backups of critical system and user directories.
- Targets:
/etc,/home/angel,/root - Features:
- Zstandard compression (
zstd) - Automatic backup pruning (keeping weekly, monthly, and yearly archives)
- Zstandard compression (
- Usage: Run periodically to maintain off-site or secondary disk backups. Ensure the backup target is mounted at
/mntbefore execution.
A helper script for Snapper to manage BTRFS snapshots of the root filesystem.
- Commands:
create: Takes a new snapshot and prunes old ones.restore: Provides instructions for restoring files usingsnapper.
- Usage:
./run-snapshot create