# How to continue to download database from where it was disrupted

**URL:** <https://forum.biobakery.org/t/how-to-continue-to-download-database-from-where-it-was-disrupted/5511>\
**Category:** KneadData\
**Created:** [June 22, 2023, 3:57pm UTC](https://forum.biobakery.org/t/how-to-continue-to-download-database-from-where-it-was-disrupted/5511 "2023-06-22T15:57:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![liyangsdu](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/liyangsdu/32/2231_2.png) [@liyangsdu](https://forum.biobakery.org/u/liyangsdu)\
**Post date:** [June 22, 2023, 3:57pm UTC](https://forum.biobakery.org/t/how-to-continue-to-download-database-from-where-it-was-disrupted/5511/1 "2023-06-22T15:57:56Z")

</div>

I used the command ‘’'biobakery\_workflows\_databases --install wmgx --location /biobakery" to download many times, but always failed at the step of downloading kneadData databases:  
CRITICAL ERROR: Unable to download and extract from URL: [http://huttenhower.sph.harvard.edu/kneadData\_databases/Homo\_sapiens\_hg37\_and\_human\_contamination\_Bowtie2\_v0.1.tar.gz](http://huttenhower.sph.harvard.edu/kneadData_databases/Homo_sapiens_hg37_and_human_contamination_Bowtie2_v0.1.tar.gz)  
Unable to install database. Error running command:

Everytime it failed, I have to rerun the command, which means I have to download the huge databases that have been downloaded before the error. How to download the rest databases from where it was disrupted?

---

<div class="post-metadata">

**Author:** ![sagunmaharjann](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/sagunmaharjann/32/168_2.png) [@sagunmaharjann](https://forum.biobakery.org/u/sagunmaharjann)\
**Post date:** [June 25, 2023, 3:25am UTC](https://forum.biobakery.org/t/how-to-continue-to-download-database-from-where-it-was-disrupted/5511/2 "2023-06-25T03:25:58Z")

</div>

Hello @liyangsdu ,  
We sometimes experience latency with downloads from our server due to the hosting configuration. We are working to resolve this in the near future. For now, please try again.

Regards,  
Sagun

---

<div class="post-metadata">

**Author:** ![liyangsdu](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/liyangsdu/32/2231_2.png) [@liyangsdu](https://forum.biobakery.org/u/liyangsdu)\
**Post date:** [June 28, 2023, 8:54pm UTC](https://forum.biobakery.org/t/how-to-continue-to-download-database-from-where-it-was-disrupted/5511/3 "2023-06-28T20:54:19Z")

</div>

Thanks. I tried several times. My downloading is always stopped in the middle with an error “A custom install location was selected. Please set the environment variable $BIOBAKERY\_WORKFLOWS\_DATABASES to the install location.”

Actually, I set the environmental variable in /root/.bashrc in docker container (export BIOBAKERY\_WORKFLOWS\_DATABASES=“/this is path”). What’s wrong with this?
