Hi! I have to backup one or more bare git repositories but I cannot figure out whats the best way to do this.
I want to use this backup plan: Every month => full backup (all branches, tags...) Every night => incremental backup (changes since last incremental/full) For that I run a pre-backup script that calls === cd $repo git bundle create /tmp/gitbackups/$repo-all --all === for every found repository to perform the monthly full backup. But I am not shure how to perform an incremental or differential backup with git. For my SVN repositories I can simply call something like "svnadmin dump -r 1024 --incremental > /tmp/svnbackups/$repo-inc". But how to handle this with git? Maybe I can call "git bundle create --since="yesterday" /tmp/gitbackups/$repo-inc --all" but seems not to be the same. Are there any working solutions for this? ;) Thorsten
0x0B6A93FC.asc
Description: application/pgp-keys
------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users