snapmount:创建并挂载备份快照

时间:2021-04-11 16:52:20
【文件属性】:
文件名称:snapmount:创建并挂载备份快照
文件大小:14KB
文件格式:ZIP
更新时间:2021-04-11 16:52:20
Rust Snapmount Snapmount是用于创建和安装备份快照的工具。 作为备份策略的一部分,我为文件系统创建了短暂的LVM快照并将其挂载到临时位置。 备份程序将在这些文件上运行,从而确保在备份过程中不会对其进行修改。 完成此操作后,将卸载并销毁LVM快照。 安装 您可以通过运行以下命令在本地安装Snapmount $ cargo install --git https://github.com/vivienm/snapmount.git 配置 Snapmount读取一个配置文件(默认为/etc/snapmount/config.toml ),该文件描述了要快照和挂载的文件系统。 # The list of LVM snapshots to create. [[ snapshots ]] type = " lvm " source = " /dev/mapper/lvm-r
【文件预览】:
snapmount-master
----Cargo.toml(353B)
----.github()
--------workflows()
----LICENSE.txt(1KB)
----Cargo.lock(9KB)
----src()
--------app.rs(3KB)
--------mount.rs(2KB)
--------error.rs(389B)
--------main.rs(176B)
--------config.rs(1KB)
--------command.rs(293B)
--------lvm.rs(1KB)
--------cli.rs(1KB)
----examples()
--------config.toml(1KB)
--------restic-backup@.service(642B)
----README.md(3KB)
----justfile(479B)
----.gitignore(8B)

网友评论