刚使用备份工具 restic,求助

23 天前
 maxus
问一下,万一有大神懂呢
1 ,Restic 可以成功把东西定时备份到 [本地盘]
2 ,使用 docker exec restic restic restore --target /tmp-for-restore 32aa1dc4 命令,成功把备份恢复到 tmp-for-restore 文件夹
3 ,阿里云盘使用 rclone 挂载在本地,使用 rsync 把备份复制到 [阿里云盘]
4 ,删除 [本地盘] 里的的备份
5 ,将 [阿里云盘] 的备份复制到 [本地盘]
6 ,执行相同恢复命令,发生错误,无法把备份恢复到 tmp-for-restore 文件夹

错误代码
```
ignoring error for /mnt: mkdir /tmp-for-restore/mnt: no such file or directory

ignoring error for /mnt: chmod /tmp-for-restore/mnt: no such file or directory
Summary: Restored 0 / 8 files/dirs (0 B / 0 B) in 0:00
```
有大神知道怎么回事吗?
1164 次点击
所在节点    NAS
6 条回复
defunct9
23 天前
mkdir -p /tmp-for-restore/mnt
1423
23 天前
不要用不熟悉的工具来备份数据
maxus
23 天前
@defunct9 执行这个就可以了吗
lianyanjiajia
23 天前
你要不就直接用 rsync 备份把 然后写个定时脚本
maxus
23 天前
@lianyanjiajia rsync 无法加密备份到云盘
maxus
23 天前
问题已解决,是文件夹权限问题

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/1068227

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX