You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -248,26 +185,24 @@ If everything is up and running, it answers with a `HTTP 200 OK`, or in case of
248
185
249
186
## Configure Backups
250
187
251
-
This section explains how you integrate Travis CI Enterprise in your backup strategy. Here, we'll talk about two topics:
188
+
This section explains how you integrate Travis CI Enterprise into your backup strategy. Here, we'll talk about two topics:
252
189
253
190
-[The encryption key](#encryption-key)
254
191
-[The data directories](#create-a-backup-of-the-data-directories)
255
192
256
193
### Encryption key
257
194
258
-
Without the encryption key you cannot access the information in your production database. To make sure that you can always recover your database, make a backup of this key.
195
+
Without the encryption key, you cannot access the information in your production database. To ensure you can always recover your database, make a backup of this key.
259
196
260
-
> Without the encryption key the information in the database is not recoverable.
197
+
> Without the encryption key, the information in the database is not recoverable.
> In case you would like to run pg_dump straight from the DB pod: Database pods in TCIE 3.x cluster in non-HA deployment should be named `travisci-platform-platform-postgresql-0` and `travisci-platform-logs-postgresql-0`
310
245
311
-
Also, you need to connect to the **Redis** and **RabbitMQ** pods, perform data dumps and copy them out of the cluster in a similar way, using tools available for these services. See the respective parts of [Redis documentation](https://redis.io/documentation) and [RabbitMQ Backup & Restore guide](https://www.rabbitmq.com/backup.html) for exact instructions on how to snapshot/backup current state of data.
312
-
313
-
314
-
#### Data backup in TCIE 2.x
315
-
The data directories are located on the platform machine and are mounted into the Travis CI container. In these directories you'll find files from RabbitMQ, Postgres, Slanger, Redis, and also log files from the various applications inside the container.
246
+
Also, you need to connect to the **Redis** and **RabbitMQ** pods, perform data dumps, and copy them out of the cluster in a similar way, using tools available for these services. See the respective parts of [Redis documentation](https://redis.io/documentation) and [RabbitMQ Backup & Restore guide](https://www.rabbitmq.com/backup.html) for exact instructions on how to snapshot/backup the current state of data.
316
247
317
-
The files are located at `/var/travis` on the platform machine. Please run `sudo tar -czvf travis-enterprise-data-backup.tar.gz /var/travis` to create a compressed archive from this folder. After this has finished, copy this file off the machine to a secure location.
318
248
319
249
## Migrate from GitHub Services to Webhooks
320
250
321
-
Travis CI Enterprise initially used GitHub Services to connect your repositories with GitHub.com (or GitHub Enterprise). As of January 31st, 2019 [services have been disabled on github.com](https://developer.github.com/changes/2019-01-29-life-after-github-services/). Services will also be disabled on GitHub Enterprise starting with GitHub Enterprise v2.17.0.
251
+
Travis CI Enterprise initially used GitHub Services to connect your repositories with GitHub.com (or GitHub Enterprise). As of January 31st, 2019,[services have been disabled on github.com](https://developer.github.com/changes/2019-01-29-life-after-github-services/). Services will also be disabled on GitHub Enterprise starting with GitHub Enterprise v2.17.0.
322
252
323
253
Starting with [Travis CI Enterprise v2.2.5](https://enterprise-changelog.travis-ci.com/release-2-2-5-77988), all repositories that are activated use [webhooks](https://developer.github.com/webhooks/) to connect and manage communication with GitHub.com/GitHub Enterprise.
324
254
325
-
> Repositories that were activated prior to Travis CI Enterprise v2.2.5 may need to be updated.
255
+
> Repositories activated before Travis CI Enterprise v2.2.5 may need to be updated.
326
256
327
-
Starting with Travis CI Enterprise v2.2.8, a migration tool to automatically update repositories is available. The migration tool will update repositories that are using the deprecated GitHub services instead of webhooks.
257
+
Starting with Travis CI Enterprise v2.2.8, a migration tool to automatically update repositories is available. The migration tool will update repositories using the deprecated GitHub services instead of webhooks.
328
258
329
259
To perform an automatic migration, please follow these steps:
330
260
331
-
1.**TCIE 2.x only**: Open an SSH connection to the platform machine.
This will search for all active repositories still using GitHub Services and migrate them to webhooks instead.
346
267
347
-
This will search for all active repositories that are still using GitHub Services and migrate them to use webhooks instead.
348
-
349
-
You can provide a year argument (e.g. `2017`) in the above command to only migrate repositories activated on Travis CI Enterprise during that year.
268
+
You can provide a year argument (e.g., `2017`) in the above command to only migrate repositories activated on Travis CI Enterprise during that year.
350
269
351
270
If you have a large number of repositories activated on your Travis CI Enterprise installation, please run the migration several times, breaking it down per year. For example:
0 commit comments