按照下面的过程将脱机复制数据包移到一个新的本地项目(已配置为复制回源设备)。
开始之前
将脱机复制流从 NFS 服务器导入到目标设备,如从 NFS 服务器中导入复制流 (CLI)中所述。
target:configuration services replication source-000 package-000> ls
Properties:
id = 1c0457eb-45bd-4f91-8e08-bc0dbacd40b7
enabled = true
state = idle
state_description = Idle (no update in progress)
offline = false
import_path =
last_sync = Fri Jul 31 2015 21:59:19 GMT+0000 (UTC)
last_try = Fri Jul 31 2015 21:59:19 GMT+0000 (UTC)
last_result = success
Projects:
proj1
target:configuration services replication source-000 package-000> reverse proj1 This action will move the contents of this package to a new local project configured to replicate back to the source. Any data or metadata changes made on the source since the last successful update will be lost when the new project is replicated back to the source. If replication actions on the source are not disabled, future updates to this package will fail. Are you sure? (Y/N) Y
target:configuration services replication sources> cd /
target:> shares select proj1 replication
target:shares proj1 replication> select action-000
target:shares proj1 action-000> ls
Properties:
id = 6a10ce61-cc87-4850-89dd-8673f7734d03
target = new_target
enabled = true
continuous = false
include_snaps = false
retain_user_snaps_on_target = false
max_bandwidth = unlimited
bytes_sent = 0
estimated_size = 0
estimated_time_left = 00:00:00
average_throughput = 0B/s
use_ssl = false
compression = on
export_path =
state = idle
state_description = Idle (no update in progress)
export_pending = false
offline = false
next_update = Sync now
last_sync = <unknown>
last_try = <unknown>
last_result = <unknown>
target:shares proj1 action-000> set export_path=nfs://nfs_server/export/init_repl
export_path = nfs://nfs_server/export/init_repl (uncommitted)
target:shares proj1 action-000> commit
target:shares proj1 action-000> sendupdate
target:shares proj1 action-000> ls
Properties:
id = 6a10ce61-cc87-4850-89dd-8673f7734d03
target = new_target
enabled = true
continuous = false
include_snaps = false
retain_user_snaps_on_target = false
max_bandwidth = unlimited
bytes_sent = 0
estimated_size = 0
estimated_time_left = 00:00:00
average_throughput = 0B/s
use_ssl = false
compression = on
export_path =
state = idle
state_description = Idle (no update in progress)
export_pending = false
offline = true
next_update = Sync now
last_sync = <unknown>
last_try = Fri Jul 31 2015 22:17:33 GMT+0000 (UTC)
last_result = success
new_target:configuration services replication sources> ls
Sources:
source-000 <unknown>
PROJECT STATE LAST UPDATE
package-000 proj1 idle unknown
new_target:configuration services replication sources> select source-000 select package-000
new_target:configuration services replication source-000 package-000> ls
Properties:
id = 6a10ce61-cc87-4850-89dd-8673f7734d03
enabled = true
state = idle
state_description = Idle (awaiting import)
offline = true
import_path =
last_sync = unknown
last_try = unknown
last_result = unknown
Projects:
proj1
new_target:configuration services replication source-000 package-000> set import_path=nfs://nfs_server/export/init_repl
import_path = nfs://nfs_server/export/init_repl (uncommitted)
new_target:configuration services replication source-000 package-000> set import_path=nfs://nfs_server/export/init_repl
import_path = nfs://nfs_server/export/init_repl (uncommitted)
new_target:configuration services replication source-000 package-000> commit
new_target:configuration services replication source-000 package-000> ls
Properties:
id = 6a10ce61-cc87-4850-89dd-8673f7734d03
enabled = true
state = idle
state_description = Idle (no update in progress)
offline = false
import_path =
last_sync = Fri Jul 31 2015 22:11:32 GMT+0000 (UTC)
last_try = Fri Jul 31 2015 22:11:32 GMT+0000 (UTC)
last_result = success
Projects:
proj1
相关主题