Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Commit

Permalink
Fix asset-download-dbs script
Browse files Browse the repository at this point in the history
  • Loading branch information
janette committed Jun 7, 2018
1 parent 829a133 commit c09a5d2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .ahoy/site/.scripts/utils-asset-download-dbs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
`LC_TIME=en_US.UTF-8 perl .ahoy/site/.scripts/s3curl.pl --id local #{asset} > backups/#{db}.sql.gz`

puts ""
puts "Unpacking the files asset."
puts "Unpacking the $db database."
puts ""

`tar xvzf backups/#{site}.prod.files.tar.gz`
`ahoy cmd-proxy gunzip backups/#{db}.sql.gz -f`
`cp -f backups/#{db}.sql backups/last_install.sql`

0 comments on commit c09a5d2

Please sign in to comment.