Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 5 lines (4 sloc) 155 Bytes
#!/usr/bin/env ruby
command = Time.now.strftime( "pg_dump -f /home/geobot/backups/word-db-%Y-%m-%d.sql -C -O -U postgres word" )
puts command
`#{command}`