<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ca">
	<id>https://wiki.cadt.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Marcb</id>
	<title>Cadt Documentation - Contribucions de l&amp;#039;usuari [ca]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.cadt.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Marcb"/>
	<link rel="alternate" type="text/html" href="https://wiki.cadt.com/index.php/Especial:Contribucions/Marcb"/>
	<updated>2026-04-13T09:33:27Z</updated>
	<subtitle>Contribucions de l&amp;#039;usuari</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://wiki.cadt.com/index.php?title=Development_Servers&amp;diff=3297</id>
		<title>Development Servers</title>
		<link rel="alternate" type="text/html" href="https://wiki.cadt.com/index.php?title=Development_Servers&amp;diff=3297"/>
		<updated>2018-03-22T12:51:33Z</updated>

		<summary type="html">&lt;p&gt;Marcb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Infrastructura]]&lt;br /&gt;
[[Category:Devel]]&lt;br /&gt;
[[Category:tinki]]&lt;br /&gt;
&lt;br /&gt;
[[Fitxer:devel-setup.png]]&lt;br /&gt;
&lt;br /&gt;
= tinki-team-build =&lt;br /&gt;
&lt;br /&gt;
Inside the container server, the stack should be located at &amp;lt;code&amp;gt;/srv/data/tinki-team-build&amp;lt;/code&amp;gt; holding a &amp;lt;code&amp;gt;docker-compose.yml&amp;lt;/code&amp;gt; manifest with the following services described below. To install and run the stack, execute &amp;lt;code&amp;gt;docker-compose up -d&amp;lt;/code&amp;gt; from the project folder. In a similar fashion, use &amp;lt;code&amp;gt;docker-compose down&amp;lt;/code&amp;gt; to halt the services. To backup the whole stack use the &amp;lt;code&amp;gt;backup-all.sh&amp;lt;/code&amp;gt; script. To backup a particular service run the &amp;lt;code&amp;gt;backup.sh&amp;lt;/code&amp;gt; script from its folder, if present.&lt;br /&gt;
&lt;br /&gt;
* Docker registry, at &amp;lt;code&amp;gt;docker-reg.cadt.com&amp;lt;/code&amp;gt;.&lt;br /&gt;
* Gitlab, at &amp;lt;code&amp;gt;git.cadt.com&amp;lt;/code&amp;gt;.&lt;br /&gt;
* Jenkins, at &amp;lt;code&amp;gt;jenkins.cadt.com&amp;lt;/code&amp;gt;.&lt;br /&gt;
* Jira, at &amp;lt;code&amp;gt;jira.cadt.com&amp;lt;/code&amp;gt;.&lt;br /&gt;
* NPM, at &amp;lt;code&amp;gt;npm.cadt.com&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Docker Registry ==&lt;br /&gt;
&lt;br /&gt;
The Docker Registry service exposes &#039;&#039;&#039;port 5000&#039;&#039;&#039;. This service is not backed up, as it holds and serves compiled Docker images from Gitlab via Jenkins.&lt;br /&gt;
&lt;br /&gt;
== Gitlab ==&lt;br /&gt;
&lt;br /&gt;
The Gitlab service exposes its web interface on &#039;&#039;&#039;port 8101&#039;&#039;&#039; and its SSH access through &#039;&#039;&#039;port 22&#039;&#039;&#039;. Backup is mainly done by a Rake task, as stated in the [https://docs.gitlab.com/ce/raketasks/backup_restore.html#creating-a-backup-of-the-gitlab-system official guide]. The following folders are mapped to the host in order to backup configuration files and logs, according to the [https://docs.gitlab.com/ce/raketasks/backup_restore.html#storing-configuration-files same guide]. Restoration can be found in another section of the [https://docs.gitlab.com/ce/raketasks/backup_restore.html#restore same document].&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;/var/opt/gitlab&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;/srv/data/gitlab/data&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;code&amp;gt;/etc/gitlab&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;/srv/data/gitlab/cfg&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;code&amp;gt;/var/log/gitlab&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;/srv/log/gitlab&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Jenkins ==&lt;br /&gt;
&lt;br /&gt;
The Jenkins service exposes its web interface on &#039;&#039;&#039;port 8080&#039;&#039;&#039;. It is fairly simple to backup and the process is described in its [https://wiki.jenkins.io/display/JENKINS/Administering+Jenkins administration guide]. The following folders are mapped to the host in order to backup configuration files and logs.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;/var/jenkins_home&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;/srv/data/jenkins&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;code&amp;gt;/var/jenkins_home/logs&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;/srv/log/jenkins&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Jira ==&lt;br /&gt;
&lt;br /&gt;
The Jira service exposes its web interface on &#039;&#039;&#039;port 8102&#039;&#039;&#039;. According to the information present in their [https://confluence.atlassian.com/adminjiraserver/backing-up-data-938847673.html official guide], the current backup script will save the dump inside the host&#039;s &amp;lt;code&amp;gt;/srv/data/jira/db&amp;lt;/code&amp;gt; folder. The following folders are mapped to the host in order to backup configuration files and logs.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;/opt/jira&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;/srv/data/jira/data&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;code&amp;gt;/opt/jira/log&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;/srv/log/jira&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* Backing up and restoring GitLab. Creating a backup of the GitLab system [online]. Available at https://docs.gitlab.com/ce/raketasks/backup_restore.html#creating-a-backup-of-the-gitlab-system (Accessed 16 March 2018).&lt;br /&gt;
* Backing up and restoring GitLab. Storing configuration files [online]. Available at https://docs.gitlab.com/ce/raketasks/backup_restore.html#storing-configuration-files (Accessed 16 March 2018).&lt;br /&gt;
* Backing up and restoring GitLab. Restore [online]. Available at https://docs.gitlab.com/ce/raketasks/backup_restore.html#restore (Accessed 16 March 2018).&lt;br /&gt;
* Jenkins Wiki. Administering Jenkins [online]. Available at https://wiki.jenkins.io/display/JENKINS/Administering+Jenkins (Accessed 16 March 2018).&lt;br /&gt;
* Atlassian Documentation. Backing up data [online]. Available at https://confluence.atlassian.com/adminjiraserver/backing-up-data-938847673.html (Accessed 16 March 2018).&lt;/div&gt;</summary>
		<author><name>Marcb</name></author>
	</entry>
	<entry>
		<id>https://wiki.cadt.com/index.php?title=Development_Servers&amp;diff=3296</id>
		<title>Development Servers</title>
		<link rel="alternate" type="text/html" href="https://wiki.cadt.com/index.php?title=Development_Servers&amp;diff=3296"/>
		<updated>2018-03-22T11:05:40Z</updated>

		<summary type="html">&lt;p&gt;Marcb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Infrastructura]]&lt;br /&gt;
[[Category:Devel]]&lt;br /&gt;
[[Category:tinki]]&lt;br /&gt;
&lt;br /&gt;
[[Fitxer:devel-setup.png]]&lt;br /&gt;
&lt;br /&gt;
= tinki-team-build =&lt;br /&gt;
&lt;br /&gt;
Inside the container server, the stack should be located at &amp;lt;code&amp;gt;/srv/data/tinki-team-build&amp;lt;/code&amp;gt; holding a &amp;lt;code&amp;gt;docker-compose.yml&amp;lt;/code&amp;gt; manifest with the following services described below. To install and run the stack, execute &amp;lt;code&amp;gt;docker-compose up -d&amp;lt;/code&amp;gt; from the project folder. In a similar fashion, use &amp;lt;code&amp;gt;docker-compose down&amp;lt;/code&amp;gt; to halt the services. To backup the whole stack use the &amp;lt;code&amp;gt;backup-all.sh&amp;lt;/code&amp;gt; script. To backup a particular service run the &amp;lt;code&amp;gt;backup.sh&amp;lt;/code&amp;gt; script from its folder, if present.&lt;br /&gt;
&lt;br /&gt;
* Docker registry, at &amp;lt;code&amp;gt;docker-reg.cadt.com&amp;lt;/code&amp;gt;.&lt;br /&gt;
* Gitlab, at &amp;lt;code&amp;gt;git.cadt.com&amp;lt;/code&amp;gt;.&lt;br /&gt;
* Jenkins, at &amp;lt;code&amp;gt;jenkins.cadt.com&amp;lt;/code&amp;gt;.&lt;br /&gt;
* Jira, at &amp;lt;code&amp;gt;jira.cadt.com&amp;lt;/code&amp;gt;.&lt;br /&gt;
* NPM, at &amp;lt;code&amp;gt;npm.cadt.com&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Docker Registry ==&lt;br /&gt;
&lt;br /&gt;
The Docker Registry service exposes &#039;&#039;&#039;port 5000&#039;&#039;&#039;. This service is not backed up, as it holds and serves compiled Docker images from Gitlab via Jenkins.&lt;br /&gt;
&lt;br /&gt;
== Gitlab ==&lt;br /&gt;
&lt;br /&gt;
The Gitlab service exposes its web interface on &#039;&#039;&#039;port 8101&#039;&#039;&#039; and its SSH access through &#039;&#039;&#039;port 22&#039;&#039;&#039;. Backup is mainly done by a Rake task, as stated in the [https://docs.gitlab.com/ce/raketasks/backup_restore.html#creating-a-backup-of-the-gitlab-system official guide]. The following folders are mapped to the host in order to backup configuration files and logs, according to the [https://docs.gitlab.com/ce/raketasks/backup_restore.html#storing-configuration-files same guide]. Restoration can be found in another section of the [https://docs.gitlab.com/ce/raketasks/backup_restore.html#restore same document].&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;/var/opt/gitlab&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;/srv/data/gitlab/data&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;code&amp;gt;/etc/gitlab&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;/srv/data/gitlab/cfg&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;code&amp;gt;/var/log/gitlab&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;/srv/log/gitlab&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Jenkins ==&lt;br /&gt;
&lt;br /&gt;
The Jenkins service exposes its web interface on &#039;&#039;&#039;port 8080&#039;&#039;&#039;. It is fairly simple to backup and the process is described in its [https://wiki.jenkins.io/display/JENKINS/Administering+Jenkins administration guide]. The following folders are mapped to the host in order to backup configuration files and logs.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;/var/jenkins_home&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;/srv/data/jenkins&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;code&amp;gt;/var/jenkins_home/logs&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;/srv/log/jenkins&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Jira ==&lt;br /&gt;
&lt;br /&gt;
The Jira service exposes its web interface on &#039;&#039;&#039;port 8102&#039;&#039;&#039;. According to the information present in their [https://confluence.atlassian.com/adminjiraserver/backing-up-data-938847673.html official guide], the current backup script will save the dump inside the host&#039;s &amp;lt;code&amp;gt;/srv/data/jira/db&amp;lt;/code&amp;gt; folder. The following folders are mapped to the host in order to backup configuration files and logs.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;/opt/jira&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;/srv/data/jira/data&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;code&amp;gt;/opt/jira/log&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;/srv/log/jira&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== NPM ==&lt;br /&gt;
&lt;br /&gt;
The NPM service exposes its web interface on &#039;&#039;&#039;port 8103&#039;&#039;&#039; and its package manager access through &#039;&#039;&#039;port 5984&#039;&#039;&#039;. The following folders are mapped to the host in order to backup configuration files and logs.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;/var/lib/couchdb&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;/srv/data/npm&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* Backing up and restoring GitLab. Creating a backup of the GitLab system [online]. Available at https://docs.gitlab.com/ce/raketasks/backup_restore.html#creating-a-backup-of-the-gitlab-system (Accessed 16 March 2018).&lt;br /&gt;
* Backing up and restoring GitLab. Storing configuration files [online]. Available at https://docs.gitlab.com/ce/raketasks/backup_restore.html#storing-configuration-files (Accessed 16 March 2018).&lt;br /&gt;
* Backing up and restoring GitLab. Restore [online]. Available at https://docs.gitlab.com/ce/raketasks/backup_restore.html#restore (Accessed 16 March 2018).&lt;br /&gt;
* Jenkins Wiki. Administering Jenkins [online]. Available at https://wiki.jenkins.io/display/JENKINS/Administering+Jenkins (Accessed 16 March 2018).&lt;br /&gt;
* Atlassian Documentation. Backing up data [online]. Available at https://confluence.atlassian.com/adminjiraserver/backing-up-data-938847673.html (Accessed 16 March 2018).&lt;/div&gt;</summary>
		<author><name>Marcb</name></author>
	</entry>
	<entry>
		<id>https://wiki.cadt.com/index.php?title=Categoria:Tinki&amp;diff=3283</id>
		<title>Categoria:Tinki</title>
		<link rel="alternate" type="text/html" href="https://wiki.cadt.com/index.php?title=Categoria:Tinki&amp;diff=3283"/>
		<updated>2018-03-21T14:06:11Z</updated>

		<summary type="html">&lt;p&gt;Marcb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= tinki-team =&lt;br /&gt;
&lt;br /&gt;
To install and run the stack, execute &amp;lt;code&amp;gt;docker-compose up -d&amp;lt;/code&amp;gt; from the project folder. In a similar fashion, use &amp;lt;code&amp;gt;docker-compose down&amp;lt;/code&amp;gt; to halt the services. To backup the whole stack use the &amp;lt;code&amp;gt;backup-all.sh&amp;lt;/code&amp;gt; script.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ssh user@fedora-atomic.cadt.com -p 2222&lt;br /&gt;
cd /home/tinki-team&lt;br /&gt;
docker-compose up -d&lt;br /&gt;
bash ./backup-all.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
Inside the container server, the stack should be located at &amp;lt;code&amp;gt;/home/tinki-team&amp;lt;/code&amp;gt; holding a &amp;lt;code&amp;gt;docker-compose.yml&amp;lt;/code&amp;gt; manifest with the following services:&lt;br /&gt;
&lt;br /&gt;
* Artifactory HTTP: http://fedora-atomic.cadt.com:8103&lt;br /&gt;
* Gitlab HTTP: http://fedora-atomic.cadt.com:8101&lt;br /&gt;
* Gitlab SSH: http://fedora-atomic.cadt.com:22&lt;br /&gt;
* Jenkins HTTP: http://fedora-atomic.cadt.com:8080&lt;br /&gt;
* Jira HTTP: http://fedora-atomic.cadt.com:8102&lt;br /&gt;
&lt;br /&gt;
== Artifactory ==&lt;br /&gt;
&lt;br /&gt;
The Artifactory service exposes its web interface on &#039;&#039;&#039;port 8103&#039;&#039;&#039;. A full system backup can be done via the service&#039;s API. Backup settings need to be [https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-ExportSystemSettingsExample retrieved] and sent back via [https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-ExportSystem POST], as explained in the official guide. Similarly, to restore the system, [https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-ImportSystemSettingsExample retrieve] the restoration settings and send them back via [https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-FullSystemImport POST], as shown in Artifactory&#039;s API guide. The current backup script will save the copy inside the container&#039;s &amp;lt;code&amp;gt;/tmp/backup&amp;lt;/code&amp;gt; folder, and sync it with the host &amp;lt;code&amp;gt;/srv/data/artifactory&amp;lt;/code&amp;gt;. Logs can be found on &amp;lt;code&amp;gt;/opt/jfrog/artifactory/logs&amp;lt;/code&amp;gt; and are linked to the host&#039;s &amp;lt;code&amp;gt;/srv/log/artifactory&amp;lt;/code&amp;gt; folder.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;bash ./artifactory/backup.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Gitlab ==&lt;br /&gt;
&lt;br /&gt;
The Gitlab service exposes its web interface on &#039;&#039;&#039;port 8101&#039;&#039;&#039;, and also &#039;&#039;&#039;port 22&#039;&#039;&#039; for Git&#039;s SSH operations. Backup information can be found in their [https://docs.gitlab.com/ce/raketasks/backup_restore.html#creating-a-backup-of-the-gitlab-system official guide], mainly done by the service&#039;s backup creation Rake task. Configuration files should also be copied along, these include &amp;lt;code&amp;gt;/etc/gitlab/gitlab.rb&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;/etc/gitlab/gitlab-secrets.json&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/opt/gitlab/config/secrets.yml&amp;lt;/code&amp;gt;, as shown in the [https://docs.gitlab.com/ce/raketasks/backup_restore.html#storing-configuration-files same guide]. To restore the service follow the commands described in the [https://docs.gitlab.com/ce/raketasks/backup_restore.html#restore restoration section]. The current backup script will save the copy in the container&#039;s &amp;lt;code&amp;gt;/var/opt/gitlab&amp;lt;/code&amp;gt; folder, and sync it with the host&#039;s &amp;lt;code&amp;gt;/srv/data/gitlab/data&amp;lt;/code&amp;gt;. Logs can be found on &amp;lt;code&amp;gt;/var/log/gitlab&amp;lt;/code&amp;gt; and are linked to the host&#039;s &amp;lt;code&amp;gt;/srv/log/gitlab&amp;lt;/code&amp;gt; folder.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;bash ./gitlab/backup.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Jenkins ==&lt;br /&gt;
&lt;br /&gt;
The Jenkins service exposes its web interface on &#039;&#039;&#039;port 8080&#039;&#039;&#039;. Jenkins is fairly simple to backup and there is no script, simply copy the &amp;lt;code&amp;gt;/var/jenkins_home&amp;lt;/code&amp;gt; folder into the desired location. Restoration is done by replacing the target folder with the backup. Jenkins home folder is synced with the host&#039;s &amp;lt;code&amp;gt;/srv/data/jenkins&amp;lt;/code&amp;gt; location. Logs can be found on &amp;lt;code&amp;gt;/var/jenkins_home/logs&amp;lt;/code&amp;gt; and are linked to the host&#039;s &amp;lt;code&amp;gt;/srv/log/jenkins&amp;lt;/code&amp;gt; folder. General information can be found in the official [https://wiki.jenkins.io/display/JENKINS/Administering+Jenkins administration guide].&lt;br /&gt;
&lt;br /&gt;
== Jira ==&lt;br /&gt;
&lt;br /&gt;
The Jira service exposes its web interface on &#039;&#039;&#039;port 8102&#039;&#039;&#039;. According to the information present in their [https://confluence.atlassian.com/adminjiraserver/backing-up-data-938847673.html official guide], the current backup script will save the dump inside the host&#039;s &amp;lt;code&amp;gt;/srv/data/jira/db&amp;lt;/code&amp;gt; folder. Its home folder can be found at the container&#039;s &amp;lt;code&amp;gt;/opt/jira&amp;lt;/code&amp;gt; and is mapped to the host&#039;s &amp;lt;code&amp;gt;/srv/data/jira/data&amp;lt;/code&amp;gt; folder. Logs can be found on &amp;lt;code&amp;gt;/opt/jira/log&amp;lt;/code&amp;gt; and are linked to the host&#039;s &amp;lt;code&amp;gt;/srv/log/jira&amp;lt;/code&amp;gt; folder.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;bash ./jira/backup.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* JFrog Artifactory User Guide. Export System Settings Example [online]. Available at https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-ExportSystemSettingsExample (Accessed 16 March 2018).&lt;br /&gt;
* JFrog Artifactory User Guide. Export System [online]. Available at https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-ExportSystem (Accessed 16 March 2018).&lt;br /&gt;
* JFrog Artifactory User Guide. Import System Settings Example [online]. Available at https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-ImportSystemSettingsExample (Accessed 16 March 2018).&lt;br /&gt;
* JFrog Artifactory User Guide. Full System Import [online]. Available at https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-FullSystemImport (Accessed 16 March 2018).&lt;br /&gt;
* Backing up and restoring GitLab. Creating a backup of the GitLab system [online]. Available at https://docs.gitlab.com/ce/raketasks/backup_restore.html#creating-a-backup-of-the-gitlab-system (Accessed 16 March 2018).&lt;br /&gt;
* Backing up and restoring GitLab. Storing configuration files [online]. Available at https://docs.gitlab.com/ce/raketasks/backup_restore.html#storing-configuration-files (Accessed 16 March 2018).&lt;br /&gt;
* Backing up and restoring GitLab. Restore [online]. Available at https://docs.gitlab.com/ce/raketasks/backup_restore.html#restore (Accessed 16 March 2018).&lt;br /&gt;
* Jenkins Wiki. Administering Jenkins [online]. Available at https://wiki.jenkins.io/display/JENKINS/Administering+Jenkins (Accessed 16 March 2018).&lt;br /&gt;
* Atlassian Documentation. Backing up data [online]. Available at https://confluence.atlassian.com/adminjiraserver/backing-up-data-938847673.html (Accessed 16 March 2018).&lt;/div&gt;</summary>
		<author><name>Marcb</name></author>
	</entry>
	<entry>
		<id>https://wiki.cadt.com/index.php?title=Categoria:Tinki&amp;diff=3282</id>
		<title>Categoria:Tinki</title>
		<link rel="alternate" type="text/html" href="https://wiki.cadt.com/index.php?title=Categoria:Tinki&amp;diff=3282"/>
		<updated>2018-03-21T14:05:36Z</updated>

		<summary type="html">&lt;p&gt;Marcb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= tinki-team =&lt;br /&gt;
&lt;br /&gt;
To install and run the stack, execute &amp;lt;code&amp;gt;docker-compose up -d&amp;lt;/code&amp;gt; from the project folder. In a similar fashion, use &amp;lt;code&amp;gt;docker-compose down&amp;lt;/code&amp;gt; to halt the services. To backup the whole stack use the &amp;lt;code&amp;gt;backup-all.sh&amp;lt;/code&amp;gt; script.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;ssh user@fedora-atomic.cadt.com -p 2222&lt;br /&gt;
cd /home/tinki-team&lt;br /&gt;
docker-compose up -d&lt;br /&gt;
bash ./backup-all.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
Inside the container server, the stack should be located at &amp;lt;code&amp;gt;/home/tinki-team&amp;lt;/code&amp;gt; holding a &amp;lt;code&amp;gt;docker-compose.yml&amp;lt;/code&amp;gt; manifest with the following services:&lt;br /&gt;
&lt;br /&gt;
* Artifactory HTTP: http://fedora-atomic.cadt.com:8103&lt;br /&gt;
* Gitlab HTTP: http://fedora-atomic.cadt.com:8101&lt;br /&gt;
* Gitlab SSH: http://fedora-atomic.cadt.com:22&lt;br /&gt;
* Jenkins HTTP: http://fedora-atomic.cadt.com:8080&lt;br /&gt;
* Jira HTTP: http://fedora-atomic.cadt.com:8102&lt;br /&gt;
&lt;br /&gt;
== Artifactory ==&lt;br /&gt;
&lt;br /&gt;
The Artifactory service exposes its web interface on &#039;&#039;&#039;port 8103&#039;&#039;&#039;. A full system backup can be done via the service&#039;s API. Backup settings need to be [https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-ExportSystemSettingsExample retrieved] and sent back via [https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-ExportSystem POST], as explained in the official guide. Similarly, to restore the system, [https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-ImportSystemSettingsExample retrieve] the restoration settings and send them back via [https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-FullSystemImport POST], as shown in Artifactory&#039;s API guide. The current backup script will save the copy inside the container&#039;s &amp;lt;code&amp;gt;/tmp/backup&amp;lt;/code&amp;gt; folder, and sync it with the host &amp;lt;code&amp;gt;/srv/data/artifactory&amp;lt;/code&amp;gt;. Logs can be found on &amp;lt;code&amp;gt;/opt/jfrog/artifactory/logs&amp;lt;/code&amp;gt; and are linked to the host&#039;s &amp;lt;code&amp;gt;/srv/log/artifactory&amp;lt;/code&amp;gt; folder.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;bash ./artifactory/backup.sh&amp;lt;/source&amp;gt;&lt;br /&gt;
== Gitlab ==&lt;br /&gt;
&lt;br /&gt;
The Gitlab service exposes its web interface on &#039;&#039;&#039;port 8101&#039;&#039;&#039;, and also &#039;&#039;&#039;port 22&#039;&#039;&#039; for Git&#039;s SSH operations. Backup information can be found in their [https://docs.gitlab.com/ce/raketasks/backup_restore.html#creating-a-backup-of-the-gitlab-system official guide], mainly done by the service&#039;s backup creation Rake task. Configuration files should also be copied along, these include &amp;lt;code&amp;gt;/etc/gitlab/gitlab.rb&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;/etc/gitlab/gitlab-secrets.json&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/opt/gitlab/config/secrets.yml&amp;lt;/code&amp;gt;, as shown in the [https://docs.gitlab.com/ce/raketasks/backup_restore.html#storing-configuration-files same guide]. To restore the service follow the commands described in the [https://docs.gitlab.com/ce/raketasks/backup_restore.html#restore restoration section]. The current backup script will save the copy in the container&#039;s &amp;lt;code&amp;gt;/var/opt/gitlab&amp;lt;/code&amp;gt; folder, and sync it with the host&#039;s &amp;lt;code&amp;gt;/srv/data/gitlab/data&amp;lt;/code&amp;gt;. Logs can be found on &amp;lt;code&amp;gt;/var/log/gitlab&amp;lt;/code&amp;gt; and are linked to the host&#039;s &amp;lt;code&amp;gt;/srv/log/gitlab&amp;lt;/code&amp;gt; folder.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;bash ./gitlab/backup.sh&amp;lt;/source&amp;gt;&lt;br /&gt;
== Jenkins ==&lt;br /&gt;
&lt;br /&gt;
The Jenkins service exposes its web interface on &#039;&#039;&#039;port 8080&#039;&#039;&#039;. Jenkins is fairly simple to backup and there is no script, simply copy the &amp;lt;code&amp;gt;/var/jenkins_home&amp;lt;/code&amp;gt; folder into the desired location. Restoration is done by replacing the target folder with the backup. Jenkins home folder is synced with the host&#039;s &amp;lt;code&amp;gt;/srv/data/jenkins&amp;lt;/code&amp;gt; location. Logs can be found on &amp;lt;code&amp;gt;/var/jenkins_home/logs&amp;lt;/code&amp;gt; and are linked to the host&#039;s &amp;lt;code&amp;gt;/srv/log/jenkins&amp;lt;/code&amp;gt; folder. General information can be found in the official [https://wiki.jenkins.io/display/JENKINS/Administering+Jenkins administration guide].&lt;br /&gt;
&lt;br /&gt;
== Jira ==&lt;br /&gt;
&lt;br /&gt;
The Jira service exposes its web interface on &#039;&#039;&#039;port 8102&#039;&#039;&#039;. According to the information present in their [https://confluence.atlassian.com/adminjiraserver/backing-up-data-938847673.html official guide], the current backup script will save the dump inside the host&#039;s &amp;lt;code&amp;gt;/srv/data/jira/db&amp;lt;/code&amp;gt; folder. Its home folder can be found at the container&#039;s &amp;lt;code&amp;gt;/opt/jira&amp;lt;/code&amp;gt; and is mapped to the host&#039;s &amp;lt;code&amp;gt;/srv/data/jira/data&amp;lt;/code&amp;gt; folder. Logs can be found on &amp;lt;code&amp;gt;/opt/jira/log&amp;lt;/code&amp;gt; and are linked to the host&#039;s &amp;lt;code&amp;gt;/srv/log/jira&amp;lt;/code&amp;gt; folder.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;bash ./jira/backup.sh&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* JFrog Artifactory User Guide. Export System Settings Example [online]. Available at https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-ExportSystemSettingsExample (Accessed 16 March 2018).&lt;br /&gt;
* JFrog Artifactory User Guide. Export System [online]. Available at https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-ExportSystem (Accessed 16 March 2018).&lt;br /&gt;
* JFrog Artifactory User Guide. Import System Settings Example [online]. Available at https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-ImportSystemSettingsExample (Accessed 16 March 2018).&lt;br /&gt;
* JFrog Artifactory User Guide. Full System Import [online]. Available at https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-FullSystemImport (Accessed 16 March 2018).&lt;br /&gt;
* Backing up and restoring GitLab. Creating a backup of the GitLab system [online]. Available at https://docs.gitlab.com/ce/raketasks/backup_restore.html#creating-a-backup-of-the-gitlab-system (Accessed 16 March 2018).&lt;br /&gt;
* Backing up and restoring GitLab. Storing configuration files [online]. Available at https://docs.gitlab.com/ce/raketasks/backup_restore.html#storing-configuration-files (Accessed 16 March 2018).&lt;br /&gt;
* Backing up and restoring GitLab. Restore [online]. Available at https://docs.gitlab.com/ce/raketasks/backup_restore.html#restore (Accessed 16 March 2018).&lt;br /&gt;
* Jenkins Wiki. Administering Jenkins [online]. Available at https://wiki.jenkins.io/display/JENKINS/Administering+Jenkins (Accessed 16 March 2018).&lt;br /&gt;
* Atlassian Documentation. Backing up data [online]. Available at https://confluence.atlassian.com/adminjiraserver/backing-up-data-938847673.html (Accessed 16 March 2018).&lt;/div&gt;</summary>
		<author><name>Marcb</name></author>
	</entry>
	<entry>
		<id>https://wiki.cadt.com/index.php?title=Categoria:Tinki&amp;diff=3281</id>
		<title>Categoria:Tinki</title>
		<link rel="alternate" type="text/html" href="https://wiki.cadt.com/index.php?title=Categoria:Tinki&amp;diff=3281"/>
		<updated>2018-03-21T14:03:56Z</updated>

		<summary type="html">&lt;p&gt;Marcb: Es crea la pàgina amb «= tinki-team =  To install and run the stack, execute &amp;lt;code&amp;gt;docker-compose up -d&amp;lt;/code&amp;gt; from the project folder. In a similar fashion, use &amp;lt;code&amp;gt;docker-compose down&amp;lt;/c...».&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= tinki-team =&lt;br /&gt;
&lt;br /&gt;
To install and run the stack, execute &amp;lt;code&amp;gt;docker-compose up -d&amp;lt;/code&amp;gt; from the project folder. In a similar fashion, use &amp;lt;code&amp;gt;docker-compose down&amp;lt;/code&amp;gt; to halt the services. To backup the whole stack use the &amp;lt;code&amp;gt;backup-all.sh&amp;lt;/code&amp;gt; script.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;ssh user@fedora-atomic.cadt.com -p 2222&lt;br /&gt;
cd /home/tinki-team&lt;br /&gt;
docker-compose up -d&lt;br /&gt;
bash ./backup-all.sh&amp;lt;/source&amp;gt;&lt;br /&gt;
Inside the container server, the stack should be located at &amp;lt;code&amp;gt;/home/tinki-team&amp;lt;/code&amp;gt; holding a &amp;lt;code&amp;gt;docker-compose.yml&amp;lt;/code&amp;gt; manifest with the following services:&lt;br /&gt;
&lt;br /&gt;
* Artifactory HTTP: http://fedora-atomic.cadt.com:8103&lt;br /&gt;
* Gitlab HTTP: http://fedora-atomic.cadt.com:8101&lt;br /&gt;
* Gitlab SSH: http://fedora-atomic.cadt.com:22&lt;br /&gt;
* Jenkins HTTP: http://fedora-atomic.cadt.com:8080&lt;br /&gt;
* Jira HTTP: http://fedora-atomic.cadt.com:8102&lt;br /&gt;
&lt;br /&gt;
== Artifactory ==&lt;br /&gt;
&lt;br /&gt;
The Artifactory service exposes its web interface on &#039;&#039;&#039;port 8103&#039;&#039;&#039;. A full system backup can be done via the service&#039;s API. Backup settings need to be [https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-ExportSystemSettingsExample retrieved] and sent back via [https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-ExportSystem POST], as explained in the official guide. Similarly, to restore the system, [https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-ImportSystemSettingsExample retrieve] the restoration settings and send them back via [https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-FullSystemImport POST], as shown in Artifactory&#039;s API guide. The current backup script will save the copy inside the container&#039;s &amp;lt;code&amp;gt;/tmp/backup&amp;lt;/code&amp;gt; folder, and sync it with the host &amp;lt;code&amp;gt;/srv/data/artifactory&amp;lt;/code&amp;gt;. Logs can be found on &amp;lt;code&amp;gt;/opt/jfrog/artifactory/logs&amp;lt;/code&amp;gt; and are linked to the host&#039;s &amp;lt;code&amp;gt;/srv/log/artifactory&amp;lt;/code&amp;gt; folder.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;bash ./artifactory/backup.sh&amp;lt;/source&amp;gt;&lt;br /&gt;
== Gitlab ==&lt;br /&gt;
&lt;br /&gt;
The Gitlab service exposes its web interface on &#039;&#039;&#039;port 8101&#039;&#039;&#039;, and also &#039;&#039;&#039;port 22&#039;&#039;&#039; for Git&#039;s SSH operations. Backup information can be found in their [https://docs.gitlab.com/ce/raketasks/backup_restore.html#creating-a-backup-of-the-gitlab-system official guide], mainly done by the service&#039;s backup creation Rake task. Configuration files should also be copied along, these include &amp;lt;code&amp;gt;/etc/gitlab/gitlab.rb&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;/etc/gitlab/gitlab-secrets.json&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;/var/opt/gitlab/config/secrets.yml&amp;lt;/code&amp;gt;, as shown in the [https://docs.gitlab.com/ce/raketasks/backup_restore.html#storing-configuration-files same guide]. To restore the service follow the commands described in the [https://docs.gitlab.com/ce/raketasks/backup_restore.html#restore restoration section]. The current backup script will save the copy in the container&#039;s &amp;lt;code&amp;gt;/var/opt/gitlab&amp;lt;/code&amp;gt; folder, and sync it with the host&#039;s &amp;lt;code&amp;gt;/srv/data/gitlab/data&amp;lt;/code&amp;gt;. Logs can be found on &amp;lt;code&amp;gt;/var/log/gitlab&amp;lt;/code&amp;gt; and are linked to the host&#039;s &amp;lt;code&amp;gt;/srv/log/gitlab&amp;lt;/code&amp;gt; folder.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;bash ./gitlab/backup.sh&amp;lt;/source&amp;gt;&lt;br /&gt;
== Jenkins ==&lt;br /&gt;
&lt;br /&gt;
The Jenkins service exposes its web interface on &#039;&#039;&#039;port 8080&#039;&#039;&#039;. Jenkins is fairly simple to backup and there is no script, simply copy the &amp;lt;code&amp;gt;/var/jenkins_home&amp;lt;/code&amp;gt; folder into the desired location. Restoration is done by replacing the target folder with the backup. Jenkins home folder is synced with the host&#039;s &amp;lt;code&amp;gt;/srv/data/jenkins&amp;lt;/code&amp;gt; location. Logs can be found on &amp;lt;code&amp;gt;/var/jenkins_home/logs&amp;lt;/code&amp;gt; and are linked to the host&#039;s &amp;lt;code&amp;gt;/srv/log/jenkins&amp;lt;/code&amp;gt; folder. General information can be found in the official [https://wiki.jenkins.io/display/JENKINS/Administering+Jenkins administration guide].&lt;br /&gt;
&lt;br /&gt;
== Jira ==&lt;br /&gt;
&lt;br /&gt;
The Jira service exposes its web interface on &#039;&#039;&#039;port 8102&#039;&#039;&#039;. According to the information present in their [https://confluence.atlassian.com/adminjiraserver/backing-up-data-938847673.html official guide], the current backup script will save the dump inside the host&#039;s &amp;lt;code&amp;gt;/srv/data/jira/db&amp;lt;/code&amp;gt; folder. Its home folder can be found at the container&#039;s &amp;lt;code&amp;gt;/opt/jira&amp;lt;/code&amp;gt; and is mapped to the host&#039;s &amp;lt;code&amp;gt;/srv/data/jira/data&amp;lt;/code&amp;gt; folder. Logs can be found on &amp;lt;code&amp;gt;/opt/jira/log&amp;lt;/code&amp;gt; and are linked to the host&#039;s &amp;lt;code&amp;gt;/srv/log/jira&amp;lt;/code&amp;gt; folder.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;bash ./jira/backup.sh&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* JFrog Artifactory User Guide. Export System Settings Example [online]. Available at https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-ExportSystemSettingsExample (Accessed 16 March 2018).&lt;br /&gt;
* JFrog Artifactory User Guide. Export System [online]. Available at https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-ExportSystem (Accessed 16 March 2018).&lt;br /&gt;
* JFrog Artifactory User Guide. Import System Settings Example [online]. Available at https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-ImportSystemSettingsExample (Accessed 16 March 2018).&lt;br /&gt;
* JFrog Artifactory User Guide. Full System Import [online]. Available at https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-FullSystemImport (Accessed 16 March 2018).&lt;br /&gt;
* Backing up and restoring GitLab. Creating a backup of the GitLab system [online]. Available at https://docs.gitlab.com/ce/raketasks/backup_restore.html#creating-a-backup-of-the-gitlab-system (Accessed 16 March 2018).&lt;br /&gt;
* Backing up and restoring GitLab. Storing configuration files [online]. Available at https://docs.gitlab.com/ce/raketasks/backup_restore.html#storing-configuration-files (Accessed 16 March 2018).&lt;br /&gt;
* Backing up and restoring GitLab. Restore [online]. Available at https://docs.gitlab.com/ce/raketasks/backup_restore.html#restore (Accessed 16 March 2018).&lt;br /&gt;
* Jenkins Wiki. Administering Jenkins [online]. Available at https://wiki.jenkins.io/display/JENKINS/Administering+Jenkins (Accessed 16 March 2018).&lt;br /&gt;
* Atlassian Documentation. Backing up data [online]. Available at https://confluence.atlassian.com/adminjiraserver/backing-up-data-938847673.html (Accessed 16 March 2018).&lt;/div&gt;</summary>
		<author><name>Marcb</name></author>
	</entry>
	<entry>
		<id>https://wiki.cadt.com/index.php?title=P%C3%A0gina_principal&amp;diff=3259</id>
		<title>Pàgina principal</title>
		<link rel="alternate" type="text/html" href="https://wiki.cadt.com/index.php?title=P%C3%A0gina_principal&amp;diff=3259"/>
		<updated>2018-03-21T07:56:40Z</updated>

		<summary type="html">&lt;p&gt;Marcb: /* Wiki CADT */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Wiki CADT ==&lt;br /&gt;
&lt;br /&gt;
Categories:&lt;br /&gt;
* [[:Category:LDST|LDST LoaDing StaTion]]&lt;br /&gt;
* [[:Category:SAPO|SAPO]]&lt;br /&gt;
* [[:Category:FileFormat|FileFormat]]&lt;br /&gt;
* [[:Category:Tinki|Tinki]]&lt;br /&gt;
&lt;br /&gt;
== Per a començar ==&lt;br /&gt;
&lt;br /&gt;
Consulteu la [http://meta.wikimedia.org/wiki/Help:Contents Guia d&#039;Usuari] per a més informació sobre com utilitzar-lo.&lt;br /&gt;
&lt;br /&gt;
* [http://www.mediawiki.org/wiki/Manual:Configuration_settings Llista de característiques configurables]&lt;br /&gt;
* [http://www.mediawiki.org/wiki/Manual:FAQ PMF del MediaWiki]&lt;br /&gt;
* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce Llista de correu (&#039;&#039;listserv&#039;&#039;) per a anuncis del MediaWiki]&lt;br /&gt;
* [http://wiki.cadt.com/mediawiki/index.php/Especial:Llista_de_pàgines Llista de pàgines]&lt;/div&gt;</summary>
		<author><name>Marcb</name></author>
	</entry>
</feed>