请求一个简单镜像功能
Abierto
enhancement
- Lenguaje dominante
- Go
- Estrellas
- 50.2k
- Forks
- 7.9k
- Merge medio
- 7 d 21 h
- PR fusionados (30 d)
- 6
Descripción
### 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_
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.