Hola a todos, soy realmente nuevo programando en bash, y aún estoy encontrando bastantes baches
, mi pregunta es simple, supongo, alguien podria decirme si existe una manera facil de copiar un directorio de un server a otro?, sucede que en un server(server1) tengo los backup de las bases de datos de postgre(este código ya lo hice en bash), pero necesito guardar esos backup en otro servidor(server2), estos son los datos que tengo:
---server1---
ip: 10.31.20.4
user: root
pass: root1
dirección del directorio a copiar: /home/place/backup/
---server2---
ip: 10.31.20.141
user:roota
pass:root2
dirección para hacer la copia: /home/place1/backup/
realmente les voy a agradecer la ayuda.
saludos