by gglitch · 7y ago · 0 comments
[0] https://coderwall.com/p/bmv0nw/dump-postgres-databases-throu...
# from host1:
cd $DIRECTORY && tar -jcf - . | ssh host2 "cd DESTINATION_DIR && tar jxvf - "