]> gitweb.hhaalo.de Git - simple-backup.git/commitdiff
add: vim embedded option
authorBastian Dehn <hhaalo@arcor.de>
Sun, 25 Nov 2018 14:36:11 +0000 (15:36 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Sun, 25 Nov 2018 14:36:11 +0000 (15:36 +0100)
backup
restore

diff --git a/backup b/backup
index ce533fedd50394af9836151facbe3fd6717a9ffd..75efac7cb31dffa772c00a0f317914225d6a3f95 100755 (executable)
--- a/backup
+++ b/backup
@@ -1,7 +1,8 @@
 #!/bin/bash
+# vim: tabstop=8 colorcolumn=80
 
 #===============================================================================
-# Version:     2.5.1
+# Version:     2.5.2
 # Script:      backup
 # Syntax:      backup [full]
 #
@@ -126,6 +127,7 @@ BackupTypOfVMDisc()
                ssh -p $remoteport $remoteLogin dd bs=1M if=$Disk \
                        | pv --size $DiskSize \
                        | gzip --stdout | dd of=$backRemotePCPath/$DiskName.gz
+               printf "Erstelle %s/%s.gz.sha256\n" $backRemotePCPath $DiskName
                sha256sum $backRemotePCPath/$DiskName.gz \
                        > $backRemotePCPath/$DiskName.gz.sha256
        fi
diff --git a/restore b/restore
index f6bbd19c44f20d12a0d3159bfcde943e7c1aeb5c..5091db255541659b85dbc6f2893c8e662e5e4b93 100755 (executable)
--- a/restore
+++ b/restore
@@ -1,7 +1,8 @@
 #!/bin/bash
+# vim: tabstop=8 colorcolumn=80
 
 #===============================================================================
-# Version:     2.5
+# Version:     2.5.2
 # Script:      restore
 # Syntax:      restore -d <date> -n <number> -r <computername> -p <path>
 #