Hi Thorsten,
I'd suggest to create a specific job with as below Job {
Name = Backup_Git
Type = Backup
Client = yourclient
Pool = YourPool
... ...
ClientRunBeforeJob = "/usr/local/sbin/pre-backup-git.sh"
} Create a shell script and configure the Job parameter ClientRunBeforeJob In the script pre-backup-git.sh, use the command below somewhere and replace the gitrepository
#!/bin/sh ... somefolder = "/opt/gitbackup" gitrepository = "/home/myself/git/myrepo" $ git clone --mirror $gitrepository $somefolder ...
About Full / Incremental backup, If I'm not wrong, you can (on the file level) make an incremental backup but it wouldn't be useful at all. So my recommandation would be to perform only Full backups on a daily basis.
Hope it would help you
Best regards
------------------------------------------------------------------------------
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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|