We have a small Gerrit(2.15.2) installation and we already have migrated to NoteDB. What confuses me is ASFAIK backing up just git directory is enough but sometimes I doubt it. Is it really enoughIf it is enough can we schedule backups using replication plugin? Which refs should specified?
Hi,First of all, our team members are much happier using Gerrit.We have a small Gerrit(2.15.2) installation and we already have migrated to NoteDB. What confuses me is ASFAIK backing up just git directory is enough but sometimes I doubt it. Is it really enough
If it is enough can we schedule backups using replication plugin? Which refs should specified?
--Thanks,Abbas.
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Wed, Jun 13, 2018 at 9:14 AM Abbas Yazdanpanah <yazdan...@gmail.com> wrote:Hi,First of all, our team members are much happier using Gerrit.We have a small Gerrit(2.15.2) installation and we already have migrated to NoteDB. What confuses me is ASFAIK backing up just git directory is enough but sometimes I doubt it. Is it really enoughIf you have fully migrated to NoteDb (including changes) all Gerrit meta data is stored in the git repositories.See point 'consistency' in [1] which mentions backups.In addition to the git directory I would also backup the other folders of the gerrit site dir, so that you also have a backup of your gerrit configuration, installed plugins etc.If it is enough can we schedule backups using replication plugin? Which refs should specified?For backup purposes I would not solely rely on the replication plugin, e.g. if a ref gets deleted and this ref deletion gets replicated, you don't have a backup from where you could restore that ref. So in addition to using the replication plugin I would always make backups on filesystem level too.
You must make sure to include all refs into the backup.[2] and [3] list the refs that are needed for accounts and groups.I think we are missing such a list for changes.
Thanks for your help.
On Wednesday, June 13, 2018 at 12:07:43 PM UTC+4:30, Edwin Kempin wrote:On Wed, Jun 13, 2018 at 9:14 AM Abbas Yazdanpanah <yazdan...@gmail.com> wrote:Hi,First of all, our team members are much happier using Gerrit.We have a small Gerrit(2.15.2) installation and we already have migrated to NoteDB. What confuses me is ASFAIK backing up just git directory is enough but sometimes I doubt it. Is it really enoughIf you have fully migrated to NoteDb (including changes) all Gerrit meta data is stored in the git repositories.See point 'consistency' in [1] which mentions backups.In addition to the git directory I would also backup the other folders of the gerrit site dir, so that you also have a backup of your gerrit configuration, installed plugins etc.If it is enough can we schedule backups using replication plugin? Which refs should specified?For backup purposes I would not solely rely on the replication plugin, e.g. if a ref gets deleted and this ref deletion gets replicated, you don't have a backup from where you could restore that ref. So in addition to using the replication plugin I would always make backups on filesystem level too.I'll backup all $site_path files.You must make sure to include all refs into the backup.[2] and [3] list the refs that are needed for accounts and groups.I think we are missing such a list for changes.It seems that if we could aggregate all related information in single document it would be great. I would be more than happy to help this happen.