Guest User

Untitled

a guest
Jan 21st, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. #!/bin/sh
  2. echo "----------------------------"
  3.  
  4. date
  5.  
  6. cd ~/Code/heroku_app/
  7.  
  8. heroku pgbackups:capture --expire
  9.  
  10. url=`heroku pgbackups:url`
  11.  
  12. cd ~/Backups/heroku_app.heroku.com/
  13.  
  14. wget $url
  15.  
  16. echo $url
Add Comment
Please, Sign In to add comment