arkserver/README.md
2024-04-28 15:27:24 +00:00

16 lines
407 B
Markdown

# 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
```