Linux environment Jenkins Backup--Deployment

Source: Internet
Author: User

The above describes the environment of Jenkins, due to server migration, we may often meet the important information on the backup server, if you do not want to spend too much effort to reconfigure Jenkins, then you can enter the following:

1. Backing up Jenkins's configuration

Under the/root/.jenkins directory, use the TAR-CVF jenkins.tar. jenkins/* command to package all files in this directory. Then export to local (SZ file name: Export File/compressed package, etc.)

2. Redeploy the Jenkins environment with a backup Jenkins compression pack

2.1 Environmental Support

Need to deploy the Jenkins environment (the previous chapter says)

2.2 Backup Files Jenkins unzip under the directory (root) and restart the Jenkins service

2.3 Browser access to the Jenkins server, if you have user rights restrictions, you can modify the CONFIG./root/.jenkins directory (note, before you modify the file to make it easy to roll back the CP, form a good habit)

Linux environment Jenkins Backup--Deployment

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.