Skip to content

Commit 31b256b

Browse files
committed
Release 3.11.0 - See CHANGELOG.md
1 parent d5cacdb commit 31b256b

File tree

3 files changed

+17
-8
lines changed

3 files changed

+17
-8
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## 3.11.0 2023-10-12 <dave at tiredofit dot ca>
2+
3+
### Added
4+
- Introduce aarch64 (ARMv8) support for Microsoft SQL Server backups
5+
- Microsoft ODBC Driver 18.3.2.1-1
6+
- Microsoft SQL Client 18.3.1.1-1
7+
8+
19
## 3.10.5 2023-10-11 <dave at tiredofit dot ca>
210

311
### Added

Dockerfile

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ LABEL maintainer="Dave Conroy (github.com/tiredofit)"
77
### Set Environment Variables
88
ENV INFLUX_VERSION=1.8.0 \
99
INFLUX2_VERSION=2.4.0 \
10-
MSSQL_VERSION=18.0.1.1-1 \
10+
MSODBC_VERSION=18.3.2.1-1 \
11+
MSSQL_VERSION=18.3.1.1-1 \
1112
AWS_CLI_VERSION=1.25.97 \
1213
CONTAINER_ENABLE_MESSAGING=FALSE \
1314
CONTAINER_ENABLE_MONITORING=TRUE \
@@ -63,14 +64,14 @@ RUN source /assets/functions/00-container && \
6364
zstd \
6465
&& \
6566
\
66-
apkArch="$(apk --print-arch)"; \
67+
apkArch="$(uname -m)"; \
6768
case "$apkArch" in \
68-
x86_64) mssql=true ; influx2=true ; influx_arch=amd64; ;; \
69-
aarch64 ) influx2=true ; influx_arch=arm64 ;; \
70-
*) sleep 0.1 ;; \
69+
x86_64) mssql=true ; mssql_arch=amd64; influx2=true ; influx_arch=amd64; ;; \
70+
arm64 ) mssql=true ; mssql_arch=amd64; influx2=true ; influx_arch=arm64 ;; \
71+
*) sleep 0.1 ;; \
7172
esac; \
7273
\
73-
if [ $mssql = "true" ] ; then curl -O https://download.microsoft.com/download/b/9/f/b9f3cce4-3925-46d4-9f46-da08869c6486/msodbcsql18_${MSSQL_VERSION}_amd64.apk ; curl -O https://download.microsoft.com/download/b/9/f/b9f3cce4-3925-46d4-9f46-da08869c6486/mssql-tools18_${MSSQL_VERSION}_amd64.apk ; echo y | apk add --allow-untrusted msodbcsql18_${MSSQL_VERSION}_amd64.apk mssql-tools18_${MSSQL_VERSION}_amd64.apk ; else echo >&2 "Detected non x86_64 build variant, skipping MSSQL installation" ; fi; \
74+
if [ $mssql = "true" ] ; then curl -O https://download.microsoft.com/download/3/5/5/355d7943-a338-41a7-858d-53b259ea33f5/msodbcsql18_${MSODBC_VERSION}_${mssql_arch}.apk ; curl -O https://download.microsoft.com/download/3/5/5/355d7943-a338-41a7-858d-53b259ea33f5/mssql-tools18_${MSSQL_VERSION}_${mssql_arch}.apk ; ls -l ; echo y | apk add --allow-untrusted msodbcsql18_${MSODBC_VERSION}_${mssql_arch}.apk mssql-tools18_${MSSQL_VERSION}_${mssql_arch}.apk ; else echo >&2 "Detected non x86_64 or ARM64 build variant, skipping MSSQL installation" ; fi; \
7475
if [ $influx2 = "true" ] ; then curl -sSL https://dl.influxdata.com/influxdb/releases/influxdb2-client-${INFLUX2_VERSION}-linux-${influx_arch}.tar.gz | tar xvfz - --strip=1 -C /usr/src/ ; chmod +x /usr/src/influx ; mv /usr/src/influx /usr/sbin/ ; else echo >&2 "Unable to build Influx 2 on this system" ; fi ; \
7576
clone_git_repo https://github.com/aws/aws-cli "${AWS_CLI_VERSION}" && \
7677
python3 setup.py install --prefix=/usr && \

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
This will build a container for backing up multiple types of DB Servers
1414

15-
Currently backs up CouchDB, InfluxDB, MySQL, MongoDB, Postgres, Redis servers.
15+
Currently backs up CouchDB, InfluxDB, MySQL, Microsoft SQL, MongoDB, Postgres, Redis servers.
1616

1717
* dump to local filesystem or backup to S3 Compatible services, and Azure.
1818
* select database user and password
@@ -149,7 +149,7 @@ Be sure to view the following repositories to understand all the customizable op
149149
| Parameter | Description | Default | `_FILE` |
150150
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------- | ------- |
151151
| `DB_AUTH` | (Mongo Only - Optional) Authentication Database | | |
152-
| `DB_TYPE` | Type of DB Server to backup `couch` `influx` `mysql` `pgsql` `mongo` `redis` `sqlite3` | | |
152+
| `DB_TYPE` | Type of DB Server to backup `couch` `influx` `mysql` `mssql` `pgsql` `mongo` `redis` `sqlite3` | | |
153153
| `DB_HOST` | Server Hostname e.g. `mariadb`. For `sqlite3`, full path to DB file e.g. `/backup/db.sqlite3` | | x |
154154
| `DB_NAME` | Schema Name e.g. `database` or `ALL` to backup all databases the user has access to. Backup multiple by seperating with commas eg `db1,db2` | | x |
155155
| `DB_NAME_EXCLUDE` | If using `ALL` - use this as to exclude databases seperated via commas from being backed up | | x |

0 commit comments

Comments
 (0)