Backup Repository Dynamic Action

Importance of Backup

Regular backup is a necessary action to protect the business from data loss.

Metadata tab

Backup Repository Action - Metadata tab
 

  1. The Write Variables option ensures that the “Package Action” logs the variable values into the “Action vars before log file” before the action is executed and logs the updated variable values into the “Action vars after log file” after the action completes.
  2. This option is typically used for debugging and is not recommended in a production environment.
  3. It can be globally disabled through the options dialog .

Parameters tab

Backup Repository Action - Parameters tab
 

Variables tab

The Variables tab defines which variables are updated during the execution of the action.

Backup Repository Action - Variables tab

Execution log tab

The Execution Log tab is populated after the action has been executed. Double-click a row to view the detailed execution log.

Backup Repository Action - Execution log tab

Calculated Backup file name example

Pascal

Backup Repository Action - Calculated Backup Backup file name example - Pascal
  Script

begin
 Result:='c:\support\'+LeftString(GETSYSTEMVARIABLE('SYSTEM_DATE'),8)+'.zip';
end;

Python

Backup Repository Action - Calculated Backup Backup file name example - Python
  Script

from datetime import datetime
Result.Value='c:\\support\\'+ datetime.now().strftime('%Y%m%d')+'.zip'

About backup

Backup is a zip file which has sqlite database inside and ReadMe.txt file with a metadata about backup.

ReadMe.txt Example

Repository Backup
Repository Name: SQL_SERVER
Repository Type: MS Sql Server
Repository Server: DBSLAMD\SQLEXPRESS2019
Repository Database: AETL_REPOSITORY
Created: 05/04/2023 09:47:12
Computer Name: DBSLAMD
User Name: dbsl
Application: AdvancedETLEnt.exe
Version: 6.3.10.0

www.etl-tools.com

Performance

For very large repository it might take a while to perform backup. In this case we recommend clearing QUEU\* repository tables

For more technologies supported by our ETL Software see Advanced ETL Processor Versions

Confused? Ask question on our ETL Forum

Posted on October 12, 2024 • 2 min read • 339 words
www.etl-tools.com About Support Pricing Cookies Policy Term Of Use Privacy Policy License