Use the TAS Manager Console to perform regularly scheduled backups. You can save the backup file to the TAS, to another location, or both. There are three ways to perform a backup:
TIP: When you upgrade the system, you will have the option to perform a backup as part of the upgrade process. |
Use the TAS Manager Console to perform a backup :
Select System > Backup from the menu, and the Backup TAS Settings window is displayed. Select Type and Options : Select to perform a full, full_data or info backup:
If you want to save the backup file to the TAS, click the Save copy on TAS checkbox. The file name will be in the format TAS_<TAS version>_<year>-<month>-<day>_<hour>.<minute>.<second>.bck. Example:Example:
TAS_2.0.0.0_2005_01_17_10.10.53.bck
If you want to save the backup file to another location, click the Save to local file checkbox and then click Browse to select the file name and location for the backup. You can save the backup to any local or network drive available to your machine.
Click OK to begin the backup. The messages in the console will keep you apprised of the backup progress, and the backup file name will be displayed.
When the backup is complete, Start the TAS...
NOTE: The backup file will contain the license and test cases (test suite) from the backed up TAS thus if you restore you may have to install the current license and/or import the official test suite for the new TAS. |
Use the CLI to perform a backup via an SSH window to the Test Manager (TAS) :
Command | Description/Purpose | |
backup-tas |
Backup the TAS, the interactive way.
|
|
backup-tas info |
Will display disk space remaining and estimate of how much disk space the backup file will take for full with options b,u,l,t,a,r,s Example:
##>backup-tas info Determining Backup Size Including TAS Backups Including TAS Upgrades Including TAS Licenses Including Test Suites Including TS Backups Including TS Upgrades There are 328G bytes left on the hard drive There are 32G bytes of data to backup |
|
backup-tas info lts |
Both info and full options take additional optional arguments to indicate which extra things you want backed up, including even Results. Here is the usage statement:
##>backup-tas -h
backup-tas - Backup the TAS Usage: backup-tas < info | full | full_data > <b><u><l><t><a><r><s><o> <-f[file_pathname]>
Call with No arguments for normal interactive backup to a .bck file full option performs a full tar.gz backup of TAS filesystem, including the installed TAS Software with options, b,u,l,t,a,r,s,o full puts a file in /tmp/TAS_Full_Backup.tar.gz, full_data option performs a full tar.gz backup of TAS filesystem without TAS software with options, b,u,l,t,a,r,s,o full_data puts a file in /tmp/TAS_Full_Data_Backup.tar.gz, info displays estimated size for full, with options, b,u,l,t,a,r,s
Letters enable optional data to backup, only apply to info/full/full_data, not interactive b=TAS-Backup files, u=TAS-Upgrade files, l=TAS-License Files t=TS-Upgrade files, a=TS-Backup files, r=Test Results, s=Test Suites o=override restriction to allow active TAS backup, only apply to full/full_data File specification to override default backup file destination, only applies to full/full_data
Examples: backup-tas backup-tas info backup-tas info lts backup-tas full bultars backup-tas full bultarso -f /tmp/tas_backup.tar.gz backup-tas full_data bultars ##> |
|
backup-tas full bultars backup-tas full_data bultars backup-tas full bultarso -f /tmp/tas_backup.tar.gz backup-tas full_data -f /tmp/tas_data_backup.tar.gz |
Full will execute the fuller automated backup. The same options apply to full and to full_data (see above for additional details)
Example: (the info command would just provide the first part up to "There are X bytes of data to backup" ) ##>backup-tas full bultas Perform full backup Determining Backup Size Including TAS Backups Including TAS Upgrades Including TAS Licenses Including Test Suites Including TS Backups Including TS Upgrades There are 3.2G bytes left on the hard drive There are 2G bytes of data to backup TAS database backup complete, continuing with file system... Backing up Files Creating Backup File Updating Backup File Updating Backup File Updating Backup File Updating Backup File Updating Backup File Updating Backup File Updating Backup File Finalizing Backup File Compressing Backup File TAS backup is complete: /tmp/TAS_Full_Backup.tar.gz -rw-rw-r-- 1 sms sms 2024769214 Mar 3 15:49 /tmp/TAS_Full_Backup.tar.gz Be sure to retrieve and delete the backup file ##>
Example: ##>backup-tas full Perform full backup Determining Backup Size Including TAS Backups Including TAS Upgrades Including TAS Licenses Including Test Suites Including TS Backups Including TS Upgrades There are 328G bytes left on the hard drive There are 32G bytes of data to backup TAS database backup complete, continuing with file system... Backing up Files Creating Backup File Updating Backup File Updating Backup File Updating Backup File Updating Backup File Updating Backup File Updating Backup File Updating Backup File Finalizing Backup File Compressing Backup File TAS backup is complete: /tmp/TAS_Full_Backup.tar.gz -rw-rw-r-- 1 sms sms 33714482289 Mar 25 11:57 /tmp/TAS_Full_Backup.tar.gz Be sure to retrieve and delete the backup file |