CLI to backup your git repos and store either locally and/or in another remote supported platform, currently only S3 buckets.
node 18
npm install
npm run build
export GIT_USERNAME="username"
export GIT_PASSWORD="password,PAT,etc"
node ./build/index.js backup-repo https://<repo domain>.git -o <out file name> -b <s3 bucket name>
You can omit the "-b" flag to avoid submitting the out file to a S3 bucket.
node ./build/index.js backup-repo -fr text_file_containing_repos -o <out file name> -b <s3 bucket name>