cloudfuse로 재동기화

cloudfuse로 재동기화

다음 명령을 사용하여 두 디렉터리 간에 rsync를 시도하고 있습니다.

rsync -atO --ignore-existing /src 1.1.1.1:/target/

대상 디렉토리는 다음을 통해 설치됩니다.클라우드 회로 차단기그리고 소스 디렉터리는 일반 디렉터리입니다.

오류가 발생합니다.

rsync: failed to set times on "/target/somefile": Function not implemented (38) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1070) [sender=3.0.9]

답변1

cloudfuse기존 파일에 대한 수정 시간 설정은 분명히 지원되지 않습니다("구현되지 않음" 오류).

rsync그러므로 다음과 같이 시도하지 말라고 지시해야 합니다 .

rsync -a --no-times --ignore-existing /src 1.1.1.1:/target/

제공한 콘텐츠가 -t암시적이므로 -a변환이 필요합니다.떠나다, 그러므로 --no-times. 또한 -0*from/filter 파일을 사용하지 않기 때문에 의미가 없습니다.

관련 정보