--
You received this message because you are subscribed to the Google Groups "gitolite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gitolite+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thank you for the prompt reply! That certainly seems much easier than the other instructions. I have a few other questions..
Would I still need to generate ssh-key pairs for the server with the "server-" prefix? If so, in what directory should they be stored? The instructions say "common area" but I'm not sure what would qualify as that. I'm assuming $HOME.
Also, when I manually create the repos on the mirror server, what permissions should each repo have in the gitolite.conf file on the mirror server? Do I put the ip address of the master server? Something like this "git@<ip-address>"?
Thanks, again.
Counting objects: 3, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (1/1), done.
Writing objects: 100% (3/3), 308 bytes | 28.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0)
remote: hello
remote: git2@aec515ld-08
remote: remote: Empty compile time value given to use lib at hooks/update line 6.
remote: remote: Use of uninitialized value in require at hooks/update line 7.
remote: remote: Can't locate Gitolite/Hooks/Update.pm in @INC (you may need to install the Gitolite::Hooks::Update module) (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at hooks/update line 7.
remote: remote: BEGIN failed--compilation aborted at hooks/update line 7.
remote: remote: error: hook declined to update refs/heads/master
remote: To aec515ld-08:repositories/demo
remote: ! [remote rejected] master -> master (hook declined)
remote: error: failed to push some refs to 'git2@aec515ld-08:repositories/demo'
To aec515ld-08:demo
8a37547..21b1e83 master -> master
I added two echos in the script, so as to make sure it's even reading the hook. These echos outputted these two lines you see above:
hello
git2@aec515ld-08
Any idea what might be wrong?
You're absolutely correct. All I need is something extremely simple to act as a backup. I don't know why, but I assumed the slave had to be gitolite server as well. I'll retry again with two new servers, with one as non-gitolite. Thanks!
I have a question . Couldnt it be done with a simple scp or rsync . if its just a backup server why not copping the whole thing into another server . Isnt it a right solution ?