|
Download code/docs/minio_setup.md from d9993r/CRICKET: direct link, hf CLI and curl.
- Browser
- Download file 793 Bytes
-
https://huggingface.co/datasets/d9993r/CRICKET/resolve/main/code/docs/minio_setup.md
- Command line
-
hf download hf://datasets/d9993r/CRICKET/code/docs/minio_setup.md
-
curl -L -o minio_setup.md https://huggingface.co/datasets/d9993r/CRICKET/resolve/main/code/docs/minio_setup.md
793 Bytes
| # Object storage with MinIO (standard section 11.2) | |
| MinIO is a free S3-compatible server you can run on the lab machine or a second PC. | |
| ```bash | |
| mkdir -p ~/minio-data | |
| docker run -d -p 9000:9000 -p 9001:9001 -v ~/minio-data:/data \ | |
| -e MINIO_ROOT_USER=foundry -e MINIO_ROOT_PASSWORD='change-this-password' \ | |
| quay.io/minio/minio server /data --console-address ":9001" | |
| pip install boto3 | |
| export AWS_ACCESS_KEY_ID=foundry AWS_SECRET_ACCESS_KEY='change-this-password' | |
| python code/backup.py --s3 http://127.0.0.1:9000 --bucket cricket-data-foundry | |
| ``` | |
| Every file is stored with its sha256 in the object metadata, and unchanged files are skipped. | |
| Keep a second, physically separate copy too: `python code/backup.py --to /media/usb/cricket_backup`, | |
| then `--verify` before deleting anything local. | |