arkserver/README.md

17 lines
407 B
Markdown
Raw Permalink Normal View History

2024-04-28 17:27:24 +02:00
# 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
```