anchor.diff:  
   # Generated by Chef
   
  -# ./usr/local/openvpn_as/scripts/sqlite3 <[TEXT_FILE] [DB_FILE]
  +# ./usr/local/openvpn_as/scripts/sqlite3 [DB_FILE] < [TEXT_FILE]
   
   # /usr/local/openvpn_as/etc
   # certs.db
  
positive.code: RESTORE_DIR=/tmp/openvpnas_restore
  
  echo 'starting restore'
  
  # make a temporary restore directory
  mkdir -p $RESTORE_DIR
  
negative.code: 
  # download the latest backup
  RESTORE_NAME=$(/usr/local/bin/aws s3 ls s3://$RESTORE_BUCKET | grep -o 'openvpnas-backup[^\n]*' | tail -1)
  /usr/local/bin/aws s3 cp s3://$RESTORE_BUCKET/$RESTORE_NAME openvpnas-backup.tar.gz
  
  # extract the backup to the temp dir
  
  