D47 / R-1269 (P2): a new install never writes into an earlier install's backup — every install has an identity (install_id), the unit records it, every unit writer asks first; another install's unit is set aside whole (backups/set-aside/<app>/<stamp>, a D25 kept copy, „Visszaállítás” + „Eltávolítás” on the restore page); a move that fails refuses the write. Red-proved. Commit only.
gates / gates (push) Successful in 1m33s
gates / gates (push) Successful in 1m33s
This commit is contained in:
@@ -844,6 +844,9 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||
// D25 (2026-10-21): „Eltávolítás" of ONE kept second-drive copy whose source is gone.
|
||||
case path == "/backup/kept/remove" && r.Method == http.MethodPost:
|
||||
s.keptCopyRemoveHandler(w, r)
|
||||
// D47 (2026-10-25): „Visszaállítás" from a set-aside recovery unit of an earlier install.
|
||||
case path == "/backup/kept/restore" && r.Method == http.MethodPost:
|
||||
s.keptUnitRestoreHandler(w, r)
|
||||
// R-7b: „Megosztások" restore — a sibling of the per-app pair above.
|
||||
case path == "/backup/shares/restore" && r.Method == http.MethodPost:
|
||||
s.sharesRestoreHandler(w, r)
|
||||
|
||||
Reference in New Issue
Block a user