diff options
| -rw-r--r-- | config/recipes/postgresql.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/recipes/postgresql.rb b/config/recipes/postgresql.rb index ae09ba0..aa8b1dc 100644 --- a/config/recipes/postgresql.rb +++ b/config/recipes/postgresql.rb @@ -42,5 +42,6 @@ namespace :postgresql do channel.send_data "#{postgresql_password}\n" end download("#{backup_path}/#{filename}", "tmp/#{filename}", :via => :scp) + run_locally "cd tmp; ln -s #{filename} database.dump" end end |
