Getting Data Backup

Use

If it is required by your company’s policy to store data locally, BUGtrack allows downloading a complete data snapshot. The procedure of creating a backup copy of the system is very simple - a user can perform it by only one action. A created copy can be opened for viewing right away or stored locally on the computer.

Data backup is done with the help of the BUGtrack backup tool that scans active projects to find modified records since the last backup run and writes modified data in the HTML format. Files attached to records are also downloaded.

The backup tool operates in the context of the user account passed in the command line, thus, to perform full backup, the user should have access to all records. No modification rights are required, as no changes will be performed over the BUGtrack license data during the backup process.

Note: Information about the backup procedure is also available online. To access instructions, go to Admin tab – Administration area – Get data backup link.

Procedure

Before running the BUGtrack backup tool, make sure that Microsoft.NET Framework 2.0 is installed on the machine that will be used to obtain the backup data.

Step one. Download the BUGtrack backup tool at btbackup.zip and extract files from the archive.

Step two. Run the btbackup.exe file from the command line with the following mandatory arguments: license host, user name and password.

It is recomended to run the command prompt and paste the command string with all the necessary parameters, as in this case the command window will not be closed immediately if the command string contains any errors.

An example of a minimal command string is the following:

C:\btbackup\btbackup.exe -l =mycompany.bugtrack.net -u=Administrator -p=mypassword –v

where after the “=” (equal) sign, the following values should be provided: licence host for the –l parameter, administrator’s user name for –u parameter and administrator’s password for –p parameter. The –v (verbose) parameter instructs the BUGtrack backup tool to generate a progress report.

The following parameters may be specified in the command line:

The command window will stay open until the backup is completed. You may cancel the process at any time by pressing CTRL+C. The BUGtrack backup tool will continue from the right place next time, as it saves the "last download" info in the index.xml file. If this file is missing, the backup will start from the very beginning.

Next: User Preferences