AlistGo / AlistGo/alist

请求一个简单镜像功能

Đang mở
#7,331 2 bình luận 1 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
Go
Star
50.2k
Fork
7.9k
Merge trung bình
7 ngày 21 giờ
Pull request đã merge (30 ngày)
6

Mô tả

### Please make sure of the following things

- [X] I have read the [documentation](https://alist.nn.ci).
- [X] I'm sure there are no duplicate issues or discussions.
- [X] I'm sure this feature is not implemented.
- [X] I'm sure it's a reasonable and popular requirement.

### Description of the feature / 需求描述

nas都有一个功能叫是硬盘镜像,alist虽然不是nas,但是有没有一种可能也内置这种功能(个人第三方python脚本一天一备份实现,但是也只是备份,没办法做到实时)。
考虑到延迟各个硬盘之间的延迟比较大,也不需要实时,退而求其次,能否实现两种网盘之间的主从关系功能。

### Suggested solution / 实现思路

设置网盘2的某个路径作为网盘1的从备份。
每次增删改的时候,先增删改网盘1的文件,完成后再增删改网盘2的文件。
全部完成后能检测做文件检测(即文件名,大小等,md5码这个应该不容易),不能就算了。
每次查询的时候,先查看硬盘1的文件,假如失败,则查看网盘2的文件,再失败再返回失败。

### Additional context / 附件

_No response_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.