summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/byteback-backup8
1 files changed, 7 insertions, 1 deletions
diff --git a/bin/byteback-backup b/bin/byteback-backup
index 6f34591..4d1b237 100755
--- a/bin/byteback-backup
+++ b/bin/byteback-backup
@@ -113,7 +113,6 @@ end
##
if __FILE__ == $PROGRAM_NAME
-
ME = $PROGRAM_NAME.split('/').last
opts = Trollop.options do
@@ -261,6 +260,13 @@ if __FILE__ == $PROGRAM_NAME
#
fatal("Could not read ssh key #{@ssh_key}") unless File.readable?(@ssh_key)
+
+ #
+ # Run our pre-backup actions, if any
+ #
+ run_parts( "/etc/byteback/pre-backup.d/" )
+
+
#
# Test ssh connection is good before we start
#