backup.sh 132 B

1234
  1. #!/bin/bash
  2. test=$(ssh root@172.16.255.1 -C 'cat /root/home.ip')
  3. rsync -av -e 'ssh -p 27022' /data/nextcloud2/ simon@$test:/backup/