Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit 1e8a6ec

Browse files
committed
Add backup test html
1 parent 8b01ed3 commit 1e8a6ec

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

backup.html

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<html>
2+
<body>
3+
<u>Underscored fields are required</u><br />
4+
Example data is provided below each input<br />
5+
<br />
6+
<b>Backup</b><br />
7+
<br />
8+
<form action="http://localhost:18469/api/v1/backup/" method="post">
9+
List of tables to backup (comma separated):<br />
10+
<input type="text" name="tablesAndColumns"><br>
11+
hashmap, profile, listings<br />
12+
<br />
13+
Name of file to create (don't forget to add .tar.gz), leave empty for todays date:<br />
14+
<input type="text" name="output"><br>
15+
myveryspecialbackup.tar.gz<br />
16+
<br />
17+
<input type="submit" value="Backup" />
18+
</form>
19+
<br />
20+
<br />
21+
<b>Restore</b><br />
22+
<br />
23+
<form action="http://localhost:18469/api/v1/restore/" method="post">
24+
<u>Input file</u>:<br />
25+
<input type="text" name="input"><br>
26+
myveryspecialbackup.tar.gz<br />
27+
<br />
28+
Boolean, if data should be removed in the table before input:<br />
29+
<input type="text" name="deleteTableDataFirst"><br>
30+
True for delete, False or empty for append<br />
31+
<br />
32+
<input type="submit" value="Restore" />
33+
34+
</body>
35+
</html>

0 commit comments

Comments
 (0)