跳至正文
Wener Notes

restic

约 1 分钟阅读
    • BSD-2, Go
    • fast, secure, efficient backup
    • Linux, macOS, Windows
bash
restic -r /tmp/backup init
restic -r /tmp/backup backup ~/work

curl -LO https://github.com/restic/rest-server/releases/download/v0.12.0/rest-server_0.12.0_linux_amd64.tar.gz

rest-server --path $PWD/data --no-auth

curl -LO https://github.com/restic/restic/releases/download/v0.15.2/restic_0.15.2_linux_amd64.bz2

restic -r rest:http://host:8000/ init
restic -r rest:https://user:pass@host:8000/my_backup_repo/ init

fsync is not supported by the data storage. This can lead to data loss, if the system crashes or the storage is unexpectedly disconnected.

关联信息

反向链接、本文链接的其他页面和外部资料。

反向链接

  • rsync
    笔记 · restic

    数据量大,有条件的情况下,尽量用 rclone,支持并发。 · 3.x GPLv2 -> GPLv3 · macOS 带的还是 rsync 2.x - GPLv2 · librsync · GNU LGPL v2.1 · kristapsdz/openrsync

  • Storage Awesome
    笔记 · restic/restic

    考虑因素 · 怎么用 · 确定使用方 · 用户 - 例如: S3 · 操作系统 - 例如: GFS, DRBD, NFS · SaaS 服务 - 有 软件定义存储 的能力 - 租户、隔离、BYOD · 选择网络接口协议 · 块 vs 文件 vs 对象

参考资料

GitHub1 条
最近更新commit cb5a33c编辑