Where do git repos get stored #2437

Closed
opened 2025-11-02 04:36:08 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @pjebs on GitHub (Oct 23, 2018).

If I was to deploy this on a server, would I be able to recreate the "Github" experience?

Where and how do the repos get stored? Are they just folders in the host's filestructure with .git directories?

What is the best process to backup all the repos on a regular basis?

Originally created by @pjebs on GitHub (Oct 23, 2018). If I was to deploy this on a server, would I be able to recreate the "Github" experience? Where and how do the repos get stored? Are they just folders in the host's filestructure with `.git` directories? What is the best process to backup all the repos on a regular basis?
GiteaMirror added the type/question label 2025-11-02 04:36:08 -06:00
Author
Owner

@adelowo commented on GitHub (Oct 23, 2018):

The path to your git repos can be configured in the config file, See repository in https://docs.gitea.io/en-us/config-cheat-sheet/

As for backing up, there is the dump command, So you run gitea dump ( https://docs.gitea.io/en-us/backup-and-restore/ )

@adelowo commented on GitHub (Oct 23, 2018): The path to your git repos can be configured in the config file, See repository in https://docs.gitea.io/en-us/config-cheat-sheet/ As for backing up, there is the `dump` command, So you run `gitea dump` ( https://docs.gitea.io/en-us/backup-and-restore/ )
Author
Owner

@pjebs commented on GitHub (Oct 24, 2018):

Do you think github will be doing this technique. It seems to hinder scaling gitea horizontally.

@pjebs commented on GitHub (Oct 24, 2018): Do you think github will be doing this technique. It seems to hinder scaling gitea horizontally.
Author
Owner

@lunny commented on GitHub (Oct 24, 2018):

You could use a distributed file system but mount them on the server.

@lunny commented on GitHub (Oct 24, 2018): You could use a distributed file system but mount them on the server.
Author
Owner

@pjebs commented on GitHub (Oct 24, 2018):

Are you talking about something like Elastic Block Service (AWS)?

@pjebs commented on GitHub (Oct 24, 2018): Are you talking about something like Elastic Block Service (AWS)?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2437