Kopia snapshot without $HOME


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.