~unifield-team/unifield-toolbox/trunk

« back to all changes in this revision

Viewing changes to SyncServerWalDump/Tools/rsync_psql.sh

  • Committer: jftempo
  • Date: 2020-02-10 20:55:45 UTC
  • Revision ID: jfb@tempo-consulting.fr-20200210205545-t13wa239z6bm9iug
Tools to dump sync server for RB

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
date
 
2
#rsync --delete -a root@212.95.73.128:/var/lib/postgresql/10/main /opt/SYNC/sync_prod
 
3
rm /opt/SYNC/sync_prod/main/postmaster.pid
 
4
date
 
5
rsync -a root@212.95.73.128:/opt/WAL/ /opt/SYNC/WAL/
 
6
chown -R psqlsync /opt/SYNC/WAL
 
7
date