This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build_web: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
function initStaticParams | |
{ | |
MONGODB_SERVER=127.0.0.1 | |
MONOGDB_PORT=27017 | |
MONGODB_USER= | |
MONGODB_PWD= | |
OUTPUT_DIRECTORY=/mnt/backups/oplogs | |
LOG_FILE="/appl/mongo-backup/logs/backup.log" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# OPLOG_LIMIT: only include oplog entries before the provided Timestamp | |
# The timestamp is a unix timestamp | |
# If your desaster happened for example on 2017-18-10 12:20 and you want to restore until 12:19 | |
# your timestamp is 'date -d "2017-10-18 12:19:00" +%s' | |
FULL_DUMP_DIRECTORY=$1 | |
OPLOGS_DIRECTORY=$2 | |
OPLOG_LIMIT=$3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Proton vpn credentials free tier | |
OPENVPN_USER= | |
OPENVPN_PASSWORD= | |
SERVER_COUNTRIES=Netherlands,United States,Japan | |
FREE_ONLY=on | |
#linux accessid | |
PUID=1000 | |
PGID=1000 | |
#timezone | |
TZ=Asia/Kolkata |