# Kopia snapshot without $HOME

**URL:** <https://kopia.discourse.group/t/kopia-snapshot-without-home/1492>\
**Category:** Support\
**Created:** [October 21, 2022, 1:16pm UTC](https://kopia.discourse.group/t/kopia-snapshot-without-home/1492 "2022-10-21T13:16:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dazul](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/dazul/32/506_2.png) [@Dazul](https://kopia.discourse.group/u/Dazul)\
**Post date:** [October 21, 2022, 1:16pm UTC](https://kopia.discourse.group/t/kopia-snapshot-without-home/1492/1 "2022-10-21T13:16:46Z")

</div>

Hi,

I am testing Kopia, but I want to use it inside scripts to create backups.

I there a way to use Kopia in a kind of one-liner? Or do I need to do the **repository connect** and then the **disconnect** between the snapshot creation?

I would like to avoid the need of a home folder where kopia writes some stuff.

Thanks
