# Restore LFS from local Gitea files

**URL:** <https://forum.gitea.com/t/restore-lfs-from-local-gitea-files/5119>\
**Category:** Install/Maintain/Configure\
**Created:** [April 28, 2022, 10:09am UTC](https://forum.gitea.com/t/restore-lfs-from-local-gitea-files/5119 "2022-04-28T10:09:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Topograph](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/topograph/32/2606_2.png) [@Topograph](https://forum.gitea.com/u/Topograph)\
**Post date:** [April 28, 2022, 10:09am UTC](https://forum.gitea.com/t/restore-lfs-from-local-gitea-files/5119/1 "2022-04-28T10:09:41Z")

</div>

Hi!

My Goal is to be able to restore Gitea repository data without setting up a Gitea instance.

What i have done:

I copied (from my gitea server) the **gitea/data/git** directory to my local PC.

then i ran `git clone gitea/data/git/repositories/my-organisation/my-repo.git`

This works for any repository except for those with LFS-Files, because git then tells me that those cannot be located.

Is it possible to check out a repository from this local data with LFS Files intact?
