Atlas Cluster 사이드바의 Command Line Tools 옵션에서 일부 MongoDB 명령줄 도구를 사용하여 Atlas cluster 에 연결하기 위한 지침을 제공합니다.
참고
The Required Access sections in the MongoDB Database Tools documentation reference MongoDB roles and privileges that correspond to Atlas roles, privileges, and privilege actions.
액세스 Command Line Tools
Cluster 사이드바에서 Command Line Tools 옵션에 액세스 하려면 다음을 수행합니다.
Atlas 에서 프로젝트 의 Clusters 페이지로 이동합니다.
아직 표시되지 않은 경우 탐색 표시줄의 Organizations 메뉴에서 원하는 프로젝트가 포함된 조직을 선택합니다.
아직 표시되지 않은 경우 탐색 표시줄의 Projects 메뉴에서 원하는 프로젝트를 선택합니다.
사이드바에서 Database 제목 아래의 Clusters를 클릭합니다.
Clusters(클러스터) 페이지가 표시됩니다.
연결 대상 mongorestore
참고
Atlas는 개별 restore 역할, 권한 또는 권한 조치를 제공하지 않기 때문에 mongorestore 사용하려면 Atlas admin 역할이 있어야 합니다.
The Binary Import and Export Tools section of the Command Line Tools tab displays a copyable template with the minimum required options for connecting mongorestore to your Atlas cluster. For instructions on finding the Command Line Tools tab, see Access Command Line Tools.
이 템플릿에는 특정 옵션에 대한 자리 표시자 값이 포함되어 있습니다. 이러한 자리 표시자를 Atlas 클러스터에 적합한 값으로 바꿔야 합니다.
<PASSWORD>- 이 항목을--username에 지정된 사용자의 비밀번호로 바꾸세요. 이 템플릿에는 해당 프로젝트의 데이터베이스 사용자가--username으로 포함되어 있습니다. 다른 사용자로 인증하려면--username값을 바꾸고--password에 해당 사용자의 비밀번호를 지정하세요.비밀번호에 특수 문자가 포함된 경우 전체 비밀번호의 앞뒤에 큰따옴표 또는 작은따옴표를 넣어야 합니다. 예를 들어 비밀번호가
@bc123인 경우"@bc123"과 같이 앞뒤로 따옴표를 넣어야 합니다.
Include any other mongorestore command line options as required before copying and pasting the command into your system terminal and executing the full command. See mongorestore for complete documentation on the available command line options and how to use them.
참고
Microsoft Windows에서 Atlas 클러스터에 연결하기
Windows 사용자의 경우 mongorestore.exe을 지정하십시오.
mongorestore.exe에 대한 전체 파일 경로를 제공해야 할 수도 있습니다.
연결 대상 mongodump
The Binary Import and Export section of the Command Line Tools tab displays a copyable template with the minimum required options for connecting mongodump to your Atlas cluster. For instructions on finding the Command Line Tools tab, see Access Command Line Tools.
이 템플릿에는 특정 옵션에 대한 자리 표시자 값이 포함되어 있습니다. 이러한 자리 표시자를 Atlas 클러스터에 적합한 값으로 바꿔야 합니다.
<PASSWORD>- 이 항목을--username에 지정된 사용자의 비밀번호로 바꾸세요. 이 템플릿에는 해당 프로젝트의 데이터베이스 사용자가--username으로 포함되어 있습니다. 다른 사용자로 인증하려면--username값을 바꾸고--password에 해당 사용자의 비밀번호를 지정하세요.비밀번호에 특수 문자가 포함된 경우 전체 비밀번호의 앞뒤에 큰따옴표 또는 작은따옴표를 넣어야 합니다. 예를 들어 비밀번호가
@bc123인 경우"@bc123"과 같이 앞뒤로 따옴표를 넣어야 합니다.<DATABASE>- 이 이름을 데이터를 내보내려는 데이터베이스의 이름으로 바꿉니다.
Include any other mongodump command line options as required before copying and pasting the command into your system terminal and executing the full command. See mongodump for complete documentation on the available command line options and how to use them.
참고
Microsoft Windows에서 Atlas 클러스터에 연결하기
Windows 사용자의 경우 mongodump.exe을 지정하십시오.
mongodump.exe에 대한 전체 파일 경로를 제공해야 할 수도 있습니다.
연결 대상 mongoimport
The Data Import and Export Tools section of the Command Line Tools tab displays a copyable template with the minimum required options for connecting mongoimport to your Atlas cluster. For instructions on finding the Command Line Tools tab, see Access Command Line Tools.
이 템플릿에는 특정 옵션에 대한 자리 표시자 값이 포함되어 있습니다. 이러한 자리 표시자를 Atlas 클러스터에 적합한 값으로 바꿔야 합니다.
<PASSWORD>- 이 항목을--username에 지정된 사용자의 비밀번호로 바꾸세요. 이 템플릿에는 해당 프로젝트의 데이터베이스 사용자가--username으로 포함되어 있습니다. 다른 사용자로 인증하려면--username값을 바꾸고--password에 해당 사용자의 비밀번호를 지정하세요.비밀번호에 특수 문자가 포함된 경우 전체 비밀번호의 앞뒤에 큰따옴표 또는 작은따옴표를 넣어야 합니다. 예를 들어 비밀번호가
@bc123인 경우"@bc123"과 같이 앞뒤로 따옴표를 넣어야 합니다.<DATABASE>- 데이터를 가져오려는 데이터베이스의 이름입니다.<COLLECTION>- 데이터를 가져오려는 컬렉션의 이름입니다.<FILETYPE>- 데이터를 가져오는 데이터 소스의 파일 유형입니다. 자세한 내용은 --type을 참조하세요.<FILENAME>- 데이터를 가져올 데이터 소스의 이름입니다. 자세한 내용은 --file을 참조하세요.
Include any other mongoimport command line options as required before copying and pasting the command into your system terminal and executing the full command. See mongoimport for complete documentation on the available command line options and how to use them.
참고
Microsoft Windows에서 Atlas 클러스터에 연결하기
Windows 사용자의 경우 mongoimport.exe을 지정하십시오.
mongoimport.exe에 대한 전체 파일 경로를 제공해야 할 수도 있습니다.
연결 대상 mongoexport
The Data Import and Export Tools section of the Command Line Tools tab displays a copyable template with the minimum required options for connecting mongoexport to your Atlas cluster. For instructions on finding the Command Line Tools tab, see Access Command Line Tools.
이 템플릿에는 특정 옵션에 대한 자리 표시자 값이 포함되어 있습니다. 이러한 자리 표시자를 Atlas 클러스터에 적합한 값으로 바꿔야 합니다.
<PASSWORD>- 이 항목을--username에 지정된 사용자의 비밀번호로 바꾸세요. 이 템플릿에는 해당 프로젝트의 데이터베이스 사용자가--username으로 포함되어 있습니다. 다른 사용자로 인증하려면--username값을 바꾸고--password에 해당 사용자의 비밀번호를 지정하세요.비밀번호에 특수 문자가 포함된 경우 전체 비밀번호의 앞뒤에 큰따옴표 또는 작은따옴표를 넣어야 합니다. 예를 들어 비밀번호가
@bc123인 경우"@bc123"과 같이 앞뒤로 따옴표를 넣어야 합니다.<DATABASE>- 데이터를 내보내려는 데이터베이스의 이름입니다.<COLLECTION>- 데이터를 내보내려는 컬렉션의 이름입니다.<FILETYPE>- 데이터를 내보낼 데이터 소스의 파일 유형입니다. 자세한 내용은 --type을 참조하세요.<FILENAME>- 데이터를 내보내는 대상 데이터 소스의 이름입니다. 자세한 내용은 --file을 참조하세요.
Include any other mongoexport command line options as required before copying and pasting the command into your system terminal and executing the full command. See mongoexport for complete documentation on the available command line options and how to use them.
참고
Microsoft Windows에서 Atlas 클러스터에 연결하기
Windows 사용자의 경우 mongoexport.exe을 지정하십시오.
mongoexport.exe에 대한 전체 파일 경로를 제공해야 할 수도 있습니다.
연결 대상 mongostat
The Set Up Diagnostics section of the Command Line Tools tab displays a copyable template with the minimum required options for connecting mongostat to your Atlas cluster. For instructions on finding the Command Line Tools tab, see Access Command Line Tools.
이 템플릿에는 특정 옵션에 대한 자리 표시자 값이 포함되어 있습니다. 이러한 자리 표시자를 Atlas 클러스터에 적합한 값으로 바꿔야 합니다.
<PASSWORD>- 이 항목을--username에 지정된 사용자의 비밀번호로 바꾸세요. 이 템플릿에는 해당 프로젝트의 데이터베이스 사용자가--username으로 포함되어 있습니다. 다른 사용자로 인증하려면--username값을 바꾸고--password에 해당 사용자의 비밀번호를 지정하세요.비밀번호에 특수 문자가 포함된 경우 전체 비밀번호의 앞뒤에 큰따옴표 또는 작은따옴표를 넣어야 합니다. 예를 들어 비밀번호가
@bc123인 경우"@bc123"과 같이 앞뒤로 따옴표를 넣어야 합니다.
Include any other mongostat command line options as required before copying and pasting the command into your system terminal and executing the full command. See mongostat for complete documentation on the available command line options and how to use them.
참고
Microsoft Windows에서 Atlas 클러스터에 연결하기
Windows 사용자의 경우 mongostat.exe을 지정하십시오.
mongostat.exe에 대한 전체 파일 경로를 제공해야 할 수도 있습니다.
연결 대상 mongotop
The Set Up Diagnostics section of the Command Line Tools tab displays a copyable template with the minimum required options for connecting mongotop to your Atlas cluster. For instructions on finding the Command Line Tools tab, see Access Command Line Tools.
이 템플릿에는 특정 옵션에 대한 자리 표시자 값이 포함되어 있습니다. 이러한 자리 표시자를 Atlas 클러스터에 적합한 값으로 바꿔야 합니다.
<PASSWORD>- 이 항목을--username에 지정된 사용자의 비밀번호로 바꾸세요. 이 템플릿에는 해당 프로젝트의 데이터베이스 사용자가--username으로 포함되어 있습니다. 다른 사용자로 인증하려면--username값을 바꾸고--password에 해당 사용자의 비밀번호를 지정하세요.비밀번호에 특수 문자가 포함된 경우 전체 비밀번호의 앞뒤에 큰따옴표 또는 작은따옴표를 넣어야 합니다. 예를 들어 비밀번호가
@bc123인 경우"@bc123"과 같이 앞뒤로 따옴표를 넣어야 합니다.
Include any other mongotop command line options as required before copying and pasting the command into your system terminal and executing the full command. See mongotop for complete documentation on the available command line options and how to use them.
참고
Microsoft Windows에서 Atlas 클러스터에 연결하기
Windows 사용자의 경우 mongotop.exe을 지정하십시오.
mongotop.exe에 대한 전체 파일 경로를 제공해야 할 수도 있습니다.
문제 해결
클러스터에 연결하는 데 문제가 있는 경우 연결 문제 해결을 참조하세요.