Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ryszard-suchocki authored Jun 6, 2022
1 parent 57eeef2 commit b2aec74
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,34 @@ aliases:
url: ""
```

# Generator

Skrypt, który ma za zadanie ułatwić tworzenie profili. Nie wykorzustuje dziedziczenia, przez co jest "samowystarczalny". Należy poprawić / dodać zmienne, a następnie wywołać skrypt z argumentami.

```
$ ./unifi-generator.sh --help
unifi-generator.sh version 1.0.0 - Ryszard Suchocki
Usage:
./unifi-generator.sh [[-i <schedule>] [-d <schedule>] [-f <schedule>]] [-V] domain
Options:
-i|--incr <schedule> Incremental type backup schedule
-d|--diff <schedule> Diffrential type backup schedule
-f|--full <schedule> Full type backup schedule
-V Print version and exit
Version Requirements:
dasel X.X (https://github.com/TomWright/dasel)
```
Przykład:

```
./unifi-generator.sh -i "Mon..Fri 8,12,16,20:00" -d "Mon..Fri 21:00" -f "Sat 20:00" MY-VM-NAME
```

# Inspiracja i zapożyczenia:
https://github.com/dguerri/LibVirtKvm-scripts/blob/master/fi-backup.sh

0 comments on commit b2aec74

Please sign in to comment.