Skip to content

Commit

Permalink
forward compatibility with rsnapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
tedivm committed Aug 2, 2017
1 parent c9cf720 commit 3e68660
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tedivm-rsnapshot",
"version": "0.6.1",
"version": "0.7.1",
"author": "tedivm",
"summary": "Secure and easy backups with rsnapshot.",
"tags": [
Expand Down
2 changes: 1 addition & 1 deletion templates/backup_point.erb
Original file line number Diff line number Diff line change
@@ -1 +1 @@
backup <%= @client_user %>@<%= @host %>:<%= @source_path.gsub(/\/$/, '') %>/<%= "\t" %>
backup <%= @client_user %>@<%= @host %>:<%= @source_path.gsub(/\/$/, '') %>/<%= "\t" %>localhost/
2 changes: 1 addition & 1 deletion templates/config.erb
Original file line number Diff line number Diff line change
Expand Up @@ -101,5 +101,5 @@ exclude <%= value %>
###############################

<% @directories.each do |source_dir| -%>
backup <%= @client_user %>@<%= @fqdn %>:<%= source_dir.gsub(/\/$/, '') %>/<%= "\t" %><%= "\t\t." %>
backup <%= @client_user %>@<%= @fqdn %>:<%= source_dir.gsub(/\/$/, '') %>/<%= "\t" %>localhost/
<% end -%>

0 comments on commit 3e68660

Please sign in to comment.