borg-remote-android/doc/state-diagram.txt
2018-09-22 23:24:32 -04:00

20 lines
542 B
Plaintext

@startuml
Android -> Android: Take wakelock
note right of rsync
The borg and rsync servers can be the server.
""BORG_REPO"" and ""REMOTE_HOST"" are configurable.
end note
Android -> "Rsync Server" as rsync: rsync data to temporary location
rsync --> Android: rsync complete
Android -> rsync: nohup spawn borg backup
rsync -> "Borg Server" as borg: borg backup temporary directory
borg --> rsync: borg complete
rsync --> Android: borg complete
Android -> Android: Show success notification
Android -> Android: Release wakelock
@enduml