Hi,
 
I am trying to write cronjob so it will backup database everynight on another machine.
Currently is doing it on the same machine with this script.
 
20 13 * * * pg_dump -F c -f /root/database.pgdump database
 
How can I send it to different machine. Machine IP address is 192.168.1.13
 
Is it possible to write pg_restore job ones it finishes dumping on that machine?
 
Does anybody know how to do this?

Thanks in Advance.
 
 

Regards,

Neo

Reply via email to