Hi Konstantin,
Il 25/03/15 00:53, Konstantin Tokar ha scritto:
> Hi!
>
> I often need to update the database from scratch.
> I use */barman recover --remote-ssh-command "ssh postgres @ db" .../*
> Is there no way of launching the remote restore via rsync - not to transfer existing files on the server, and send only the changed part?
What you are searching for is the barman default mode of operation. The remote-ssh-command argument is used to connect to the remote host, then rsync is used to restore the content of data directory. Only WALs file are always transferred, so to speed up the recovery it's better to start it just after a backup.
Regards,
Marco
--
Marco Nenciarini - 2ndQuadrant Italy
PostgreSQL Training, Services and Support
marco.ne...@2ndQuadrant.it |
www.2ndQuadrant.it