diff options
Diffstat (limited to 'modules/rsnapshot')
-rw-r--r-- | modules/rsnapshot/templates/cron_file | 2 | ||||
-rw-r--r-- | modules/rsnapshot/templates/rsnapshot.conf | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/rsnapshot/templates/cron_file b/modules/rsnapshot/templates/cron_file index e484a88e..43ca9e1b 100644 --- a/modules/rsnapshot/templates/cron_file +++ b/modules/rsnapshot/templates/cron_file @@ -1,5 +1,5 @@ #!/bin/sh <%- for conf in @rsnapshot_conf -%> -/usr/bin/rsnapshot -c <%= @conf %> <%= @rsnapshot_arg %> +/usr/bin/rsnapshot -c <%= conf %> <%= rsnapshot_arg %> <%- end -%> diff --git a/modules/rsnapshot/templates/rsnapshot.conf b/modules/rsnapshot/templates/rsnapshot.conf index f8d97018..2ec5edcf 100644 --- a/modules/rsnapshot/templates/rsnapshot.conf +++ b/modules/rsnapshot/templates/rsnapshot.conf @@ -24,7 +24,7 @@ config_version 1.2 # All snapshots will be stored under this root directory. # -snapshot_root <%= @snapshot_root %> +snapshot_root <%= snapshot_root %> # If no_create_root is enabled, rsnapshot will not automatically create the # snapshot_root directory. This is particularly useful if you are backing @@ -201,9 +201,9 @@ link_dest 1 ############################### <%- for b in @backup -%> -<%= @b.split().unshift("backup").join("\t") %> +<%= b.split().unshift("backup").join("\t") %> <%- end -%> <%- for bs in @backup_script -%> -<%= @bs.split().unshift("backup_script").join("\t") %> +<%= bs.split().unshift("backup_script").join("\t") %> <%- end -%> |