Skip to content

Release v0.2.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 22 Jan 17:00

backup-ns v0.2.0

Docker image

docker pull ghcr.io/allaboutapps/backup-ns:v0.2.0

Local Installation (Linux/amd64)

curl -Lo backup-ns.tar.gz https://github.com/allaboutapps/backup-ns/releases/download/v0.2.0/backup-ns-linux-amd64.tar.gz
tar xzf backup-ns.tar.gz
chmod +x backup-ns-linux-amd64
sudo mv backup-ns-linux-amd64 /usr/local/bin/backup-ns
rm backup-ns.tar.gz

Local Installation (macOS/arm64)

curl -Lo backup-ns.tar.gz https://github.com/allaboutapps/backup-ns/releases/download/v0.2.0/backup-ns-darwin-arm64.tar.gz
tar xzf backup-ns.tar.gz
chmod +x backup-ns-darwin-arm64
sudo mv backup-ns-darwin-arm64 /usr/local/bin/backup-ns
rm backup-ns.tar.gz

Adhoc backup script

curl -Lo create-adhoc-backup.sh.tar.gz https://github.com/allaboutapps/backup-ns/releases/download/v0.2.0/create-adhoc-backup.sh.tar.gz
tar xzf create-adhoc-backup.sh.tar.gz
chmod +x create-adhoc-backup.sh
sudo mv create-adhoc-backup.sh /usr/local/bin/
rm create-adhoc-backup.sh.tar.gz

Install as Dockerfile layer (for DevContainers)

RUN set -x; BACKUP_NS_VERSION="v0.2.0" \
  && BACKUP_NS_TMP="$(mktemp -d)" \
  && cd "${BACKUP_NS_TMP}" \
  && ARCH="$(uname -m | sed -e 's/x86_64/amd64/' -e 's/\(arm\)\(64\)\?.*/\1\2/' -e 's/aarch64$/arm64/')" \
  && curl -fsSLO "https://github.com/allaboutapps/backup-ns/releases/download/${BACKUP_NS_VERSION}/backup-ns-linux-${ARCH}.tar.gz" \
  && tar zxvf "backup-ns-linux-${ARCH}.tar.gz" \
  && chmod +x "backup-ns-linux-${ARCH}" \
  && cp "backup-ns-linux-${ARCH}" /usr/local/bin/backup-ns \
  && curl -fsSLO "https://github.com/allaboutapps/backup-ns/releases/download/${BACKUP_NS_VERSION}/create-adhoc-backup.sh.tar.gz" \
  && tar zxvf "create-adhoc-backup.sh.tar.gz" \
  && chmod +x create-adhoc-backup.sh \
  && cp create-adhoc-backup.sh /usr/local/bin/ \
  && rm -rf "${BACKUP_NS_TMP}"