<commit_before># S3 Backup Script for Servers

Backs up databases matching a given Regular Expression, and/or pre-defined directories to S3.

---

	This is an internal tool for Shed Collective.
	No warranties are given or implied and you use at your own risk!

---



## Configuration

You will need to specify a file at the same level as `backup.sh` called `config.sh`; looks like this, adjust to your needs:


    # Turn on DB Backup
    BACKUPDB=false
<commit_msg>Slight change to README.md - DBs were turned off by default<commit_after># S3 Backup Script for Servers

Backs up databases matching a given Regular Expression, and/or pre-defined directories to S3.

---

	This is an internal tool for Shed Collective.
	No warranties are given or implied and you use at your own risk!

---



## Configuration

You will need to specify a file at the same level as `backup.sh` called `config.sh`; looks like this, adjust to your needs:


    # Turn on DB Backup
    BACKUPDB=true

{'fraction_non_alphanumeric': 0.06128702757916241, 'fraction_numerical': 0.0040858018386108275, 'mean_word_length': 3.434389140271493, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '584090', 'n_tokens_mistral': 294, 'n_tokens_neox': 279, 'n_words': 145}