updating things
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 35s

This commit is contained in:
2025-09-20 20:53:54 -03:00
parent 96548f4773
commit 61ade81d39
6 changed files with 10 additions and 1011 deletions

View File

@@ -2,29 +2,18 @@
Useful scripts for managing servers written in Bash. Supported OS includes only Ubuntu/Debian and Alpine.
They feature auto-updating, and some error handling.
## `scripts-download.sh`
This script is used to download selected scripts in this repository to a specified directory and install them as cron jobs.
```bash
curl -sSL https://git.ivanch.me/ivanch/server-scripts/raw/branch/main/scripts-download.sh | bash
```
When you run the script, you will be prompted to select which scripts you want to download and install.
### `backup.sh`
This script is used to backup a directory to a remote server using `rsync`. It is intended to be run as a cron job.
#### `nas-gdrive-backup.sh`
This script is used to both install itself and to run a periodic backup to Google Drive for files that had changed.
In the past I was using it more for maintaining my home servers, bare metal with Docker, however when I changed to k3s, I started using it less. Now I'm using this as a collection of useful scripts that I can use when needed. Also `clean.sh` is still useful.
### `clean.sh`
This script is used to clean some of the files, docker dangling images, and docker stopped/unused containers.
### `docker-updater.sh`
### `windows-backup.ps1`
This script is used to update all the docker containers on the server.
This PowerShell script is used to backup files from a Windows machine to a remote Samba server. It uses `7zip` to create the zip file, and then sends over the network using SMB protocol.
## Haven Notify
It's a small internal service designed to send notifications to a specified Discord channel via webhooks. It's written in Go and can be easily deployed.
The project is defined on [/haven-notify](./haven-notify) folder.