Skip to content

Instantly share code, notes, and snippets.

View cdukebwell's full-sized avatar

Chris Duke cdukebwell

  • BWell
  • Portland, OR
View GitHub Profile
@cdukebwell
cdukebwell / mongosync.sh
Last active May 26, 2022 14:16
Simple mongo dump/restore
#!/bin/bash
lookbackDate=`date -d "6 hours ago" +"%Y-%m-%dT%H:%M:%S%z"`
echo $lookbackDate
while IFS= read -r c
do
echo "Queuing...${c}"
mongodump \
--config=/home/ubuntu/aws-prod-cs \
@cdukebwell
cdukebwell / keybase.md
Created December 7, 2021 22:04
Keybase ID

Keybase proof

I hereby claim:

  • I am cdukebwell on github.
  • I am cduke (https://keybase.io/cduke) on keybase.
  • I have a public key ASDF6-F37luGGG5vxVvivhx0ehExkZ0zh6Z4RA3GfCKr-go

To claim this, I am signing this object: