An open API service indexing awesome lists of open source software.

https://github.com/mgjules/timestream-travel

Timestream Travel is a CLI application to backup time-series data from Amazon Timestream to S3.
https://github.com/mgjules/timestream-travel

aws-timestream backup cli golang

Last synced: over 1 year ago
JSON representation

Timestream Travel is a CLI application to backup time-series data from Amazon Timestream to S3.

Awesome Lists containing this project

README

          

# Timestream Travel

A simple CLI application to backup time-series data from Amazon Timestream to S3.

- [Timestream Travel](#timestream-travel)
- [Download the binary](#download-the-binary)
- [OR build it yourself](#or-build-it-yourself)
- [Requirements](#requirements)
- [Example usage](#example-usage)
- [Usage documentation](#usage-documentation)

## Download the binary

Get the [latest binary](https://github.com/mgjules/timestream-travel/releases/latest) from the releases.

## OR build it yourself

### Requirements
- Go 1.16+

```shell
$ go mod tidy
$ go build .
```

## Example usage

```shell
$ ./timestream-travel backup \
--verbose \
--region "eu-west-2" \
--db "test-timestream-db" --tbl "test-timestream-table" \
--bucket "test-backup-bucket" \
--column "domain" \
--from "2021-06-09 00:00:00" --to "2021-06-12 00:00:00" \
--rows 200
```

## Usage documentation

```shell
$ ./timestream-travel -h
$ ./timestream-travel backup -h
```