Commit Graph

184 Commits

Author SHA1 Message Date
Achilleas Pipinellis aafa3f9fe0 Merge branch 'harish-update-backup-restore-docs' into 'master'
Document that instance types must match when restoring a backup

See merge request !12639
2017-07-27 16:01:44 +00:00
Markus Koller d27dec80ce
Support custom directory in gitlab:backup:create task 2017-07-27 13:24:19 +02:00
Harish Ramachandran 1843eeff0c Docs: Specify that backup restoration must be of the same type 2017-07-04 18:15:18 -04:00
Nick Thomas b2800ee0c7 Add a Rake task to aid in rotating otp_key_base 2017-06-05 22:17:52 +01:00
Yuanfei Zhu 3c00df8290 Add fog-aliyun as backup storage provider 2017-06-01 16:40:33 +02:00
Achilleas Pipinellis d2889b6770 Refactor backup/restore docs 2017-04-25 11:46:45 +02:00
Cindy Pallares 21eecf4dda Reword backup & restore secrets description
The new description will make it more clear that
there are 3 separate things being affected and not
just 2FA.
2017-04-20 13:36:25 -05:00
Rémy Coutable 8526c9f3c4 Merge branch 'backup_storage_class' into 'master'
Add storage class configuration option for Amazon S3 remote backups

See merge request !9599
2017-03-06 17:42:30 +00:00
Rémy Coutable cce6ed9687 Merge branch 'patch-17' into 'master'
remove duplicate backup skip details

See merge request !9525
2017-03-01 18:45:02 +00:00
Jon Keys 7a7ec1ac0f Add storage class configuration option for Amazon S3 remote backups 2017-02-28 16:30:58 -05:00
Ben Bodenmiller b4236df430 fix GitLab download archives link
[skip ci]
2017-02-25 01:44:33 +00:00
Ben Bodenmiller 043e940485 remove duplicate backup skip details
[skip ci]
2017-02-24 22:42:11 +00:00
Drew Blessing d6584c94a4 # This is a combination of 2 commits.
# This is the 1st commit message:

Add `copy` backup strategy to combat file changed errors

The backup Rake task used to stream data directly from the live
data directory into the backup. Under many circumstances this worked
OK. However, really active instances would experience a 'file changed
as we read it' error - especially with data like the registry. This
now copies the data first, then compresses it. It will take a bit
more disk space while the backup is in progress, but it's a
necessary thing.

# The commit message #2 will be skipped:

#	Add env var
2017-02-21 16:03:54 -06:00
Achilleas Pipinellis a084437b5c Rename builds to jobs in docs
[ci skip]
2017-02-15 12:12:35 +01:00
Achilleas Pipinellis f88672b02c Merge branch 'docs/fix-broken-links' into 'master'
Fix broken links to docs

See merge request !9022
2017-02-07 11:56:26 +00:00
Achilleas Pipinellis e60ff02882 Fix broken links to docs
[ci skip]
2017-02-06 15:46:58 +01:00
Achilleas Pipinellis 9ff381c492 Add pages to excluded directories in backup task [ci skip] 2017-01-31 22:53:56 +00:00
Marin Jankovski 3fc91a3598 Merge branch 'backup-restore-documentation-tips' into 'master'
Add detail to backup_restore omnibus remote storage docs

See merge request !8306
2017-01-11 21:37:57 +00:00
Adam Niedzielski 82692ea214 Restore backup correctly when "BACKUP" environment variable is passed 2017-01-09 18:38:53 +01:00
Rémy Coutable c73bcca27c
Re-add Google Cloud Storage as a backup strategy
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-01-06 19:09:59 +01:00
Daniel Guilak d0a028a9d9 Add detail to backup_restore remote storage docs
- Location in which to add `gitlab_rails` configurations
- Reminder to run `gitlab-ctl reconfigure` after changing gitlab_rails
2016-12-24 15:38:25 -08:00
Drew Blessing e0eb86ee80 Add LDAP task to rename a provider
Sometimes admins will change the LDAP configuration, not realizing
that problems will occur if the user's LDAP identities are not
also updated to use the new provider name. This task will give
admins a single command to run to update identities and will
prevent having to run multiple Rails console queries.
2016-12-16 09:57:05 -06:00
David Gerő 0fbb5a86db Add Human Readable Timestamp to backup tar file 2016-11-30 11:41:53 +01:00
Rémy Coutable 2749c1b568 Stop supporting Google and Azure as backup strategies
The amount of gems required is quite high compared to the usefulness
of the features.

Related to !4928, !6713

Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-11-24 13:07:24 +01:00
Achilleas Pipinellis af1dabe805 Reduce size of images from 25MB to 13MB using pngquant
Took it from https://gitlab.com/gitlab-com/www-gitlab-com/merge_requests/3232

[ci skip]
2016-11-22 19:53:43 +01:00
Benjamin Weber 557dbc840e Change docker backup command in readme 2016-11-14 20:13:10 +00:00
Drew Blessing dc30783057 Introduce better credential and error checking to `rake gitlab:ldap:check`
It was previously possible for invalid credential errors to go unnoticed
in this task. Users would believe everything was configured correctly and
then sign in would fail with 'invalid credentials'. This adds a specific
bind check, plus catches errors connecting to the server. Also, specs :)
2016-11-08 15:46:10 -06:00
Drew Blessing af5322e90b Add Rake task to create/repair GitLab Shell hooks symlinks 2016-11-01 14:52:59 -05:00
Achilleas Pipinellis 3e57daad58 Merge branch 'bradjones1/gitlab-ce-patch-3' into 'master'
Specify which Fog storage drivers are imported by default in backup_restore.md

Replaces https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5783

See merge request !7072
2016-10-25 20:26:39 +00:00
Brad Jones 1e74287835 Specify which Fog storage drivers are imported by default in backup_restore.md 2016-10-24 13:04:51 +02:00
DJ Mountney fadaba000a Add an example of how to run the backups when using docker to the docs 2016-10-21 14:31:56 -07:00
Matt Lee 3fe36c5b53 Updated logo from @luke 2016-10-17 10:55:35 -04:00
Rémy Coutable ebba491493
Add a new gitlab:users:clear_all_authentication_tokens task
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-10-11 10:21:18 +02:00
Achilleas Pipinellis 7aa9675fbd Add registry to skipped data in backup raketask docs
[ci skip]
2016-10-10 17:35:57 +02:00
John McGehee 069d739efd Added "CI secret variables" per @axil. 2016-09-29 20:38:43 +00:00
john McGehee ec50d20d7c Rebase and resolve conflicts in backup doc for !3761 2016-09-28 15:45:32 -07:00
Geoff Webster 86b8d3d0f7 Remove whitespace. 2016-08-19 20:04:48 +00:00
Geoff Webster cb767d87c6 Document IAM Profile AWS S3 configuration key. 2016-08-19 18:09:38 +00:00
Sean McGivern 2785a56e7d Mention that gitlab.rb must be kept, too 2016-08-04 15:41:37 +01:00
Sean McGivern 5fedd7d1fa Mention that gitlab.rb needs to be kept 2016-08-03 15:48:49 +01:00
Sean McGivern 405379bbfc Store OTP secret key in secrets.yml
.secret stores the secret token used for both encrypting login cookies
and for encrypting stored OTP secrets. We can't rotate this, because
that would invalidate all existing OTP secrets.

If the secret token is present in the .secret file or an environment
variable, save it as otp_key_base in secrets.yml. Now .secret can be
rotated without invalidating OTP secrets.

If the secret token isn't present (initial setup), then just generate a
separate otp_key_base and save in secrets.yml.

Update the docs to reflect that secrets.yml needs to be retained past
upgrades, but .secret doesn't.
2016-08-03 15:46:37 +01:00
Stan Hu 7658f31a62 Clarify backup_keep_time config parameter with S3
Discussed in gitlab-org/omnibus-gitlab#1453

[ci skip]
2016-07-29 07:32:37 -07:00
Alejandro Rodríguez 04fff5cd8f Update documentation according to the new multiple git mount points feature 2016-07-21 17:48:57 -04:00
Yorick Peterse 499cdf1d19
Added Rake task for tracking deployments
This simply inserts the current GitLab version in the "deployments"
measurement.

Fixes gitlab-com/infrastructure#98
2016-07-19 13:21:09 +02:00
Alejandro Rodríguez 86359ec854 Refactor repository paths handling to allow multiple git mount points 2016-06-29 22:30:31 -04:00
Peter Dave Hello 9e6f99744e
optimize png images losslessly using zopflipng 2016-06-29 19:22:15 +08:00
Achilleas Pipinellis 9eb4569ed9 Change all occurrences of doc.gitlab.com to docs.gitlab.com
[ci skip]
2016-05-13 16:26:56 -05:00
John McGehee 7035122753 Emphasize that GitLab must be partially running when restoring backups.
This caused me a lot of pain until I caught on.
I also enhanced the GitLab Omnibus application data backup restore procedure.  I verified the procedure by executing it with GitLab 8.6.4.
2016-04-20 23:11:54 +00:00
Drew Blessing 5516b6c47f Reload the schema before restoring a database backup 2016-03-21 21:16:34 -05:00
ashleys 4cd9a5208c web hooks to webhooks 2016-03-10 14:48:29 -05:00