Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Commit

Permalink
Minimal docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
jadudm committed Feb 22, 2024
1 parent 9d9ad83 commit 494ed2b
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
gov.gsa.fac.backups
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,31 @@
# go-backup

## to build

```
go build
```

## to run

```
./gov.gsa.fac.backups
```

to see the options, and

```
./gov.gsa.fac.backups clone-db-to-db
```

to backup a source DB to a destination.

## assumptions

* The `ENV` var is set to `LOCAL` for local testing.
* You have two Postgres containers running, one at port 5432, and another at 6543.

You can change the local DB values in `config.yaml` to reflect your config.

In a remote environment, the variable `VCAP_SERVICES` is referenced to extract values.

0 comments on commit 494ed2b

Please sign in to comment.