<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-ce.git/lib/backup, branch gitlab-flow</title>
<subtitle>gitlab.com: gitlab-org/gitlab-ce.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/'/>
<entry>
<title>Backup wiki repo even if the main repo is empty</title>
<updated>2014-05-08T20:50:48+00:00</updated>
<author>
<name>Jacob Vosmaer</name>
<email>contact@jacobvosmaer.nl</email>
</author>
<published>2014-05-08T20:49:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=0f29ccffd2b9805545db63d8266bb8367de1e35c'/>
<id>0f29ccffd2b9805545db63d8266bb8367de1e35c</id>
<content type='text'>
This fixes a bug where wiki repositories for projects with an empty main
repository would not get backed up.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes a bug where wiki repositories for projects with an empty main
repository would not get backed up.
</pre>
</div>
</content>
</entry>
<entry>
<title>Apply the locale encoding to `tar --version`</title>
<updated>2014-05-08T16:23:44+00:00</updated>
<author>
<name>Jacob Vosmaer</name>
<email>contact@jacobvosmaer.nl</email>
</author>
<published>2014-05-08T09:02:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=da347d1bb45ad3b08b2aa0b40041c67dac0df3c5'/>
<id>da347d1bb45ad3b08b2aa0b40041c67dac0df3c5</id>
<content type='text'>
Fixes a bug with non-UTF8 locales introduced by
2b816075dc71dfe8f6f9e5349fdff7f03ad9dad0.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes a bug with non-UTF8 locales introduced by
2b816075dc71dfe8f6f9e5349fdff7f03ad9dad0.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use ProjectWiki instead of GollumWiki in code</title>
<updated>2014-04-09T11:35:58+00:00</updated>
<author>
<name>Dmitriy Zaporozhets</name>
<email>dmitriy.zaporozhets@gmail.com</email>
</author>
<published>2014-04-09T11:35:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=1bd28994ccde18228a1c295110a283c79dfe70ee'/>
<id>1bd28994ccde18228a1c295110a283c79dfe70ee</id>
<content type='text'>
Signed-off-by: Dmitriy Zaporozhets &lt;dmitriy.zaporozhets@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Dmitriy Zaporozhets &lt;dmitriy.zaporozhets@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Drop all tables before restoring a PostgreSQL DB</title>
<updated>2014-03-28T12:44:46+00:00</updated>
<author>
<name>Jacob Vosmaer</name>
<email>contact@jacobvosmaer.nl</email>
</author>
<published>2014-03-28T12:38:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=77b57c114be6b1fa02538c35066ccc363bfe68e6'/>
<id>77b57c114be6b1fa02538c35066ccc363bfe68e6</id>
<content type='text'>
Invoking 'db:schema:load' turned out to be a bad idea: when downgrading
an existing GitLab installation, the schema of the newer version would
be preserved when trying to import the old version.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Invoking 'db:schema:load' turned out to be a bad idea: when downgrading
an existing GitLab installation, the schema of the newer version would
be preserved when trying to import the old version.
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace backticks with Gitlab::Popen</title>
<updated>2014-03-03T07:40:29+00:00</updated>
<author>
<name>Jacob Vosmaer</name>
<email>contact@jacobvosmaer.nl</email>
</author>
<published>2014-02-25T11:12:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=2b816075dc71dfe8f6f9e5349fdff7f03ad9dad0'/>
<id>2b816075dc71dfe8f6f9e5349fdff7f03ad9dad0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title> Merge branch 'backup_uploads_symlink' into 'master'</title>
<updated>2014-03-01T12:55:13+00:00</updated>
<author>
<name>Dmitriy Zaporozhets</name>
<email>dmitriy.zaporozhets@gmail.com</email>
</author>
<published>2014-03-01T12:55:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=54e40241f6a61d0fae658501497bb5fb4e342989'/>
<id>54e40241f6a61d0fae658501497bb5fb4e342989</id>
<content type='text'>
Backup Uploads Symlink
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Backup Uploads Symlink
</pre>
</div>
</content>
</entry>
<entry>
<title>Use Gitlab::VERSION to version backups</title>
<updated>2014-02-27T13:30:41+00:00</updated>
<author>
<name>Jacob Vosmaer</name>
<email>contact@jacobvosmaer.nl</email>
</author>
<published>2014-02-27T13:30:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=75f274b7505935cc5fd0b609a83afb1c8aaba79b'/>
<id>75f274b7505935cc5fd0b609a83afb1c8aaba79b</id>
<content type='text'>
Previous to this commit, backups were tied to the git revision (SHA1) of
the app at the time the backup:create command was invoked. If the SHA1
at the time of restore was different, the script would refuse to restore
the backup.  This commit loosens this tie so that the backup script only
complains if the value of the Gitlab::VERSION constant is different
between the time of backup and the time of restore.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previous to this commit, backups were tied to the git revision (SHA1) of
the app at the time the backup:create command was invoked. If the SHA1
at the time of restore was different, the script would refuse to restore
the backup.  This commit loosens this tie so that the backup script only
complains if the value of the Gitlab::VERSION constant is different
between the time of backup and the time of restore.
</pre>
</div>
</content>
</entry>
<entry>
<title> Merge branch 'pg_force_restore' into 'master'</title>
<updated>2014-02-27T12:27:30+00:00</updated>
<author>
<name>Dmitriy Zaporozhets</name>
<email>dmitriy.zaporozhets@gmail.com</email>
</author>
<published>2014-02-27T12:27:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=0a963ee15a3c544fcf647ae94d348fe3369251c9'/>
<id>0a963ee15a3c544fcf647ae94d348fe3369251c9</id>
<content type='text'>
Pg Force Restore
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pg Force Restore
</pre>
</div>
</content>
</entry>
<entry>
<title>Empty the database during Postgres backup restore</title>
<updated>2014-02-26T17:26:31+00:00</updated>
<author>
<name>Jacob Vosmaer</name>
<email>contact@jacobvosmaer.nl</email>
</author>
<published>2014-02-26T17:26:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=8fe10e642ad9b5d236d2b00cea475bdc519130c0'/>
<id>8fe10e642ad9b5d236d2b00cea475bdc519130c0</id>
<content type='text'>
The expected behavior during a GitLab backup restore is to overwrite
existing database data. This works for MySQL because the output of
mysqldump contains 'DROP TABLE IF EXISTS' statements. pg_dump on the
other hand assumes that one will restore into an empty database. When
this is not the case, during the restore with psql some of the data will
be skipped if existing data is 'in the way'. By first invoking `rake
db:schema:load` during a Postgres GitLab backup restore, we make sure
that all important data is correctly restored.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The expected behavior during a GitLab backup restore is to overwrite
existing database data. This works for MySQL because the output of
mysqldump contains 'DROP TABLE IF EXISTS' statements. pg_dump on the
other hand assumes that one will restore into an empty database. When
this is not the case, during the restore with psql some of the data will
be skipped if existing data is 'in the way'. By first invoking `rake
db:schema:load` during a Postgres GitLab backup restore, we make sure
that all important data is correctly restored.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use gitlab_shell.path to invoke rewrite-hooks.sh</title>
<updated>2014-02-26T16:32:52+00:00</updated>
<author>
<name>Jacob Vosmaer</name>
<email>contact@jacobvosmaer.nl</email>
</author>
<published>2014-02-26T16:32:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=91c70c5b1c60160253520a5ac6ac3eec46faf416'/>
<id>91c70c5b1c60160253520a5ac6ac3eec46faf416</id>
<content type='text'>
The backup restore code for repositories was assuming that gitlab-shell
is installed in /home/git/gitlab-shell. This commit changes that to use
the configuration setting from gitlab.yml that specifies the path where
gitlab-shell is installed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The backup restore code for repositories was assuming that gitlab-shell
is installed in /home/git/gitlab-shell. This commit changes that to use
the configuration setting from gitlab.yml that specifies the path where
gitlab-shell is installed.
</pre>
</div>
</content>
</entry>
</feed>
