2023-01-17 06:55:28 +00:00
|
|
|
# Backy - an application to manage backups
|
|
|
|
|
|
|
|
This app is in development, and is currently not stable. Expect core functionality to possiblly break.
|
|
|
|
|
2023-01-17 08:21:55 +00:00
|
|
|
## Installing
|
2023-01-17 06:55:28 +00:00
|
|
|
|
2023-01-17 08:21:55 +00:00
|
|
|
To install:
|
|
|
|
|
2023-01-18 05:08:34 +00:00
|
|
|
`go install git.andrewnw.xyz/CyberShell/backy@master`
|
2023-01-17 08:21:55 +00:00
|
|
|
|
|
|
|
This assumes you already have a working Go environment, if not please see [this page](https://golang.org/doc/install) first.
|
|
|
|
|
2023-01-20 08:42:52 +00:00
|
|
|
You can also download binaries [here](https://git.andrewnw.xyz/CyberShell/backy/releases) and [here](https://github.com/CybersShell/backy/releases).
|
|
|
|
|
|
|
|
## Features
|
|
|
|
|
2023-02-12 05:50:19 +00:00
|
|
|
- Allows easy configuration of executable commands
|
2023-01-20 08:42:52 +00:00
|
|
|
|
2023-02-12 05:50:19 +00:00
|
|
|
- Allows for commands to be run on many hosts over SSH
|
2023-01-20 08:42:52 +00:00
|
|
|
|
2023-02-12 05:50:19 +00:00
|
|
|
- Commands can be grouped in list to run in specific order
|
|
|
|
|
|
|
|
- Notifications on completion and failure
|
|
|
|
|
|
|
|
- Run in cron mode
|
|
|
|
|
|
|
|
- For any command, especially backup commands
|
2023-01-20 08:42:52 +00:00
|
|
|
|
2023-01-17 08:21:55 +00:00
|
|
|
To run a config:
|
|
|
|
|
|
|
|
`backy backup`
|
|
|
|
|
|
|
|
Or to use a specific file:
|
2023-02-02 05:45:23 +00:00
|
|
|
```backy backup -f /path/to/file```
|
2023-01-17 08:21:55 +00:00
|
|
|
|
|
|
|
If you leave the config path blank, the following paths will be searched in order:
|
|
|
|
|
2023-02-12 05:50:19 +00:00
|
|
|
- `./backy.yml`
|
2023-01-17 08:21:55 +00:00
|
|
|
- `./backy.yaml`
|
2023-02-12 05:50:19 +00:00
|
|
|
- `~/.config/backy.yml`
|
2023-01-17 08:21:55 +00:00
|
|
|
- `~/.config/backy.yaml`
|
2023-01-17 06:55:28 +00:00
|
|
|
|
2023-02-12 05:50:19 +00:00
|
|
|
Create a file at `~/.config/backy.yml`.
|
|
|
|
|
|
|
|
See the config file in the examples directory to configure it.
|