<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-ce.git/lib/backup/database.rb, branch bump_gitlab_shell</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>Stricter mkdir's in 'rake gitlab:backup:create'</title>
<updated>2015-07-30T08:17:34+00:00</updated>
<author>
<name>Jacob Vosmaer</name>
<email>contact@jacobvosmaer.nl</email>
</author>
<published>2015-07-30T08:17:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=baa157926d432f404a41c31ad6514ff8d5366269'/>
<id>baa157926d432f404a41c31ad6514ff8d5366269</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Set internal backup directory modes on create</title>
<updated>2015-07-29T09:18:55+00:00</updated>
<author>
<name>Jacob Vosmaer</name>
<email>contact@jacobvosmaer.nl</email>
</author>
<published>2015-07-29T09:18:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=c5aae3077335ab0eaafb73f51548d4c85413a1d1'/>
<id>c5aae3077335ab0eaafb73f51548d4c85413a1d1</id>
<content type='text'>
This sidesteps problems with running 'chmod' on some CIFS mounts.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This sidesteps problems with running 'chmod' on some CIFS mounts.
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't stop if database.sql.gz already exists</title>
<updated>2015-07-21T08:37:27+00:00</updated>
<author>
<name>Jacob Vosmaer</name>
<email>contact@jacobvosmaer.nl</email>
</author>
<published>2015-07-21T08:37:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=346b07497989c824b201e501dfa24b8af630da8a'/>
<id>346b07497989c824b201e501dfa24b8af630da8a</id>
<content type='text'>
The existing behavior of the backups is to overwrite whatever data
was still there in the scratch directories. This broke when we added
a 'gzip' step because 'gzip database.sql' will fail if 'database.sql.gz'
already exists. Doing 'rm -f database.sql.gz' before the 'gzip'
avoids this failure.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The existing behavior of the backups is to overwrite whatever data
was still there in the scratch directories. This broke when we added
a 'gzip' step because 'gzip database.sql' will fail if 'database.sql.gz'
already exists. Doing 'rm -f database.sql.gz' before the 'gzip'
avoids this failure.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'improve-postgres-restore-cleaning' into 'master'</title>
<updated>2015-07-07T23:02:48+00:00</updated>
<author>
<name>Dmitriy Zaporozhets</name>
<email>dzaporozhets@gitlab.com</email>
</author>
<published>2015-07-07T23:02:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=b9452d7bcd76f519f391595559531cf893960ab6'/>
<id>b9452d7bcd76f519f391595559531cf893960ab6</id>
<content type='text'>

Use native Postgres database cleaning during backup restore

We were using hacks to drop tables etc during a Postgres backup
restore. With this change, we let pg_dump insert the DROP TABLE
statements it needs at the start of the SQL dump.

See merge request !1891</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>

Use native Postgres database cleaning during backup restore

We were using hacks to drop tables etc during a Postgres backup
restore. With this change, we let pg_dump insert the DROP TABLE
statements it needs at the start of the SQL dump.

See merge request !1891</pre>
</div>
</content>
</entry>
<entry>
<title>Use native Postgres database cleaning during backup restore</title>
<updated>2015-07-07T13:34:06+00:00</updated>
<author>
<name>Jacob Vosmaer</name>
<email>contact@jacobvosmaer.nl</email>
</author>
<published>2015-07-07T13:34:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=90ab5a59bb28053c9da768679b8036caa7885e95'/>
<id>90ab5a59bb28053c9da768679b8036caa7885e95</id>
<content type='text'>
We were using hacks to drop tables etc during a Postgres backup
restore. With this change, we let pg_dump insert the DROP TABLE
statements it needs at the start of the SQL dump.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We were using hacks to drop tables etc during a Postgres backup
restore. With this change, we let pg_dump insert the DROP TABLE
statements it needs at the start of the SQL dump.
</pre>
</div>
</content>
</entry>
<entry>
<title>Compress database backup</title>
<updated>2015-07-06T15:14:17+00:00</updated>
<author>
<name>Kamil Trzcinski</name>
<email>ayufan@ayufan.eu</email>
</author>
<published>2015-06-23T13:45:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=69c659ebd3387ec331a30d6bf53d989803f7276f'/>
<id>69c659ebd3387ec331a30d6bf53d989803f7276f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add CRON=1 backup setting for quiet backups</title>
<updated>2014-11-20T14:46:04+00:00</updated>
<author>
<name>Jacob Vosmaer</name>
<email>contact@jacobvosmaer.nl</email>
</author>
<published>2014-11-20T14:46:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=7c54c63ac14eb8f5ce0e364d709988fcfe4dda64'/>
<id>7c54c63ac14eb8f5ce0e364d709988fcfe4dda64</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Drop all Postgres sequences during backup restore</title>
<updated>2014-10-28T17:52:21+00:00</updated>
<author>
<name>Jacob Vosmaer</name>
<email>contact@jacobvosmaer.nl</email>
</author>
<published>2014-10-28T17:52:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=e00e67db42ea3e4b994160dbdc288a8effa14713'/>
<id>e00e67db42ea3e4b994160dbdc288a8effa14713</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fail harder in the backup script</title>
<updated>2014-10-01T13:43:27+00:00</updated>
<author>
<name>Jacob Vosmaer</name>
<email>contact@jacobvosmaer.nl</email>
</author>
<published>2014-10-01T13:43:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=02bf992f378f8b56ec7e698b5d603ded895dd0a4'/>
<id>02bf992f378f8b56ec7e698b5d603ded895dd0a4</id>
<content type='text'>
This change also shows the output of failed Git commands during the
backup.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change also shows the output of failed Git commands during the
backup.
</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>
</feed>
