# KOTS: Inspect KOTS Admin Console data in Minio

**URL:** <https://community.replicated.com/t/kots-inspect-kots-admin-console-data-in-minio/1460>\
**Category:** How do I?\
**Tags:** kots\
**Created:** [December 5, 2024, 12:51am UTC](https://community.replicated.com/t/kots-inspect-kots-admin-console-data-in-minio/1460 "2024-12-05T00:51:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![GerardNguyen](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.replicated.com/gerardnguyen/32/828_2.png) [@GerardNguyen](https://community.replicated.com/u/GerardNguyen)\
**Post date:** [December 5, 2024, 12:51am UTC](https://community.replicated.com/t/kots-inspect-kots-admin-console-data-in-minio/1460/1 "2024-12-05T00:51:40Z")

</div>

The Replicated KOTS Admin Console uses Minio as default persistent storage for state. MinIO stores several critical types of data, such as: application archives, support bundles, backup data.

This guide explains how to inspect and retrieve data from MinIO, which can be particularly useful when troubleshooting or when the KOTS Admin Console is unavailable.

## Connect to MinIO server

```auto
kubectl exec -it sts/kotsadm-minio -- sh
mc alias set myminio http://localhost:9000 $MINIO_ACCESS_KEY $MINIO_SECRET_KEY

```

If MinIO server is installed as kURL [add-on](https://kurl.sh/docs/add-ons/minio)

```auto
kubectl exec -it deploy/minio -n minio -- sh
mc alias set myminio http://localhost:9000 $MINIO_ACCESS_KEY $MINIO_SECRET_KEY

```

## View Minio System Information and Storage Usage

```auto
mc admin info myminio
● localhost:9000
   Uptime: 21 hours
   Version: 2024-11-07T00:52:20Z
   Network: 1/1 OK
   Drives: 1/1 OK
   Pool: 1

┌──────┬───────────────────────┬─────────────────────┬──────────────┐
│ Pool │ Drives Usage │ Erasure stripe size │ Erasure sets │
│ 1st │ 9.6% (total: 277 GiB) │ 1 │ 1 │
└──────┴───────────────────────┴─────────────────────┴──────────────┘

3.2 MiB Used, 1 Bucket, 13 Objects
1 drive online, 0 drives offline, EC:0

```

## List all application archives

```auto
mc ls --summarize --recursive myminio/kotsadm/
[2024-12-04 02:51:25 UTC] 250KiB STANDARD 2pjXdGcNeYbC9PLHO7yLSqGSnCD/<sequence>.tar.gz
...
Total Size: 3.2 MiB
Total Objects: 13

```

## Retrieving and Examining Archives

```auto
cd /tmp
mc cp myminio/kotsadm/2pjXdGcNeYbC9PLHO7yLSqGSnCD/<sequence>.tar.gz .

```

## View config values for specific application archive sequence

```auto
tar zxvf <sequence>.tar.gz
cat kotsKinds/userdata/config.yaml

```
