Skip to content

Commit

Permalink
improve elasticsearch README and borgmatic output example
Browse files Browse the repository at this point in the history
  • Loading branch information
lefeverd committed Jun 22, 2023
1 parent c0a2458 commit 1c4db0b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion cluster/apps/elasticsearch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,9 @@ curl -XPUT 127.0.0.1:8080 -d @borgmatic-output.txt

### Using kubernetes with port-forward

k port-forward svc/logstash-logstash 8080
k port-forward svc/logstash-logstash 8080&
curl -v -k --cert logstash.crt --key logstash.key -XPUT 'https://127.0.0.1:8080' -d @borgmatic-output.txt
kill %1

With test data instead of file content :
curl -v -k --cert logstash.crt --key logstash.key -XPUT 'https://127.0.0.1:8080' -d 'hello'
Expand Down
5 changes: 3 additions & 2 deletions cluster/apps/elasticsearch/borgmatic-output.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"backup_name": "fedora",
"chunker_params": [
"buzhash",
19,
Expand All @@ -19,14 +20,14 @@
],
"comment": "",
"duration": 134.212972,
"end": "2023-06-07T09:48:54.000000",
"end": "2023-06-22T09:48:54.000000",
"hostname": "fedora",
"id": "ac486633ed5fb56c1aa59d34eb0f98ae4a16963f6cedb46587fd2fc9a0fff404",
"limits": {
"max_archive_size": 0.0026886992567381634
},
"name": "fedora-2022-10-01T09:46:31.817611",
"start": "2023-06-07T09:46:39.000000",
"start": "2023-06-22T09:46:39.000000",
"stats": {
"compressed_size": 117020707552,
"deduplicated_size": 238946321,
Expand Down

0 comments on commit 1c4db0b

Please sign in to comment.