# DVC support for the local storage

**URL:** <https://discuss.dvc.org/t/dvc-support-for-the-local-storage/71>\
**Category:** Questions\
**Created:** [August 17, 2018, 7:13am UTC](https://discuss.dvc.org/t/dvc-support-for-the-local-storage/71 "2018-08-17T07:13:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jagdeesh](https://avatars.discourse-cdn.com/v4/letter/j/3d9bf3/32.png) [@jagdeesh](https://discuss.dvc.org/u/jagdeesh)\
**Post date:** [August 17, 2018, 7:13am UTC](https://discuss.dvc.org/t/dvc-support-for-the-local-storage/71/1 "2018-08-17T07:13:01Z")

</div>

HI  
Can we add local storage for DVC. like (i dont want to store it on s3 or gcp, need to only point to local storage)  
ex :

1. dvc add file:\\ xxx.xx.xx.x\images\annex\dvc-storage  
or
2. dvc add X:/annex/dvc-storage/data.xml ( local storage)  
After trying above option. i am getting error.  
Initialization error: Config file error: Unsupported URL.  
Please provide an appropriate solution or syntax

Note : storage is tyron. the storage location is mounted to window or on linux.

With ref : [Does DVC fit in a Local Area Network infrastucture where git repos are not in the computing server?](https://discuss.dvc.org/t/does-dvc-fit-in-a-local-area-network-infrastucture-where-git-repos-are-not-in-the-computing-server/24/3)

---

<div class="post-metadata">

**Author:** ![kupruser](https://avatars.discourse-cdn.com/v4/letter/k/e95f7d/32.png) [@kupruser](https://discuss.dvc.org/u/kupruser)\
**Post date:** [August 17, 2018, 8:47am UTC](https://discuss.dvc.org/t/dvc-support-for-the-local-storage/71/2 "2018-08-17T08:47:28Z")

</div>

Hi @jagdeesh !

If I’ve understood your scenario correctly from the previous post, you want to use mounted `dvc-storage` directory as a local remote for your dvc projects, so you and your team could `dvc push/pull` from/to it the cache for your projects, right? If so, you should use this command(I assume you are running Windows):

```auto
$ dvc remote add myremote X:\\annex\dvc-storage -d

```

which will tell dvc where the remote storage is located and after that you could simply use

```auto
$ dvc push # to upload your cache to the local storage
$ dvc pull # to download cache from the local storage

```

Our [“get started” guide](https://dvc.org/doc/get-started) actually goes through the process of setting up a dvc project with a “local remote storage”, which looks to be precisely what you are trying to accomplish. Please take a look at it, it should be useful. Feel free to followup with any questions, we are always happy to help.

Thanks,  
Ruslan

---

<div class="post-metadata">

**Author:** ![jagdeesh](https://avatars.discourse-cdn.com/v4/letter/j/3d9bf3/32.png) [@jagdeesh](https://discuss.dvc.org/u/jagdeesh)\
**Post date:** [August 17, 2018, 9:18am UTC](https://discuss.dvc.org/t/dvc-support-for-the-local-storage/71/3 "2018-08-17T09:18:53Z")

</div>

Hi @kupruser!.

Thanks for the quick reply it resolved my issue with small changes.

Url stored in the config  
dvc add X:\annex\dvc-storage store in config file as  
X:\annex\dvc-storage

with changes ;  
dvc add X:\annex\dvc-storage in config file (\) it double back slash.  
X:\annex\dvc-storage

Thank tyou
