当前位置:网站首页>lotus 1.16.0 最小快照导出 导入
lotus 1.16.0 最小快照导出 导入
2022-07-30 16:16:00 【mixboot】
系列文章目录
lotus
前言
lotus 1.16.0 最小快照
一、lotus
# lotus --version
lotus version 1.16.0+mainnet+git.01254ab32
二、导出最小快照
1.后台导出快照
screen -S chia
lotus chain export --recent-stateroots=901 --skip-old-msgs my-snapshot.car
- 快照导出完成
68G Jul 29 12:26 my-snapshot.car
三、导入快照
- 参考
lotus daemon stop
mv ~/.lotus/datastore/chain ~/.lotus/datastore/chain_backup
mkdir ~/.lotus/datastore/chain
lotus daemon --import-snapshot my-snapshot.car --halt-after-import
lotus daemon
lotus sync status
lotus sync wait
- 运行
lotus daemon stop
# mv lotus/datastore/chain/ lotus/datastore/chain_backup
# mkdir lotus/datastore/chain
# du -sh lotus/datastore/* - 导入快照
lotus daemon --import-snapshot my-snapshot.car --halt-after-import
四、运行 lotus
nohup lotus daemon > /seal/daemon.log 2>&1 &
五、导出快照时间
- 最小快照导出时间
1h30m
# cat daemon.log | grep export
2022-07-29T10:54:35.818+0800 INFO chainstore store/snapshot.go:171 export started
2022-07-29T12:10:28.248+0800 INFO chainstore store/snapshot.go:103 export {
"height": "2024640"}
2022-07-29T12:13:22.675+0800 INFO chainstore store/snapshot.go:103 export {
"height": "2021760"}
......
2022-07-29T12:26:59.062+0800 INFO chainstore store/snapshot.go:103 export {
"height": "2880"}
2022-07-29T12:26:59.627+0800 INFO chainstore store/snapshot.go:103 export {
"height": "0"}
2022-07-29T12:26:59.722+0800 INFO chainstore store/snapshot.go:182 export finished {
"duration": 5543.90347304}
参考
边栏推荐
- 【HMS core】【Media】【Video Editing Service】 The online material cannot be displayed, it is always in the loading state or the network is abnormal
- CAD几个优化设置
- Promise笔记(一)
- go 学习03 基础知识变量类型
- rhce笔记2
- [NCTF2019] Fake XML cookbook-1|XXE vulnerability|XXE information introduction
- 在 Chrome 浏览器中安装 JSON 显示插件
- 服务器装好系统的电脑怎么分区
- rhce笔记3
- 【Linux操作系统】 虚拟文件系统 | 文件缓存
猜你喜欢

【AGC】质量服务2-性能管理示例

win下搭建php环境的方法

Visual Studio编辑器 2019:scanf函数返回值被忽略(C4996)报错及解决办法

如何写一份高可读性的软件工程设计文档

23. 请你谈谈关于IO同步、异步、阻塞、非阻塞的区别

C#西门子S7 协议通过偏移量的方式读写PLC DB块

新技术要去做新价值
![[HMS core] [FAQ] A collection of typical questions about push kit, analysis services, and video editing services 3](/img/7a/e7447b21421f3052c0b6c44d1c2817.png)
[HMS core] [FAQ] A collection of typical questions about push kit, analysis services, and video editing services 3

DTSE Tech Talk丨第2期:1小时深度解读SaaS应用系统设计

3D激光SLAM:LeGO-LOAM论文解读---实验对比
随机推荐
数据的存储
【开发者必看】【push kit】推送服务典型问题合集2
How to intercept the first few digits of a string in php
Qt 容器控件Tool Box 使用详解
【HMS core】【FAQ】push kit、WisePlay DRM、Location Kit、Health Kit、3D Modeling Kit、SignPal Kit典型问题合集4
你是一流的输家,你因此成为一流的赢家
Goland 开启文件保存自动进行格式化
arcpy tutorial
五只小猪的案例(五只小猪 比较体重的大小)
[AGC] Quality Service 1 - Example of Crash Service
3D激光SLAM:LeGO-LOAM论文解读---系统概述部分
PCIE入门
武汉星起航:海外仓基础建设成为跨境电商企业的一大出海利器
FME实现CAD带属性转SHP数据方法
php字符串如何去除第一个字符
华为ADS获取转化跟踪参数报错:getInstallReferrer IOException: getInstallReferrer not found installreferrer
rscsa笔记八
如何注册域名、备案以及解析
涨姿势了!原来这才是多线程正确实现方式
函数调用方式_stdcall 、 _cdecl 、_thiscall