nexus_backup - choisungwook/portfolio GitHub Wiki

개요

  • nexus 백업 방법

백업방법

nexus백업은 마운트한 nexus data를 통째로 압축하시면 됩니다. 주의할 점은 제외할 디렉터리(tmp, cache) 2개가 존재합니다.

nexus는 파일쓰기 작업?할때 임시(tmp)파일, 캐시(cache)파일에 임시기록을 남깁니다. 쓰기 작업 중 갑자기 nexus가 종료되면 임시,캐시파일은 유지되어 있어, 다시 nexus를 부팅한다면 이 파일들 때문에 nexus가 부팅이 안될 가능성이 존재합니다.

tar cvf ./nexus-data.tar ./nexus-data --exclude ./nexus-data/cache --exclude ./nexus-data/tmp

참고자료

⚠️ **GitHub.com Fallback** ⚠️