Skip to content
angelaltuvePublic

About

my scripts

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

System Scripts

This repository contains various utility scripts for managing and maintaining a Linux environment.

Scripts Overview

backup.sh

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)
  • Usage: Run periodically to maintain off-site or secondary disk backups. Ensure the backup target is mounted at /mnt before execution.

run-snapshot

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 using snapper.
  • Usage:
    ./run-snapshot create

About

my scripts

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages