https://github.com/mcpt/wlmoj-backup
https://github.com/mcpt/wlmoj-backup
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mcpt/wlmoj-backup
- Owner: mcpt
- License: gpl-3.0
- Created: 2020-08-21T22:21:43.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-27T01:50:13.000Z (almost 5 years ago)
- Last Synced: 2025-01-10T03:26:48.617Z (5 months ago)
- Language: Ruby
- Size: 15.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WLMOJ Backup Handler
TODO## Installation
### Server
First, clone this git repository into the home directory of a new user (`backup`).Next, install the dependencies by running `bundle install` in the root directory of the repository.
Then, copy the included service file `wlmoj-backup.service` to `/etc/systemd/system/`. Then run the following commands as root:
```sh
systemctl enable wlmoj-backup.service
systemctl start wlmoj-backup.service
```You can check if the service is running with `systemctl status wlmoj-backup.service`.
#### Zerotier
If you want to run this over zerotier only, first change the `After` line in your service file to the following:
```
After=network-online.target zerotier-one.service
```
Then change the `BIND_ADDRESS` in your service file to your local zerotier ip.#### RVM
If using RVM to manage ruby versions, you will likely need to generate a wrapper script for the gems to be viewed properly (see [this page](https://rvm.io/integration/init-d)).### Client
TODO