aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--handlers/dup2
-rw-r--r--handlers/dup.helper2
-rw-r--r--handlers/ldap2
-rw-r--r--handlers/ldap.helper2
-rw-r--r--handlers/maildir3
-rw-r--r--handlers/makecd2
-rw-r--r--handlers/makecd.helper3
-rw-r--r--handlers/mysql2
-rw-r--r--handlers/mysql.helper3
-rw-r--r--handlers/pgsql2
-rw-r--r--handlers/pgsql.helper3
-rw-r--r--handlers/rdiff2
-rw-r--r--handlers/rdiff.helper3
-rw-r--r--handlers/sh2
-rw-r--r--handlers/svn2
-rwxr-xr-xhandlers/sys2
-rw-r--r--handlers/sys.helper3
-rw-r--r--handlers/trac2
-rwxr-xr-xsrc/backupninja.in2
-rwxr-xr-xsrc/ninjahelper.in1
20 files changed, 26 insertions, 19 deletions
diff --git a/handlers/dup b/handlers/dup
index b6c2bfd..1b899da 100644
--- a/handlers/dup
+++ b/handlers/dup
@@ -1,4 +1,4 @@
-# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*-
+# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*-
#
# duplicity script for backupninja
# requires duplicity
diff --git a/handlers/dup.helper b/handlers/dup.helper
index 1ae6581..7036dd8 100644
--- a/handlers/dup.helper
+++ b/handlers/dup.helper
@@ -1,4 +1,4 @@
-# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*-
+# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*-
HELPERS="$HELPERS dup:incremental_encrypted_remote_filesystem_backup"
### Functions
diff --git a/handlers/ldap b/handlers/ldap
index e6bdb22..9ec48a7 100644
--- a/handlers/ldap
+++ b/handlers/ldap
@@ -1,4 +1,4 @@
-# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*-
+# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*-
#
# openldap backup handler script for backupninja
#
diff --git a/handlers/ldap.helper b/handlers/ldap.helper
index bd77ca1..cfc9933 100644
--- a/handlers/ldap.helper
+++ b/handlers/ldap.helper
@@ -1,4 +1,4 @@
-# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*-
+# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*-
HELPERS="$HELPERS ldap:ldap_database_backup"
ldap_create_file() {
diff --git a/handlers/maildir b/handlers/maildir
index a729a3a..b678b83 100644
--- a/handlers/maildir
+++ b/handlers/maildir
@@ -1,4 +1,5 @@
-# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*-
+# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*-
+
###############################################################
#
# This handler slowly creates a backup of each user's maildir
diff --git a/handlers/makecd b/handlers/makecd
index b176994..97951d2 100644
--- a/handlers/makecd
+++ b/handlers/makecd
@@ -1,4 +1,4 @@
-# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*-
+# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*-
#
# burncd handler script for backupninja
#
diff --git a/handlers/makecd.helper b/handlers/makecd.helper
index 89a4ed0..3485f39 100644
--- a/handlers/makecd.helper
+++ b/handlers/makecd.helper
@@ -1,4 +1,5 @@
-# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*-
+# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*-
+
HELPERS="$HELPERS makecd:makecd_backup"
wizardname="makecd action wizard"
diff --git a/handlers/mysql b/handlers/mysql
index 7ca9ab6..277a345 100644
--- a/handlers/mysql
+++ b/handlers/mysql
@@ -1,4 +1,4 @@
-# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*-
+# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*-
#
# mysql handler script for backupninja
#
diff --git a/handlers/mysql.helper b/handlers/mysql.helper
index b24c931..46cb8bc 100644
--- a/handlers/mysql.helper
+++ b/handlers/mysql.helper
@@ -1,4 +1,5 @@
-# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*-
+# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*-
+
HELPERS="$HELPERS mysql:mysql_database_backup"
do_mysql_vserver() {
diff --git a/handlers/pgsql b/handlers/pgsql
index ccfe759..7786809 100644
--- a/handlers/pgsql
+++ b/handlers/pgsql
@@ -1,4 +1,4 @@
-# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*-
+# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*-
#
# PostgreSQL handler script for backupninja
#
diff --git a/handlers/pgsql.helper b/handlers/pgsql.helper
index 599c232..6a5bbef 100644
--- a/handlers/pgsql.helper
+++ b/handlers/pgsql.helper
@@ -1,4 +1,5 @@
-# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*-
+# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*-
+
HELPERS="$HELPERS pgsql:postgresql_database_backup"
do_pgsql_vserver() {
diff --git a/handlers/rdiff b/handlers/rdiff
index 209606d..08e24eb 100644
--- a/handlers/rdiff
+++ b/handlers/rdiff
@@ -1,4 +1,4 @@
-# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*-
+# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*-
#
# rdiff-backup handler script for backupninja
# requires rdiff-backup
diff --git a/handlers/rdiff.helper b/handlers/rdiff.helper
index 6df4fe2..fa61e3f 100644
--- a/handlers/rdiff.helper
+++ b/handlers/rdiff.helper
@@ -1,4 +1,5 @@
-# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*-
+# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*-
+
HELPERS="$HELPERS rdiff:incremental_remote_filesystem_backup"
declare -a rdiff_includes
diff --git a/handlers/sh b/handlers/sh
index f9f1926..a2b64b9 100644
--- a/handlers/sh
+++ b/handlers/sh
@@ -1,4 +1,4 @@
-# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*-
+# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*-
#
# shell script handler for backupninja
# runs the file /etc/backup.d/scriptname.sh
diff --git a/handlers/svn b/handlers/svn
index 26afafd..891b8e9 100644
--- a/handlers/svn
+++ b/handlers/svn
@@ -1,4 +1,4 @@
-# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*-
+# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*-
#
# this handler will backup subversion repostitories.
#
diff --git a/handlers/sys b/handlers/sys
index dd49a3e..94f76cf 100755
--- a/handlers/sys
+++ b/handlers/sys
@@ -1,4 +1,4 @@
-# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*-
+# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*-
#
# this handler will save various reports of vital system information.
# by default, all the reports are enabled and are saved in /var/backups.
diff --git a/handlers/sys.helper b/handlers/sys.helper
index 2d48ea5..21e5370 100644
--- a/handlers/sys.helper
+++ b/handlers/sys.helper
@@ -1,4 +1,5 @@
-# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*-
+# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*-
+
HELPERS="$HELPERS sys:general_hardware_and_system_info"
sys_wizard() {
diff --git a/handlers/trac b/handlers/trac
index 5427924..fb5052c 100644
--- a/handlers/trac
+++ b/handlers/trac
@@ -1,4 +1,4 @@
-# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*-
+# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*-
#
# this handler will backup trac environments (based on the svn handler)
#
diff --git a/src/backupninja.in b/src/backupninja.in
index 9330902..5db2ff1 100755
--- a/src/backupninja.in
+++ b/src/backupninja.in
@@ -1,5 +1,5 @@
#!@BASH@
-# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*-
+# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*-
#
# |\_
# B A C K U P N I N J A /()/
diff --git a/src/ninjahelper.in b/src/ninjahelper.in
index e39e79f..e191f60 100755
--- a/src/ninjahelper.in
+++ b/src/ninjahelper.in
@@ -1,4 +1,5 @@
#!@BASH@
+# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*-
####################################################
## Functions