# Dvc get, wrong configuration used?

**URL:** <https://discuss.dvc.org/t/dvc-get-wrong-configuration-used/2423>\
**Category:** Questions\
**Created:** [February 5, 2025, 5:03pm UTC](https://discuss.dvc.org/t/dvc-get-wrong-configuration-used/2423 "2025-02-05T17:03:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ali](https://avatars.discourse-cdn.com/v4/letter/a/8c91f0/32.png) [@Ali](https://discuss.dvc.org/u/Ali)\
**Post date:** [February 5, 2025, 5:03pm UTC](https://discuss.dvc.org/t/dvc-get-wrong-configuration-used/2423/1 "2025-02-05T17:03:04Z")

</div>

Hello everyone, I have a git repo **({AI\_Models\_Repo})** in which I use dvc to track AI models. I used to have a single remote, linked to storagebox (ssh). I very recently added an S3 remote called s3-storage.

I have a second repo, **({B})**, from which I want to pull some of these models when needed. After reading the documentation, it seemed that “dvc get” is what I needed. I also want to exclusively use the S3 remote from that repo to get the models.

The following command works fine:  
`dvc get {AI_Models_Repo} {model_path} --rev {REVISION} -o {output_path}`

But it pulls the model I need from storagebox, so I’ve added the `--remote s3-storage` flag:  
`dvc get {AI_Models_Repo} {model_path} --rev {REVISION} -o {output_path} --remote s3-storage`

I’ve got the following error:

```auto
ERROR: unexpected error - [Errno 2] No storage files available: 'models/parts/yolov11/runs/segment/train/weights/best.pt'                                                         

```

If I remove the `--rev {REVISION}` flag, it works great and gets the latest model from the s3 storage.

I’ve manually checked my S3 bucket (aws s3 ls), and I found the md5sum of the model that corresponds to the version (revision) I am trying to pull there.

I am not sure how to fix this. I think I am confusing a few things about `dvc get`:

1. Is it using the .dvc/config file of the {AI\_Models\_Repo} repository, instead of the dvc/config file of the repo I am starting the “dvc get” command from **({B})**?
2. If yes, is there a way to override this behavior? I want to always use **({B})**/.dvc/config when I run `dvc get` from within **({B})**.
3. Do I need to run any additional commands from the {AI\_Models\_Repo} repo to make sure all previous versions of my models are correctly uploaded to my new S3 remote and synced?

Thanks for your help and time!
