Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8187355
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T02:32:03+00:00 2026-06-07T02:32:03+00:00

I want to use GIT as a Backup solution. I have a windows shared

  • 0

I want to use GIT as a Backup solution.
I have a windows shared network in my Company and a Centos Server.
Each user have a unique shared folder, where is located all files of user. We have 2 developers, they can have a git repo(s).

How Can I make the entire folder of user a GIT repo, a perform usual git operations, commit, push, etc, without import if subfolders have git repos?

Note: Submodules is not a solution, I don’t know what repositories is under the main folder of user.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T02:32:05+00:00Added an answer on June 7, 2026 at 2:32 am

    There are a number of reasons why Git does not make a good backup solution:

    • you cannot have nested Git repositories — there is no way to coerce Git to treat a nested .git directory like a normal directory
    • it doesn’t save complete permissions and ownership
    • its index format does not scale to many files
    • it does not handle large files well (it runs out of memory because it needs to put the entire file in memory to compress — or at least that was true about a year ago, maybe they’ve fixed it)
    • while the compression is good for source code, it’s not very good for virtual machine images, etc.
    • backing up to a remote system involves backing up locally first
    • no defense against backup file corruption

    That being said, there are some reasons why Git would be awesome as a backup solution:

    • every backup is a complete snapshot — you don’t need to restore an old full backup followed by some number of incremental backups in order to get the latest files
    • ridiculously good deduplication performance
    • good space efficiency in general
    • great support for efficiently transferring backups to remote systems

    My recommendation: take a look at bup. It’s not very mature, it’s not seeing much active development, and it lacks some important features, but it has a lot of promise. It’s an open source backup program based on Git. They’ve kept the things Git does well, but replaced/augmented some of the things Git does poorly (for backups).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to have a bare git repository stored on a (windows) network share.
A noob here. I have a personal Macbook and I want to use Git
I have an unusual idea to use git as a backup system. So let's
I want to use PHP writing git hooks but have some problem. I use
new git user here. I want to use git, but i'm in an SVN
After a merge I want to use git mergetool to resolve the issue but
I want to use opendiff as default diff-tool for git diff. This used to
I don't want to submit projectname.project folder. Now, I use like that git add
I tend to use the bisect command in git extensively. Now I want to
i want use some data from a website with web service. i have a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.