配置Snapshot选项和生成路径
->set /SP/diag/snapshot dataset=[normal|fruid]
->set /SP/diag/snapshot dump_uri=[tftp|ftp|sftp|scp|http|https]://[username:password@server_ip_or_server_hostname]/[file-path]
eg.
-> set /SP/diag/snapshot dataset=normal
Set 'dataset' to 'normal'
-> set /SP/diag/snapshot dump_uri=ftp://ftp:ftp1234@10.135.33.213/rijian
Set 'dump_uri' to 'ftp://ftp:ftp1234@10.135.33.213/rijian'
-> cd /SP/diag/snapshot
/SP/diag/snapshot
->
-> show
/SP/diag/snapshot
Targets:
Properties:
dataset = normal
dump_uri = (Cannot show property)
encrypt_output = false
result = Running
Commands:
cd
set
show
查看状态是running
-> show
/SP/diag/snapshot
Targets:
Properties:
dataset = normal
dump_uri = (Cannot show property)
encrypt_output = false
result = Collecting data into
ftp://ftp:*****@10.135.33.213/rijian/el02node05-con_1352NML0BC_
2018-12-04T08-40-41.zip
Snapshot Complete.
Done.
Commands:
cd
set
show
过一段时间进行查看后, 状态是done,还有日志文件地址
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/7569309/viewspace-2284152/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/7569309/viewspace-2284152/