From 2c5860511d88d4e922d79ff2d72eb7036a6639b2 Mon Sep 17 00:00:00 2001 From: Stefan Sterz Date: Sat, 22 Jul 2017 17:40:50 +0200 Subject: [PATCH] improve docu --- README.md | 12 ++++++++---- backup.sh | 12 ++++++++---- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 52f2cca..e5def2c 100644 --- a/README.md +++ b/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 diff --git a/backup.sh b/backup.sh index 28b7c5e..10585df 100755 --- a/backup.sh +++ b/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,