yum install freetds-devel
go get github.com/minus5/gofreetds
$ go build tool.go
Configure config.json file with correct informations:
{
"host": rdsMSSQLhost,
"user": rdsMSSQLuser,
"password": rdsMSSQLpassword
}
$ ./tool
tool status dbName
tool export dbName s3Name backupName
tool import dbName s3Name restoreName