Backup and restore are mainly for data with the following three parts:
1. SVN data
2. SVN authority file and password file
3. Polarion.properties system properties file
1. Data backup
1. SVN warehouse data
Step 1: Start the Command program with administrator privileges, as shown in the following figure:
Step 2: Enter the svn backup statement according to the svn installation directory:
svnadmin dump …/polarion/data/svn/repo > ~/repo-<date>.txt
Under default settings, examples of svn backup statements are as follows:
svnadmin dump C:/polarion/data/svn/repo > C:/polarionBackup/SVNBackup-20180803.txt
Screenshot of the operation process:
* If you need to do automatic backup, please automatically obtain the current date and automatically perform the backup into the bat file, and automatically perform the backup every night through the Windows scheduled task.
2. SVN authority file and password file
Back up two files in the following path:
1) …/polarion/data/svn/access,
The default path is: C:/polarion/data/svn/access
2) …/polarion/data/svn/passwd,
The default path is: C:/polarion/data/svn/passwd
3. System properties file
Back up the system properties file:
1) …/polarion/etc/polarion.properties
The default path is: C:/polarion/ polarion /configuration/ polarion.properties
2. PolarionALM data recovery
Polarion ALM data recovery is the reverse operation of backup and requires the polarion service to be stopped first.
1. Stop the polarion service
2. Restore data
1) Restore SVN warehouse data
Step 1: Start the Command program with administrator privileges, as shown in the following figure:
Step 2: Enter the following command in the command line
cd C:/polarion/data/svn Note: If the installation path is not the default path, please change
Step 3: Rename the folder: C:/polarion/data/svn/repo as a backup
Step 4: svnadmin create repo instructions: create a new repo directory
第5步:svnadmin load repo < ~/repo-<date>.txt
2) Other data
Restore the access and passwd files backed up above to the corresponding location
2. Rebuild the index
Step 1: Start the Command program with administrator privileges, as shown in the following figure:
Step 2: Enter the command line: cd C:/polarion/polarion/
Step 3: Enter the command line: reindex.bat
During the execution process, if there is a pop-up confirmation prompt box, click Yes
If the following error is prompted:
Then delete the folder: c:polarionpolariondataworkspacepolairon-data.backup
And re-execute the name command line: reindex.bat
After successful execution, Polarion service will start automatically
Step 4: Log in to Polarion ALM and check if it is completely normal.
**My mobile phone number has call attributes and WeChat add friends attributes.
I look forward to communicating with you
I’m Mave Diao,
there is only one China Unicom between us
186-0161-9614**