Files
server-scripts/README.md
Jose Henrique cc416e5cd9
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 22s
more updates lol
2025-07-26 22:05:36 -03:00

30 lines
1.0 KiB
Markdown

# server-scripts
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.
### `clean.sh`
This script is used to clean some of the files, docker dangling images, and docker stopped/unused containers.
### `docker-updater.sh`
This script is used to update all the docker containers on the server.