Lab 5.3 - Backup Jenkins

1. Access to master node, and create a specific backup folder

ssh root@10.X.X.66
mkdir /backup
chown -R jenkins:jenkins /backup/
chmod 755 /backup/  

2. Open the plugin website on your web browser: https://plugins.jenkins.io/

3. Type backup in the search box, and enter

4. Click the Backup plugin, and navigate to release tab

5. Click on the latest version, and you will start downloading the .hpi file

6. Open the Jenkins dashboard, go to Manage Plugins and select the Advanced tab

7. Select the previously downloaded plugin by using the file upload option, then click Upload button

8. Wait for the end of the plugin’s installation

9. After the installation is complete, go to Manage Jenkins

10. Click Backup Manager on the Uncategorized section

11. To configure Backup Manager, click Setup

12. Configure with the following values:

  • Backup directory: /backup
  • Format: zip
  • File name template: bakup_@date@.@extension@
  • Backup content: Backup job workspace

Click save

13. To start backup process, click Backup Hudson configuration.

14. Wait for the backup to complete and you can verify the zip file on master node

ssh root@10.X.X.66
ls -lah /backup

Daftar Materi
  • CI and CD Fundamentals
  • Old Ways of Software Development
  • Agile Development Process
  • Agile Development Process Work?
  • Modern Development Philosophies
  • CI / CD
  • DevOps Culture
  • Git Overview
  • Git Basic Command
  • Lab 1.1 - Managing Repository Using Git
  • Jenkins Overview
  • Jenkins Overview
  • Jenkins Short History
  • Why Jenkins is popular
  • Jenkins Releases
  • Installing Jenkins
  • Topology and Lab Environment
  • Jenkins Admin Basics
  • Manage Jenkins Screens
  • The Jenkins Home Directory
  • Jenkins Workflow
  • Using Credentials
  • Configuring Credentials
  • Plugin Management
  • Advanced Jenkins Features
  • Working with SCM
  • Source Code Management (SCM)
  • A History of SCM
  • Advanced SCM
  • Modifying the Code
  • SCM Repository
  • Updating the Repository
  • SCM Terminology
  • Branch and Merge Strategies
  • Release Branching
  • Supported SCM Products
  • View The Changelogs
  • Incremental & Clean Check Out
  • Jenkins Jobs and Builds
  • What is Job?
  • Different Types of Jobs
  • Relationship Between Project
  • What is a Builds?
  • Builds Notifications
  • Polling
  • A Periodic Build Trigger
  • How Does Pushing Work
  • Lab 7.1 - First Job in Jenkins
  • Lab 7.2 - Scheduling a Job
  • Lab 7.3 - Maven Job
  • Lab 7.4 - Jenkins Email Notification
  • Lab 7.5 - Monitoring Jenkins Job
  • Code Quality and Code Coverage Metrics
  • Software Testing
  • Importance of Testing
  • Automated Testing
  • Categories of Testing
  • The Testing Portfolio
  • The Testing Pyramid
  • Code Coverage Metrics
  • Code Coverage Tools
  • Lab 8.1 - Testing Code Quality With JUnit
  • Lab 8.2 - Code Coverage using JaCoCo
  • Parameterized Builds
  • Build Parameter
  • Type Of Parameters
  • The Ways of Using Parameterized Builds
  • Configuring Parameterized Builds
  • Lab 9.1 - Parameterized Jobs
  • Lab 9.2 - Build Triggers and Steps
  • Pipeline
  • Pipeline
  • Scope of Pipeline
  • The Advantages of Pipeline
  • Jenkins Pipeline Sections
  • Scripted Pipeline
  • Declarative Pipeline
  • Tools for Working with Pipeline
  • Parallel Stages
  • Pipeline without Blue Ocean
  • Lab 10.1 - Go Jenkins Pipeline
  • Lab 10.2 - Docker Declarative Pipeline on Spesific Node
  • Lab 10.3 - Create a Simple Scripted Pipeline
  • Automated Deployments
  • Automate Jenkins
  • Jenkins CLI
  • Lab 11.1 - Multibranch Pipeline
  • Lab 11.2 - Configuring Jenkins to Connect to Kubernetes cluster
  • Validated Merge for GitHub
  • Overview - Validated Merge
  • Validated Merge Model
  • Access Control
  • Post-build Push Failure
  • Server Setup
  • Pull Request Builder for GitHub
  • Pull Requests
  • Commands
  • Configuring a Github Hook
  • Lab 13.1 - Integrate GitHub Webhook with Jenkins
  • Lab 13.2 - GitHub Pull Request Builder
  • Templates
  • The Jenkins Template Engine
  • Benefits of the Templating Engine
  • Implementing the Template
  • Lab 14.1 - Templating Engine Basic
  • Lab 14.2 - Templating Engine using SCM