授权文件共享连接器Authorizing the File share Connector

代理常见问题解答Agent FAQ

Mover 文件共享代理是使用 .NET Core 编写的,因此在许多平台中均可用。The Mover file share agent is written using .NET Core, and therefore is available across many platforms.

重要

自 2020 年 9 月 26 日,所需的最低代理版本是 1.3.5.0。As of September 26,2020, the minimum required Agent version is 1.3.5.0.

单击此处,选择你的操作系统并下载代理。Click here to select your operating system and download the agent.

WindowsWindows

Windows 代理具有两个安装程序,一个用于用户上下文,一个用于服务上下文。The Windows Agent has two installers, one for the user-context and one for the service-context. Windows 代理需要 Microsoft .NET Framework 4.6.2 或更高版本。The Windows Agent requires Microsoft .NET Framework 4.6.2 or greater.

Windows 安装程序之间的差异如下所示:The differences between Windows installers are as follows:

用户上下文安装程序User-context installer

  • 安装并作为当前登录的 Windows 用户运行。Installs and is run as the currently logged in Windows user.
  • 自动更新。Automatically updates.
  • 有权访问本地驱动器。Has access to local drives.
  • 有权访问映射的网络驱动器。Has access to mapped network drives.
  • 如果用户注销 Windows 或你的远程桌面会话已过期,则不可用。Is not available if the user logs out of Windows, or your remote desktop session expires.

服务上下文安装程序Service-context installer

  • 安装并作为 Windows 服务运行。Installs and is run as a Windows service.
  • 必须手动更新。Must be manually updated.
  • 只能访问本地驱动器。Has access only to local drives.
  • 始终可用,即使当前用户已注销或你的远程桌面会话已过期。Is always available, even if the current user logs out, or your remote desktop session expires.

命令行代理Command line agents

以下代理使用命令行界面与用户界面进行操作。The following Agents operate using a command line interface versus a user interface.

macOSmacOS

  • 导航到下载位置,并解压 Mover 代理Navigate to the download location, and unzip the Mover Agent.
  • 通过终端浏览到已解压的 moveragent 文件夹,并运行 ./agentVia the terminal, browse to the now unzipped moveragent folder, and run ./agent.
  • 从显示为 [1] INFO ocess.BifrostService: Bifrost service initialized with connector key: <key> 的行复制密钥。Copy the key from the line that reads [1] INFO ocess.BifrostService: Bifrost service initialized with connector key: <key>.
  • 打开我们的应用,然后在“代理授权”框中粘贴该密钥。Open our app, and in the agent authorization box, paste the key.

备注

最低系统要求为 macOS 10.12。The minimum system requirements are macOS 10.12.

LinuxLinux

  • 导航到下载位置,并解压代理。Navigate to the download location, and unzip the Agent.
  • 通过终端浏览到已解压的 moveragent 文件夹,并运行 ./agentVia the terminal, browse to the now unzipped moveragent folder and run ./agent.
  • 从显示为 [1] INFO ocess.BifrostService: Bifrost service initialized with connector key: <key> 的行复制密钥。Copy the key from the line that reads [1] INFO ocess.BifrostService: Bifrost service initialized with connector key: <key>.
  • 在浏览器中打开我们的应用,然后将该密钥粘贴到“代理授权”框中。Open our app in your browser, and paste the key into the agent authorization box.

Windows 命令行安装程序 (beta)Windows command line installer (beta)

  • 安装并作为命令行可执行文件运行。Installs and is run as a command line executable.
  • 必须手动更新。Must be manually updated.
  • 通过与 Linux 和 macOS 代理相同的代码库构建。Built from the same code base as the Linux and macOS agents.

代理是如何查看用户的?How does the agent view users?

代理可处理文件和文件夹。The Agent works with files and folders. 所有按自身文件夹分类的用户都可以轻松映射到 Office 365 中的新位置。All users who are separated into their own folders can easily be mapped to their new location in Office 365.

一个很好的例子就是主驱动器的大列表。A good example would be a large listing of home drives. 用户的每个主驱动器都可以转移到 Office 365 中的相应新用户。Each home drive for a user could be transferred to their respective new user in Office 365.

代理如何查看用户

代理疑难解答Troubleshooting the agent

检查代理版本Checking the agent version

若要查看已安装的服务器客户端版本,请在菜单栏上选择“帮助”选项卡。To check which version of the Server Client you have installed, on the menu bar, select the Help tab.

代理常见问题

如果你使用的是 Mac 或 Linux 版的代理,若要了解你正在使用的版本,请按照以下说明进行操作:显示代理版本If you are using the Mac or Linux version of our Agent, to find out the version you are using, follow these instructions: Show Agent Version.

访问服务器代理日志Accessing server agent log

若要访问 代理日志,请导航到安装了桌面代理的文件夹目录。To access the Agent Log, navigate to the folder directory that you installed the desktop agent. 此时将显示一个 .log 文件,你可以查看该文件,并将其发送给我们的支持团队(如果发生错误)。A .log file appears that you can review, and send to our support team if an error should occur.

备注

代理 .log 文件的默认位置为 Windows\System(32/64)\config\systemprofile\AppData\Local\MoverThe agent .log file default location is Windows\System(32/64)\config\systemprofile\AppData\Local\Mover

代理日志

适用于代理的命令(仅限 Mac 和 Linux)Commands for agent (Mac and Linux only)

我们的代理支持以下命令:Our Agent supports the following commands:

启动代理Start the agent

若要启动代理,请使用:To start the Agent, use:
./agent start./agent start.

$ ./agent start
Mover Agent Starting
Mover Agent Key:
0000000000000000000000000000000
Ctrl-C To Stop

在后台启动代理Start the agent in the background

若要在后台启动代理,请使用:To start the Agent in the background, use:
./agent start &./agent start &.

$ ./agent start &[1] 8667
$ Mover Agent Starting
Mover Agent Key:
00000000000000000000000000000000
Ctrl-C To Stop

停止代理Stop the agent

如果代理正在终端的前台运行,若要停止代理,请按 Ctrl-CIf the Agent is running in the foreground of the terminal, to stop the Agent, press Ctrl-C.

^CMover Agent Stopping

如果代理正在后台或其他终端会话中运行,请使用:If the Agent is running the background or in another terminal session, use:
./agent Stop./agent Stop.

$ ./agent stop
Connecting to Mover Agent
Sending stop command
Mover Agent Stopping
Mover Agent stopped
[1]+ Done ./agent start

显示代理帮助Show agent help

若要获取命令和选项的列表,请使用:To get a list of commands and options, use:
./agent -h./agent -h.

$ ./agent -h
Mover Agent 1.0.6968.0
Usage: agent [options] [command]

Options:
-? | -h | --help Show help information
-v | --version Show version information

Commands:

  • connect| Connect to a running instance of the Agent and issue a connect command
  • disconnect| Connect to a running instance of the Agent and issue a disconnect command
  • monitor| Connect to a running instance of the Agent and monitor agent activity
  • start| Start the Agent
  • status| Connect to a running instance of the Agent and retrieve the current status
  • stop| Stop the Agent

有关命令的详细信息,请使用 agent [command] --helpFor more info about a command, use agent [command] --help.

显示代理版本Show agent version

若要显示代理版本,请使用:To show the Agent version, use:
./agent -v

$ ./agent -v
Mover Agent
1.0.6968.0 (Unix 18.6.0.0)

检查代理状态Check agent status

若要检查代理状态,请使用:To check the status of the Agent, use:
./agent status

$ ./agent status
Connecting to Mover Agent
Mover Agent Key:
00000000000000000000000000000000
Mover Agent Status: online

断开代理连接Disconnect the agent

若要断开代理连接,请使用:To disconnect the Agent, use:
./agent disconnect

$ ./agent disconnect
Connecting to Mover Agent
Sending disconnect command
Mover Agent disconnected.

$ ./agent status
Connecting to Mover Agent
Mover Agent Key:
00000000000000000000000000000000
Mover Agent Status: offline

连接代理Connect the agent

若要连接代理,请使用:To connect the Agent, use:
./agent connect

$ ./agent connect
Connecting to Mover Agent
Sending connect command
Mover Agent connected.

$ ./agent status
Connecting to Mover Agent
Mover Agent Key:
00000000000000000000000000000000
Mover Agent Status: online

监视代理活动Monitor agent activity

若要监视代理活动,请使用:To monitor the Agent activity, use:
./agent Monitor./agent Monitor. 若要停止监视代理活动,请使用:Ctrl-CTo stop monitoring Agent activity, use: Ctrl-C.

$ ./agent monitor
Connecting to Mover Agent
Mover Agent Key:
00000000000000000000000000000000
Connected to bifrost.mover.io on ports 8081 and 4002.
Ready to transfer!Browse: /
Browse: /Users
Browse: /Users/mover
Browse: /Users/mover/AgentTestData
Browse: /Users/mover/AgentTestData/TestDocuments
Upload: /Users/mover/AgentTestData/TestDocuments/TestTextDocument.txt
Upload: /Users/mover/AgentTestData/TestDocuments/file.txt
Upload: /Users/mover/AgentTestData/TestDocuments/picture.jpg
^C

授权桌面和服务器代理Authorizing the desktop and server agent

为了从本地桌面和服务器硬盘驱动器快速轻松地复制数据,我们提供了一个非常小的代理,任何 Windows 操作系统都可以安装它。To enable swift and painless copying of data from on-premises desktop and server hard drives, we provide a very tiny agent that any Windows operating system can install.

兼容性Compatibility

不支持 Windows XP。Windows XP is not supported. 所有其他版本的 Windows 都需要 .NET Framework 4.6 才能使Agen运行。All other versions of Windows require the Microsoft .NET Framework 4.6 for the Agent to function.

下载并手动安装 Microsoft .NET Framework 4.6Download and manually install Microsoft .NET Framework 4.6

安全性Security

该代理只能与我们自己的服务器发起出站通信。The Agent may only initiate outbound communication with our own servers. 所有通信均通过加密的 TLS 来进行,除了我们的服务之外,不允许将其他任何服务与该代理配合使用。All communication is via encrypted TLS and no service other than ours is allowed to work with the agent.

Windows 安装Windows installation

对于 Mac 和 Linux,代理文件夹将显示在“下载”中,并通过 命令行操作 运行。For Mac and Linux, the Agent folder appears in your Downloads, and is run through command line operations.

  1. 下载代理 .exe,然后选择“运行”。Download the Agent .exe, and select Run.

下载代理Download agent

运行代理Run agent

  1. 同意“使用条款”,然后选择安装的目标位置。Agree to the Terms of Use, and select an install destination.

代理条款 目标代理Agent terms Destination agent

  1. 导航到安装的目标位置并运行桌面代理,选择 Mover 图标。Navigate to the installed destination, and to run the desktop Agent, select the Mover icon.

打开代理

  1. 若要复制代理密钥,请从下拉菜单中依次选择“文件”和“复制密钥”。To copy the Agent Key, in the dropdown menu, select File and Copy Key.

代理密钥

在应用中授权代理Authorizing the agent in our app

  1. 在“转移向导”中,选择“授权新连接器”。In the Transfer Wizard, select Authorize New Connector.

清除身份验证

  1. 在“连接器”列表中,找到“代理(桌面或服务器)”。In the Connector list, find Agent (Desktop or Server).
  2. 选择“授权”。Select Authorize.

代理连接器列表身份验证

  1. 此时将打开一个新窗口,系统会提示你命名 连接器A new window opens, and you are prompted to name your Connector .
  2. 输入从已安装的代理中复制的所需密钥(可通过代理中的“文件” > “复制密钥”操作找到)。Enter your required Key that you copied from the installed agent (found via the File > Copy Key action in the Agent).
  3. 选择“授权”。Select Authorize.

为连接器代理命名

代理连接器疑难解答Troubleshooting an agent connector

Mover 代理支持哪些操作系统?What operating systems are supported by the Mover agent?

Mover 代理支持许多操作系统:The Mover Agent supports many operating systems:

  • Windows VistaWindows Vista
  • Windows 7Windows 7
  • Windows 8Windows 8
  • Windows 8.1Windows 8.1
  • Windows 10Windows 10

删除 Mover 代理Removing the Mover agent

可以停止使用 Mover 代理。You can stop using the Mover Agent.

若要断开 Mover 代理与 Mover 服务器的连接,请选择“从 Mover 断开连接”。To stop the Mover Agent from connecting to the Mover's servers, select Disconnect from Mover.

若要完全卸载 Mover 代理,请使用 Windows 程序管理器。To completely uninstall the Mover Agent, use the Windows program manager.

代理连接的问题Agent Connection Issues

  • 确保未阻止 bifrost-v2.mover.io,并直接连接到网络上的 443 端口。Ensure bifrost-v2.mover.io is not blocked and it is connecting directly to port 443 on the network.
  • 确保已下载 Azure IP 范围和服务标签Ensure that you have downloaded the Azure IP ranges and service tags
  • 确保无防火墙、第三方应用程序、插件甚至其 IT 部门或 ISP 没有调节/阻止连接。Ensure that no firewalls, third-party applications, plugins or even their IT department or ISP are not throttling/blocking the connection.
  • 代理也无法通过代理连接,必须直接连接到网络。The Agent also cannot connect via a proxy and must directly connect to the network.

连接适用于 Windows 的源代理Connect your source agent for Windows

如果你在授权源代理后尚未连接,请选择“适用于 Windows 的代理”,然后加载连接器。If you are not already connected after you have authorized your source, select Agent for Windows, and load the connector. 此时将出现一个图标,显示正在迁移的文件夹。An icon appears showing you the folders you are migrating.

执行选择代理源