@startuml
'https://plantuml.com/sequence-diagram

autonumber

"uos-recovery-gui" -> RecoveryService : 获取备份信息
RecoveryService -> RsyncSystem : 获取备份信息
RsyncSystem -> RsyncSystem : 读取/etc/uos-recovery/uos-recovery.ini获取备份位置
RsyncSystem -> RsyncSystem : 遍历备份位置文件夹，读取backup_info.json文件
"uos-recovery-gui" <- RecoveryService
"uos-recovery-gui" -> "uos-recovery-gui" : 选择备份点
"uos-recovery-gui" -> RecoveryService : SystemRestoreRequest
RecoveryService -> RsyncSystem : SystemRestoreRequest
RsyncSystem -> RsyncSystem : 设置/etc/uos-recovery/uos-recovery.ini
RsyncSystem -> RsyncSystem : reboot


@enduml