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 | |
| # Simple backup with rsync | |
| # local-mode, tossh-mode, fromssh-mode | |
| SOURCES=(/root /etc /home /boot ) | |
| TARGET="/media/backup" | |
| # edit or comment with "#" | |
| #LISTPACKAGES=listdebianpackages # local-mode and tossh-mode | |
| MONTHROTATE=monthrotate # use DD instead of YYMMDD |
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
| version: '3.8' | |
| services: | |
| snipe-mysql: | |
| container_name: snipe-mysql | |
| image: mysql:5.6 | |
| env_file: | |
| - ./.env | |
| volumes: | |
| - snipesql-vol:/var/lib/mysql |
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
| # Connect Nextcloud Webdav with app password from autologin | |
| function Write-Log { | |
| Param($messageToOut) | |
| $message = ('time="{0}" msg="{1}"' -f @((Get-Date -Format o), $messageToOut)) | |
| Write-Host $message | |
| $logFile = ($env:TEMP + "\nextcloudLogin.log") | |
| $message >> $logFile | |
| } |