This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| # 20231229/gj | |
| # 20240208/gj root user check | |
| # 20260206/gj add repository option | |
| if [ -z "$1" ]; then | |
| cat >&2 <<-EOT | |
| syntax : $0 <host> [repository] | |
| purpose: - wol host if required |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| # 20240316/gj | |
| # 20260206/gj public version | |
| # | |
| # to be used on client's anachron as /etc/cron.daily/restic-backup | |
| LOGFILE="/var/log/restic-backup.log" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| # 20231229/gj | |
| # 20240314/gj keep policy | |
| # 20240315/gj backup ALL meta source | |
| # 20240330/gj AUTO-DRY --yes | |
| # 20241112/gj disable cache | |
| # 20241110/gj mention about dry run | |
| # 20241207/gj set TMPDIR to cache dir | |
| # 20250221/gj ensure existence of TMPDIR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| # 20141126/gj | |
| # 20150219/gj pipes | |
| # 20190225/gj 'all' command | |
| # 20191107/gj add anon_inode | |
| # 20191007/gj get fd stats once | |
| # 20200616/gj get limits | |
| # 20200806/gj get limits via /etc/security/limits.conf because smnpd is startet with lower limits | |
| # 20200919/gj skip comments in limits.conf |