Archives Aug. 27, 2010

Catty ssh is cool


Was looking up something for a backup operation and saw a command where someone was catting from ssh... I'd never thought of doing it before, but it does make sense:

ssh dbhost.example.com "pg_dumpall | gzip -c" > ~/cluster.sql.gz
should connect and dump the entire DB cluster (gzipped) to your local machine.
ssh dbhost.example.com "gunzip -c ...

Continue reading

Previous day

Aug. 23, 2010

Next day

Sept. 1, 2010

Archives