Incremental Backup of repositories using Git
- From
- Akash S <akashs@commvault.com>
- Date
- May 5, 2025, 14:35 UTC
- Message-ID
- <PH7PR19MB70252D42F5D04FFC0331AB63C08E2@PH7PR19MB7025.namprd19.prod.outlook.com>
Hi,
Currently we are backing up repositories using the "git clone -bare" command and save it to disk. If we want to restore, we just run git push -mirror from the repo that was saved during the backup.
Currently we are running full backups (run git clone -bare) everyday, which is taking a lot of disk space and time.
Are there any possible ways to backup only the incremental changes of a repository? And somehow construct the whole repository when we want to do a restore from the incremental backups?
Thanks, Akash