Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F887689
restore.html.erb
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Aug 10, 4:36 AM
Size
1 KB
Mime Type
text/plain
Expires
Tue, Aug 12, 4:36 AM (12 h, 45 s)
Engine
blob
Format
Raw Data
Handle
230324
Attached To
rARCHIVING archiving
restore.html.erb
View Options
<h1>Restore files for "
<%=
@host
.
name
%>
"</h1>
<div class="row">
<div class="col-xs-6">
<%
if
@host
.
restorable?
%>
<%
restore_point
=
@host
.
client
.
last_job_date_formatted
%>
<div class="container graybox">
<%=
bootstrap_form_tag
(
url
:
run_restore_host_path
(
@host
),
layout
:
:horizontal
,
label_col
:
'col-xs-4'
,
control_col
:
'col-xs-8'
)
do
|
f
|
%>
<%=
f
.
text_field
(
:restore_point
,
value
:
restore_point
,
disabled
:
true
)
%>
<%=
f
.
text_field
(
:restore_location
)
%>
</br>
<%=
f
.
submit
'Restore Files'
,
class
:
'btn btn-warning right'
,
data
:
{
confirm
:
"This will restore all your files at the most recent backup (
#{
restore_point
}
)"
}
%>
<%
end
%>
</div>
<%
else
%>
<div class="alert alert-warning">
<p>Can not issue a restore for this host. It is either not deployed or has no successful backups</p>
</div>
<%
end
%>
<%=
link_to
'Cancel'
,
client_path
(
@host
.
client
),
class
:
'btn btn-danger'
,
role
:
'button'
%>
</div>
</div>
Event Timeline
Log In to Comment