Copy folder from one host to another

Hi all,

I need to copy the content of a folder from one remote host to another remote host. The copy command needs to be executed as user “postgres”.

Folder to be copied from source: /data/postgresql/pg_xlog/
Destination: /data/wal_archive/

I tried looking online but couldn’t find anything useful. Can someone please point me in the right direction?

Cheers,
Lucas

Hi all,

I need to copy the content of a folder from one remote host to another remote host. The copy command needs to be executed as user "postgres".

Folder to be copied from source: /data/postgresql/pg_xlog/
Destination: /data/wal_archive/

I tried looking online but couldn't find anything useful. Can someone please point me in the right direction?

Cheers,
Lucas

Hello Lucas,

take a look at the synchronize module.

Regards
         Racke