improve docu
This commit is contained in:
parent
0c3291dcb2
commit
2c5860511d
2 changed files with 16 additions and 8 deletions
12
README.md
12
README.md
|
@ -44,10 +44,14 @@ FROMSSH="" # From what ssh server should the files be
|
|||
# backuped?
|
||||
# For several reasons TOSSH and FROMSSH cannot
|
||||
# be used at the same time!
|
||||
TOSSHUSER="backup" # The ssh user
|
||||
TOSSHPORT=22 # The ssh port
|
||||
FROMSSHUSER="" # The ssh user
|
||||
FROMSSHPORT=22 # The ssh port
|
||||
TOSSHUSER="backup" # The ssh user of the system on which the
|
||||
# backup will be created
|
||||
TOSSHPORT=22 # The ssh port of the system on which the
|
||||
# backup will be created
|
||||
FROMSSHUSER="" # The ssh user of the system from which the
|
||||
# files will be backed up
|
||||
FROMSSHPORT=22 # The ssh port of the system from which the
|
||||
# files will be backed up
|
||||
```
|
||||
|
||||
### Crontab example
|
||||
|
|
12
backup.sh
12
backup.sh
|
@ -17,10 +17,14 @@ FROMSSH="" # From what ssh server should the files be
|
|||
# backuped?
|
||||
# For several reasons TOSSH and FROMSSH cannot
|
||||
# be used at the same time!
|
||||
TOSSHUSER="" # The ssh user
|
||||
TOSSHPORT=22 # The ssh port
|
||||
FROMSSHUSER="" # The ssh user
|
||||
FROMSSHPORT=22 # The ssh port
|
||||
TOSSHUSER="" # The ssh user of the system on which the
|
||||
# backup will be created
|
||||
TOSSHPORT=22 # The ssh port of the system on which the
|
||||
# backup will be created
|
||||
FROMSSHUSER="" # The ssh user of the system from which the
|
||||
# files will be backed up
|
||||
FROMSSHPORT=22 # The ssh port of the system from which the
|
||||
# files will be backed up
|
||||
|
||||
|
||||
## Command variables,
|
||||
|
|
Loading…
Reference in a new issue