Class: Yobi::RestoreStatus
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Yobi::RestoreStatus
- Defined in:
- lib/yobi/repository/restore.rb,
sig/yobi.rbs
Overview
One "status" message from a live restore run.
https://restic.readthedocs.io/en/stable/075_scripting.html#restore
Instance Method Summary collapse
- #bytes_restored ⇒ Integer?
- #files_restored ⇒ Integer?
- #percent_done ⇒ Float?
- #total_bytes ⇒ Integer?
- #total_files ⇒ Integer?
Instance Method Details
#bytes_restored ⇒ Integer?
136 137 138 |
# File 'lib/yobi/repository/restore.rb', line 136 def bytes_restored self["bytes_restored"] end |
#files_restored ⇒ Integer?
126 127 128 |
# File 'lib/yobi/repository/restore.rb', line 126 def files_restored self["files_restored"] end |
#percent_done ⇒ Float?
116 117 118 |
# File 'lib/yobi/repository/restore.rb', line 116 def percent_done self["percent_done"] end |
#total_bytes ⇒ Integer?
131 132 133 |
# File 'lib/yobi/repository/restore.rb', line 131 def total_bytes self["total_bytes"] end |
#total_files ⇒ Integer?
121 122 123 |
# File 'lib/yobi/repository/restore.rb', line 121 def total_files self["total_files"] end |