Pg backup postgresql. Бэкап postgresql. копирование через ssh. принцип работы rsync. barman postgresql.