App Engine Python SDK version 1.8.9
[gae.git] / python / google / appengine / ext / datastore_admin / templates / do_backup.html
blob57ebb476538c53aa2828d2e754204500927d84dc
1 {% extends "base.html" %}
2 {% block title %}
3 {% if error %}
4 Problem starting jobs
5 {% else %}
6 Backup jobs kicked off
7 {% endif %}
8 {% endblock %}
9 {% block body %}
10 <h2>Backup Job Status</h2>
11 {% if xsrf_error %}
12 <div class="ae-errorbox">
13 The token used to submit this form has expired.
14 </div>
15 {% else %}
16 {% if job_list %}
17 <div class="ae-message">
18 <div class="ae-alert">
19 The following jobs were launched by MapReduce.
20 </div>
21 <p>Each job's status will only be available for as long as the
22 job takes to complete. Once the job is complete, it will remove the
23 status objects from your datastore. Click a job's id for status
24 information.
25 </p>
26 </div>
27 {% for id in job_list %}
28 <p>Backup <a href="{{mapreduce_detail|escape}}{{id|escape}}">job with id
29 {{id|escape}}</a>
30 kicked off.</p>
31 {% endfor %}
32 {% endif %}
33 {% if task_list %}
34 <div class="ae-message">
35 <div class="ae-alert">
36 The followings tasks were submitted and will initiate MapReduce jobs.
37 </div>
38 <ul>
39 {% for task_name in task_list %}
40 <li>{{ task_name }}</li>
41 {% endfor %}
42 </ul>
43 <p>Once job's are created their status will only be available for as
44 long as the job takes to complete. Once the job is complete, it will
45 remove the status objects from your datastore.
46 Click a job's id for status information.
47 </p>
48 </div>
49 {% endif %}
50 {% if remote_job %}
51 <div class="ae-message">
52 <div class="ae-alert">
53 Backup was initiated as a remote job.
54 </div>
55 </div>
56 {% endif %}
57 {% if error %}
58 <p>There was a problem kicking some off the jobs/tasks:
59 <pre><code>{{error|escape}}</code></pre>
60 </p>
61 {% endif %}
62 {% endif %}
63 <a href="{{datastore_admin_home}}">Back to Datastore Admin</a>
64 {% endblock %}