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.
- Host: GitHub
- URL: https://github.com/mgjules/timestream-travel
- Owner: mgjules
- License: apache-2.0
- Created: 2021-06-11T17:01:36.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-05-15T03:00:16.000Z (about 3 years ago)
- Last Synced: 2025-03-17T07:23:48.326Z (over 1 year ago)
- Topics: aws-timestream, backup, cli, golang
- Language: Go
- Homepage:
- Size: 49.8 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```