407 B
407 B
arkserver
Small scripts to manage my ARK server.
Backup
Ex: Set a cronjob to backup every 2 hours:
0 */2 * * * ~/arksrv/runbackup.sh
If backing up to a SSH host, setup SSH access, then restrict access given by the SSH key to a particular command by putting this in authorized_keys:
command="borg serve --append-only --restrict-to-repo PATH_TO_REPO",restrict KEY_TYPE PUB_KEY COMMENT