Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
TEMP_DIR="/tmp/$(date '+%Y%m%d')_roborock_backup"
BACKUP_LOCATION="~/Stuff/Roborock"
BACKUP_NAME="$(date +"%Y%m%d")_roborock_backup.tar.xz"
BACKUP_FILE="${BACKUP_LOCATION}/${BACKUP_NAME}"
VACUUM_USER="root"
VACUUM_HOST="roborock"
REMOTE_DATA_DIR="/mnt/data"
IDENTITY_FILE="~/.ssh/id_rsa"
#!/bin/sh
### BEGIN INIT INFO
# Provides: avahi avahi-daemon
# Required-Start: $remote_fs dbus
# Required-Stop: $remote_fs dbus
# Should-Start: $syslog
# Should-Stop: $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Avahi mDNS/DNS-SD Daemon