rsync는 심볼릭 링크를 따르지 않습니다

rsync는 심볼릭 링크를 따르지 않습니다

한 Linux 서버에서 다른 Linux 서버로 파일을 복사하고 싶습니다.

먼저 다음 사항을 확인했습니다.

ls -l /etc/letsencrypt/live/example.com/fullchain.pem
lrwxrwxrwx 1 root root 46 mar 28 19:50 /etc/letsencrypt/live/example.com/fullchain.pem -> ../../archive/example.com/fullchain260.pem

그리고

ls -l /etc/letsencrypt/archive/example.com/fullchain260.pem 
-rw-r--r-- 1 root root 3578 mar 28 19:50 /etc/letsencrypt/archive/example.com/fullchain260.pem

그 다음에:

rsync -e "ssh -i ~/.ssh/id_rsa-cert.pub" -uvvvvvL --chmod=F644 /etc/letsencrypt/live/example.com/fullchain.pem soporte.example.com:/etc/pki/tls/certs/soporte.example.com/tmp

cmd=ssh -i ~/.ssh/id_rsa-cert.pub machine=soporte.example.com user=<NULL> path=/etc/pki/tls/certs/soporte.example.com/tmp
cmd[0]=ssh cmd[1]=-i cmd[2]=~/.ssh/id_rsa-cert.pub cmd[3]=soporte.example.com cmd[4]=rsync cmd[5]=--server cmd[6]=-vvvvvue.LsfxC cmd[7]=. cmd[8]=/etc/pki/tls/certs/soporte.example.com/tmp 
opening connection using: ssh -i "~/.ssh/id_rsa-cert.pub" soporte.example.com rsync --server -vvvvvue.LsfxC . /etc/pki/tls/certs/soporte.example.com/tmp  (9 args)
msg checking charset: UTF-8
FILE_STRUCT_LEN=24, EXTRA_LEN=4
(Server) Protocol versions: remote=31, negotiated=31
(Client) Protocol versions: remote=31, negotiated=31
FILE_STRUCT_LEN=24, EXTRA_LEN=4
[sender] change_dir(/etc/letsencrypt/live/example.com)
[sender] make_file(fullchain.pem,*,0)
[sender] flist start=0, used=1, low=0, high=0
[sender] i=0 /etc/letsencrypt/live/example.com fullchain.pem mode=0100644 len=3,578 flags=1000
send_file_list done
[sender] flist_eof=1
file list sent
send_files starting
server_recv(2) starting pid=1845
recv_file_name(fullchain.pem)
received 1 names
[Receiver] flist_eof=1
[Receiver] flist start=0, used=1, low=0, high=0
[Receiver] i=0 1 fullchain.pem mode=0100644 len=3,578 flags=1000
recv_file_list done
get_local_name count=1 /etc/pki/tls/certs/soporte.example.com/tmp
[Receiver] change_dir(/etc/pki/tls/certs/soporte.example.com)
generator starting pid=1845
delta-transmission enabled
recv_generator(tmp,0)
tmp is newer
generate_files phase=1
send_files phase=1
recv_files(1) starting
recv_files phase=1
generate_files phase=2
send_files phase=2
send files finished
total: matches=0  hash_hits=0  false_alarms=0 data=0
recv_files phase=2
recv_files finished
generate_files phase=3
generate_files finished
client_run waiting on 7070

sent 48 bytes  received 630 bytes  1,356.00 bytes/sec
total size is 3,578  speedup is 5.28
[sender] _exit_cleanup(code=0, file=main.c, line=1207): entered
[sender] _exit_cleanup(code=0, file=main.c, line=1207): about to call exit(0)

rysnc 매뉴얼 페이지에는 다음과 같이 나와 있습니다.-L, --copy-links transform symlink into referent file/dir

따라서 질문과 문제는 다음과 같습니다.

심볼릭 링크의 대상을 복사하려고 시도했지만 아무 작업도 수행되지 않았지만 오류가 표시되지 않았습니다. 내가 뭐 잘못 했어요?

관련 정보