Skip to content
Browse files

Copy links (needed for tablespaces)

  • Loading branch information...
1 parent bf7a41a commit 36ca6b71b98b17d138f067bddee32df522ede7dd @jgn jgn committed Sep 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 pg-ms-setup/setup-master
View
2 pg-ms-setup/setup-master
@@ -25,5 +25,5 @@ echo "--------------------------------------------------------------------------
echo ""
# Sync the database in its current state to the slave
sudo -u postgres psql -d postgres -c "select pg_start_backup('initial')"
-sudo -u postgres rsync -a -v -e ssh /var/lib/postgresql/9.1/main/ 33.33.33.13:/var/lib/postgresql/9.1/main/ --exclude postmaster.pid
+sudo -u postgres rsync -a -L -v -e ssh /var/lib/postgresql/9.1/main/ 33.33.33.13:/var/lib/postgresql/9.1/main/ --exclude postmaster.pid
sudo -u postgres psql -d postgres -c "select pg_stop_backup()"

0 comments on commit 36ca6b7

Please sign in to comment.
Something went wrong with that request. Please try again.