Skip to content

Instantly share code, notes, and snippets.

@jfrost
Created September 19, 2014 18:36
Show Gist options
  • Save jfrost/8e7173977486863bc5fb to your computer and use it in GitHub Desktop.
Save jfrost/8e7173977486863bc5fb to your computer and use it in GitHub Desktop.
rsync -e "ssh -c arcfour postgres@192.168.6.10" -rLKpts --delete-excluded --inplace --exclude='/pg_xlog/*' --exclude='/pg_log/*' --exclude=/recovery.conf --exclude=/postmaster.pid :/mnt/pgdata/9.2/main/ /tmp/main/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment