How to automatically back up data under linux to another win in different places?
Directory replication under 1 Linux: local->; The remote server scp-r/home/shaoxiaohu/test1zhidao @192.168.0.1:/home/test 2 # test1is the source directory and test2 is the target directory. Directory replication under 2.2. Linux: remote server->; Machine scp-rzhidao @192.168.0.1:/home/test2/home/shaoxiao/test1# zhidao @192. Note: If you change the port number, you need to enter: -p port number after scp (note that it is capitalized, and -P is lowercase in ssh command).