> For the complete documentation index, see [llms.txt](https://documentation.atempo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.atempo.com/tina-4.9.5/tina-4.9.5-en/administration-guide/deployment/command-line.md). Agents can also search and read this documentation through its [MCP server](https://documentation.atempo.com/~gitbook/mcp).

# Command Line

## Introduction

The command line interface lets you use some of the application's functions without going through the graphical interface.

Its main benefit is integrating Tina into existing procedures or into system administration control applications.

{% hint style="warning" %}
Although the new Web admin console is used for most Tina operations, this guide may still contain references to the old Web administration interface. These sections will be updated progressively in upcoming Tina versions.
{% endhint %}

## Conventions

This documentation uses conventions that make information easier to find and understand.

**Command syntax**

Command syntax is presented as follows:

* Square brackets `[ ]` indicate an option.
* The `-` sign denotes a parameter. This parameter is either followed by the type of information to provide, or stands alone.
* The `|` sign indicates a choice between several parameters.

**Windows**

To use the command line on Windows, select **Start > All Programs > Tina > Utilities > Command Line Interface**.

This opens a command prompt preconfigured with the Tina environment variables.

For any commands that require administrator rights, if UAC is enabled, right-click **Start > All Programs > Tina > Utilities > Command Line Interface**, then select **Run as administrator**.

**Missing parameters**

For each command entered, an application looks for its parameters in several locations.

The search always follows this order:

1. The program first checks whether the parameter is specified on the command line.
2. If not, it looks in the environment variables.
3. If the parameter is still not available, it looks in the settings file.
4. Next, the program uses the default settings.
5. If the parameter is not set and it is required, the program stops with an error.

## Command syntax

This section presents a summary of all commands and their options, in alphabetical order.

> **Note**: Even though commands may be shown across multiple lines in this document, you must always enter them on a single line.

<table><thead><tr><th width="150.33331298828125">Commands</th><th>Options</th></tr></thead><tbody><tr><td>tina</td><td><code>tina [-catalog catalog] [-target_host host] [-target_appl application] [-language language] [-identity user:passwd] [-help]</code></td></tr><tr><td>tin@</td><td><code>tin@ -initrest -user user -password password [-target_host machine] [-target_appl application] [-folder folder] [-file file] [-keep_alive_dtime seconds]tin@ -initarch -user user -password password [-target_host machine] [-file file] [-keep_alive_dtime seconds]tin@ -operator contents|list_inst|info|add2bag|show_bag|rem_from_bag|empty_bag|set_date|get_date|set_depth|get_depth|restore|stat_rest|abort_rest|archive|stat_arch|abort_arch|home_dir|reset|closetin@ -get user|target_host|folder|target_appl|sess_type [-catalog catalog]</code></td></tr><tr><td>tina_acct</td><td><code>tina_acct [-customer_id customer_id] [-host host1 [host2]...] [-platform platform1 [platform2]...] [-volume_unit kilo|mega|giga] [-back_hour hours]|[-start_date yyyymmddhhmm] [-end_date yyyymmddhhmm] [-v_classes] [-v_report_date] [-v_period] [-v_catalog] [-v_platform] [-v_vm_name] [-v_folder] [-v_gacc_names] [-v_jobtype] [-v_status] [-v_user] [-v_description] [-v_dates] [-v_backup_date] [-v_elapsed] [-v_jobid] [-v_volume] [-v_expected_volume] [-v_objects] [-v_cart] [-v_barcode] [-v_properties] [-v_father_jobid] [-v_duplicated_jobid] [-v_priority] [-v_strategy] [-output_format text|xml|csv] [-csv_separator csv_separator] [-xml_stylesheet_file file] [-xml_stylesheet_type stylesheet_type] [-file file] [-display_active_jobs_only] [-skipped_jobs] [-display_jobs_with_data_only] [-job_type job_type1 [job_type2]...] [-platform_name_start_with] [-catalog catalog] [-identity identity] [-help]</code></td></tr><tr><td>tina_adm</td><td><code>tina_adm [-catalog catalog] [-language language] [-identity user:passwd] [-help]</code></td></tr><tr><td>tina_alarm</td><td><code>tina_alarm -text "text" -severity severity_level [-host host]|[-application application]|[-drive drive]|[-library library]|[-jobid id]|[-label label] [-alarm_id id] [-catalog catalog][-class event_class][-help]</code></td></tr><tr><td>tina_alpha</td><td><code>tina_alpha [-language language] [-catalog catalog] [-identity user:passwd]</code></td></tr><tr><td>tina_archive</td><td><code>tina_archive</code></td></tr><tr><td>tina_<br>archive_<br>control</td><td>tina_archive_control [-folder folder_name] [-archive archive_name] -create|- edit|-remove|-list|-statistic|-view [-force] [-description description] [-type] [- keywords keyword1 [keyword2]...] [-remove_keywords] [-protected_size] [- outptut_format text|csv] [-csv_separator csv_separator] [-permission permission1 [permission2]...][-os_user user_name] [-os_group group_name][- cartridge_format format] [-file_format format1 [format2]...] [-through_link yes/no] [-pool pool_name1 [pool_name2]...] [-host host_name] [-manage_acl yes/no] [- prolog file_path] [-epilog file_path] [-lanfree yes/no] [-remove_archived_file yes/no] [-use_empty_archive yes/no] [-sync_cart yes/no] [-continue_on_error yes/no] [-keyword_on_archive yes/no] [-propagate] [-identity identity] [-catalog catalog] [-help]</td></tr><tr><td>tina_backup</td><td>tina_backup -strat A|B|C|D [-full]|[-incr] [-host host]|[-application application] [- date yyyymmddhhmm] [-path path1 [path2]...]|[-file_list file_path]|[-parallel_file_ list file_path1 [file_path2]...] [-user user] [-password password] [-encode] [- compress] [-sync_cart] [-v_jobid] [-identity user:passwd] [-catalog catalog] [- help]</td></tr><tr><td>tina_cache</td><td><p>tina_cache [-purge] [-job_queue ] [-jobid jobid] [-scan] [-once] [- incl job_type1 [job_type2]...]|[-excl job_type1 [job_type2]...][-interval ] [- jobs_to_stderr] [-info] [-path</p><p>] [-move ] [-rename ] [-display_states] [- catalog catalog] [-help]</p></td></tr><tr><td>tina_cart</td><td>tina_cart -type dev_type -list|-extract -device device_descriptor [-skip number] [- source_data_os_type Windows|Unix|MacOS|Netware] [-old_format] [-verbose] [-offset offset value] [-set_size] [-files file1 [file2]...] [-format TiNa|TiNa2|TiNa3|TiNa4|TiNa5|tar|cpio|raw] [-all] [-no_decode] [-raw_data] [- block_size Size] [-crypt_password password] [-key Key file] [-event_to_console]</td></tr><tr><td>tina_cart_ control</td><td>tina_cart_control [-label label] [-pool pool_label] [-pool_dest pool_label] [-drive drive] -close|-reopen|-recycle|-new_spare|-erase|-delete|-status|-create|- duplicate|-read|-chgpath|-list [-depth valueUNIT] [-before]|[-after]|[-all] [-no_ empty] [-online_ready] [-nbcart nbcart] [-force]|[-range valueUNIT] [-barcode barcode1 [barcode2]...] [-number number] [-output_format text|csv] [-csv_ separator separator] [-short]|[-long] [-do_not_check_data_integrity] [-retention valueUNIT] [-status_filter status_filter1 [status_filter2]...] [-catalog catalog] [- path path] [-path_dest new_path] [-v_name] [-v_barcode] [-v_volume] [-v_unit] [-v_tape_file] [-v_status] [-v_recycling] [-v_location] [-v_rule] [-v_description] [- v_creation_date] [-v_backup_date] [-v_format] [-v_wear_level] [-v_recyclable] [- v_recycle_age] [-v_type] [-v_pool_label] [-v_close_status] [-v_fill_status] [- identity identity] [-help]</td></tr><tr><td>tina_<br>catalog_ctrl</td><td>tina_catalog_ctrl -start|-suspend|-stop|-maintenance|-status [-catalog catalog] [-identity user:password] [-help]</td></tr><tr><td>tina_cert</td><td>tina_cert [-language language]</td></tr><tr><td>tina_clone_ catalog</td><td>tina_clone_catalog [-disable] [-size size_MB] [-boot boot_file] [-file file] [- index index1 [index2]...] [-catalog_name catalog_name] [-pipe pipe] [- folder folder1 [folder2]...]|[-skip_folder folder1 [folder2]...] [-boot_restore_index] [-file_size file_size] [-max_catalog_size max_catalog_size] [-help]</td></tr><tr><td>tina_cod</td><td>tina_cod [-codec codec_list1 [codec_list2]...]|[-decode][-file_list file_list1 [file_ list2]...] [-stdio] [-pipe_in pipe] [-pipe_out pipe] [-list] [-test] [-crypt_ password password] [-compress_rate compress_rate] [-quiet] [-help]</td></tr><tr><td>tina_config</td><td>tina_config [-encode file]|[-decode file] [-html] [-verbose] [-show_cartridges] [- catalog catalog][-identity user:password] [-help]</td></tr><tr><td>tina_daemon</td><td>tina_daemon [-reset][-tina][-tina_service_name][-tina_service_tcp_num][tina_ service_udp_num]</td></tr><tr><td>tina_del</td><td>tina_del -path_folder path [-folder folder] [-r]|[-i] [-strat A|B|C|D] [-catalog_only] [- catalog catalog] [-identity user:passwd] [-help]</td></tr><tr><td>tina_drive_ control</td><td>tina_drive_control -drive drive_name [-host_access host_name] [-test] [-catalog catalog] [-identity identity]</td></tr><tr><td>tina_event</td><td>tina_event [-v_development] [-v_ad_cell_obj] [-v_class] [-v_pid][-v_job_id] [-v_ program] [-v_host] [-v_user] [-v_catalog] [-v_server][-v_log_date] [-<em>severity</em> full] [-f_date YYYYMMDDHHmm YYYYMMDDHHmm][-f_pid pid] [-f_job_ id jobid1 [jobid2]...] [-f_program program][-f_host hostname] [-f_user username] [-f_catalog catalog] [-f_server server] [-f_severity alarm_critical alarm_major alarm_minor fatal error warning info acct debug] [-f_log_date YYYYMMDDHHmm YYYYMMDDHHmm] [-all_event] [-output_format text|csv] [-csv_separator csv_separator] [-file file] [-output_file output_file] [-split_by_ catalog][-max_line number_line] [-catalog catalog] [-target_host hostname] [- help]</td></tr><tr><td>tina_event_ viewer</td><td>tina_event_viewer [-catalog catalog] [-file file] [-language language] [-no_ refresh] [-jobid id] [-all_events] [-help]</td></tr><tr><td>tina_export</td><td>tina_export -folder folder [-path_folder path1 [path2]...] [-date yyyymmddhhmm] [-date_dest date] [-strat A|B|C|D] [-catalog_dest catalog] -folder_dest folder [- update] [-strat_dest A|B|C|D] [-path_folder_dest archive_path] [-full]|[-incr] [- catalog catalog] [-help]</td></tr><tr><td>tina_folder_ control</td><td>tina_folder_control [-end_folder_maintenance folder1 [folder2]...]| [-import_ folder folder1 [folder2]...] [-file catalog_backup] [-keep_platform_disabled] [- catalog catalog][-list_folder][-list_maint_folder][-help]</td></tr></tbody></table>

<table><thead><tr><th width="143.66668701171875">Command</th><th>Options</th></tr></thead><tbody><tr><td>tina_find</td><td><code>tina_find [-path_folder search_path] [-pattern "pattern"] [-host host1 [host2]...] [-application application1 [application2]...] [-folder archive_folder] [-depth valueUNIT] [-lost_files] [-strat A|B|C|D] [-all] [-long] [-display_cart] [-nfs] [-date yyyymmddhhmm] [-no_r] [-output_format text|csv] [-catalog_only] [-user user] [-password password] [-csv_separator csv_separator] [-catalog catalog] [-identity user:passwd] [-help]</code></td></tr><tr><td>tina_help</td><td><code>tina_help [-alarm_id ID] [-parameter_list] [-parameter tunable_name] [-envar_list] [-envar envar_name] [-app_type appli_type] [-alarm_list]</code></td></tr><tr><td>tina_init</td><td><code>tina_init [-disable] [-config]|[-folder folder1 [folder2]...] | [-skip_folder folder1 [folder2]...] [-maintain_folder folder] [-close_cart] [-size size_MB] [-nb_instance number] [-boot boot_file] [-file file] [-index index1 [index2]...] [-memory_cache_only cache_size_(MB)] [-pipe pipe] [-path path] [-force_reinit]|[-no reinit] [-catalog_name catalog_name] [-boot_restore_index] [-file_size file_size] [-max_catalog_size max_catalog_size] [-help] [-create]|[-edit] [-property_file parameter_file]</code></td></tr><tr><td>tina_job</td><td><code>tina_job [-catalog catalog] [-language language] [-identity user:passwd] [-job_polling_period period] [-help]</code></td></tr><tr><td>tina_job_control</td><td><code>tina_job_control -jobid job_id -cancel|pause|restart|duplicate|change_priority top|up|down|bottom [-no_wait] [-pool pool_name] [-close_cart] [-empty_cart] [-continue_on_error] [-view] [-catalog catalog] [-identity user:passwd] [-help]</code></td></tr><tr><td>tina_library</td><td><code>tina_library [-catalog catalog] [-library library] [-language language] [-identity user:passwd] [-help]</code></td></tr><tr><td>tina_library_control</td><td><code>tina_library_control -library library -reinit_status|reinit_read_label|reinit_barcode|reinit_full_inventory -offline|online|list_content|retry_mbox_full [-label cartridge_label] [-barcode bar_code] [-pool pool_label] [-output_format text|csv] [-short]|[-long] [-do_not_check_data_integrity] [-offline_ready] [-csv_separator csv_separator] [-no_wait] [-retention valueUNIT] [-status_filter status_filter1 [status_filter2]...] [-known_cart] [-catalog catalog] [-help]</code></td></tr><tr><td>tina_listcart</td><td><code>tina_listcart -label label [-output_format text|csv] [-csv_separator csv_separator] [-listjob] [-v_type] [-v_path] [-v_backup_date] [-v_modification_date] [-v_info_cart] [-v_folder] [-v_default] [-data_integrity_check] [-catalog catalog] [-identity user:passwd] [-help]</code></td></tr><tr><td>tina_listjob</td><td><code>tina_listjob -jobid jobid [-force] [-max_obj max_obj] [-all] [-output_format format] [-csv_separator separator] [-v_size] [-volume_unit unit] [-v_path] [-v_type] [-v_backup_date] [-v_last_access_date] [-v_modification_date] [-v_info_cart] [-v_barcode] [-v_host] [-v_strat] [-v_sess] [-v_default] [-catalog catalog] [-help]</code></td></tr></tbody></table>

<table><thead><tr><th width="179">Command</th><th>Options</th></tr></thead><tbody><tr><td>tina_odbcheck</td><td><code>tina_odbcheck [-reset] [-opcode opcode] [-catalog catalog] [-help]</code></td></tr><tr><td>tina_odbfree</td><td><code>tina_odbfree [-folder folder1 [folder2]...] [-dedup_strat strat_num] [-keep_full n] [-invert] [-label label] [-retention days] [-jobid jobid] [-batch] [-catalog catalog] [-help]</code></td></tr><tr><td>tina_odbgc</td><td><code>tina_odbgc [-purge] [-hss_sync] [-sync] [-catalog catalog] [-help]</code></td></tr><tr><td>tina_odbsave</td><td><code>tina_odbsave [-no_compress] [-dir_dest destination_directory] [-check] [-maintain_folder folder1 [folder2]...] [-folder folder1 [folder2]...] [-skip_folder folder1 [folder2]...] [-config] [-no_job] [-prefix prefix] [-file odbsave_file] [-pipe odbsave_pipe] [-index_dir index_directory] [-catalog catalog] [-help]</code></td></tr><tr><td>tina_operator</td><td><code>tina_operator [-catalog catalog] [-language language] [-identity user:passwd] [-help]</code></td></tr><tr><td>tina_ping</td><td><code>tina_ping -host host [-tina_service tcp_num tcp_port_number | -tina_service_name service_name] [-bonjour] [-no_icmp_ping] [-register_bonjour] [-verbose] [-help]</code></td></tr><tr><td>tina_report</td><td><code>tina_report [-customer_id customer_id] [-start_date YYYYMMDDHHmm] [-end_date YYYYMMDDHHmm] [-simple_invoice] [-detailed_invoice] [-v_archives] [-volume_unit kilo|mega|giga|tera] [-output_format text|xml|csv] [-csv_separator csv_separator] [-xml_stylesheet_file file] [-xml_stylesheet_type stylesheet_type] [-file file] [-decode]|[-encode] [-catalog catalog] [-identity identity] [-help]</code></td></tr><tr><td>tina_restore</td><td><code>tina_restore -path_folder path1 [path2]... | -file_list file_path [-file_list_dest file_path] [-behavior_on_missing_file continue|continue_with_error_code|abort] [-ex_path_folder path1 [path2]...] [-ex_file_list file_path] [-folder folder] [-path_dest path] [-folder_dest folder] [-drive drive] [-strat A|B|C|D] [-mode restore mode] [-date yyyymmddhhmm | yyyymmddhhmmss] [-depth valueUNIT] [-no_rewind] [-silent] [-offline_mode offline_mode] [-all_vers] [-user user] [-password password] [-v_jobid] [-error_mode continue|abort|replace_after_reboot] [-test_mode test_mode] [-do_not_restore_security_attributes] [-secure_interactive_password]|[-secure_session_password_id] [-xml_restore_parameters_file] [-file_mode_interactive_user] [-restore_chronological_order] [-catalog catalog] [-identity user:passwd] [-help]</code></td></tr><tr><td>tina_scm</td><td><code>tina_scm [-catalog catalog] [-language language] [-identity user:passwd]</code></td></tr><tr><td>tina_scm_control</td><td><code>tina_scm_control [-catalog catalog]</code></td></tr></tbody></table>

<table><thead><tr><th width="224.33331298828125">Command</th><th>Options</th></tr></thead><tbody><tr><td>tina_sched</td><td><code>tina_sched [-catalog catalog] [-historic_hours hours] [-scheduled_hours hours] [-estimation number] [-language language] [-help]</code></td></tr><tr><td>tina_sendmail</td><td><code>tina_sendmail -server smtp_server -to email_address_1 [email_address_2]... [-cc email_address_1 [email_address_2]...] [-from email_address] [-subject subject] [-body body_text]|[-body_file body_file] [-attach attachment_list1 [attachment_list2]...] [-charset charset] [-port port] [-user username] [-pass password] [-help]</code></td></tr><tr><td>tina_shell</td><td><code>tina_shell [-file script_file] [-catalog catalog] [-identity user:passwd] [-help]</code></td></tr><tr><td>tina_sidf</td><td><code>tina_sidf [-type "dev_type"] [-list]|[-scan]|[-extract] [-scan_nb_obj_to_list nb_objects] [-scan_skip_size size_MB] [-device device_descriptor] [-skip n] [-range [device,skip,count] ...] [-files file1 [file2]...] [-format sidf|raw] [-all] [-no_decode] [-raw_data] [-block_size size] [-force_as type] [-crypt password password] [-key key_file] [-host host_name] [-catalog catalog] [-event_to_console]</code></td></tr><tr><td>tina_start_backup</td><td><code>tina_start_backup -host host -application application -strat A|B|C|D [-full]|[-incr] [-sync] [-v_jobid] [-identity user:passwd] [-catalog catalog] [-help] [-v_job_status] [-return_job_status]</code></td></tr><tr><td>tina_stop</td><td><code>tina_stop [-host host1 [host2]...]</code></td></tr><tr><td>tina_stream</td><td><code>tina_storage_ctrl -list_pool_content|list_pools|erase_pool_content [-pool pool_name] [-application application_name] [-object object_name] [-start_date yyyymmddhhmmss] [-end_date yyyymmddhhmmss] [-force] [-catalog catalog] [-help]</code></td></tr><tr><td>tina_synchvds</td><td><code>tina_synchvds [-catalog catalog] [-identity identity] [-catalog_id UUID] [-list_clients]|[-client UUID]|[-synchronize mode] [-path_to_remove full_path]|[-remove] [-config_name config_name] [-hvds_server server_name] [-hvds_port port_num] [-hvds_user user_name] [-hvds_password password] [-console] [-help]</code></td></tr><tr><td>tina_tunable_ctrl</td><td><code>tina_tunable_ctrl [-verbose] [-catalog catalog] [-identity user:passwd] [-file file] [-hosts hosts] [-name name] [-comment comment] [-catalogs catalogs] [-binaries binaries] [-values values] [-disabled] [-force] [-merge] [-remove] [-help]</code></td></tr><tr><td>tina_user_info_cmd</td><td><code>tina_user_info_cmd [-output_format text|csv] [-csv_separator csv_separator] [-start_eub]|[-abort_eub] [-catalog catalog] [-help]</code></td></tr></tbody></table>

## Command line

This section presents all commands in alphabetical order. It details their syntax and illustrates their use with examples.

> **Note**: The default values of the graphical interface options can be changed by environment variables or in the settings file.

### Prerequisites

**Windows**

To open the command line interface, click:

**Start** → **All Programs** → **Tina** → **Utilities** → **Command Line Interface**

You are automatically placed in the `$TINA_HOME\Bin` directory and a prompt is displayed for you to enter the command.

**Unix**

On Linux and Unix, it is no longer necessary to load `.tina.sh` before launching Tina commands.

Run Tina commands directly.

Each command is now a wrapper script that automatically computes `TINA_HOME`, loads `.tina.sh`, then launches the actual command. This mechanism is transparent and does not affect your existing scripts or procedures. If the environment is already set, the commands continue to work normally.

**macOS**

On macOS, as on Windows, Tina services are normally launched automatically at startup and the environment is set when you click the **Command Line Interface** icon in the **Utilities** tab of the Launcher.

### Specific parameters

These parameters have a particular function or are common to all or part of the Tina binaries and commands.

**`-version`**

The `-version` parameter displays the version number of the application used. It is common to all commands.

To find out the version number of an application, enter the `-version` parameter on the command line.

This parameter:

* cannot be set in the environment;
* cannot be set in the settings file;
* has no default value.

Its behavior is particular, since it does not launch the binary, unlike other parameters.

**`-long_version`**

The `-long_version` parameter is used like `-version`, but provides more information, such as:

* the build number;
* the revision number.

**`-help`**

The `-help` parameter displays the command's help. It presents the list of parameters accepted by the command.

> **Note:**\
> The `-help` parameter is valid for all commands, except on Windows for binaries that open a graphical interface (`tina`, `tina_adm`, `tina_user_info`, etc.).

**`-language`**

The `-language` parameter sets the working language of the binary or command.

Possible values:

* Chinese
* English
* French
* German
* Japanese
* Korean
* Spanish

This parameter affects:

* graphical interfaces;
* messages displayed on the command line;
* events logged by Tina.

By default, Tina is displayed in English.

**`-identity`**

The `-identity` parameter lets you specify a username and password to connect to the Tina catalog with an identity different from that of the user launching the command.

Format:

```
username:password
```

This parameter is required if the user launching the command does not have the rights needed to access the catalog functions required by the command.

For example, with the `tina_catalog_ctrl` command, used to access a remote catalog, the `-identity` parameter must provide the credentials of the remote catalog administrator.

For commands that launch a graphical interface, if this parameter is not used, the catalog login identity is requested when the application starts.

> **Note:**\
> If the password is an empty string, both the `username:` and `username` formats are accepted for the `-identity` parameter.

Even though the `-identity` parameter strengthens access security, it can be omitted. In this case, the associated command is not secured.

> **Note:**\
> If `root` has administration rights on the catalogs, the `-identity` parameter is not necessary to run `tina_report`.\
> For more information about `tina_report`, see the corresponding section.

**`-no_console_output`**

The `-no_console_output` parameter prevents command line program messages from being displayed in the console.

This can be useful for commands launched without an available console, to avoid error logging.

### Commands

This section lists the commands.

#### tina

`tina` opens the **Restore & Archive Manager**, used to restore and archive data.

```bash
tina [-catalog catalog]
     [-target_host host]
     [-target_appl application]
     [-language language]
     [-identity user:passwd]
     [-help]
     [-run_local]
```

`-catalog catalog`\
Specifies the working catalog.

`-target_host host`\
Specifies the target host.

`-target_appl application`\
Specifies the target application.

`-identity user:passwd`\
Specifies the username and password used to connect to the Tina catalog.\
For more information, see the description of the `-identity` parameter.

`-run_local` *(Unix systems only)*\
Lets you open the Restore & Archive Manager with the identity of the user who launched the `tina` command. No additional credentials are then requested when the interface opens.

Example — Launch Tina in French with the `Demo` catalog:

```bash
tina -catalog Demo -language French
```

Example — Launch Tina in English with the `Demo` catalog on the `ora7` application:

```bash
tina -catalog Demo -target_appl ora7
```

Example — Launch Tina in Spanish with the `Demo` catalog using the `bjr` identity (Unix):

```bash
tina -catalog Demo -language Spanish -identity bjr:passwd
```

Windows\
tina -catalog Demo -language Spanish -identity DOMAINE1\bjr:passwd

#### tin@

The `tin@` command lets you restore and archive data. To use this command, proceed as follows:

* create a restore session with the `-initrest` option or an archiving session with the `-initarch` option;
* use the `-operator` option to specify the operation to perform;
* also use the `-get` option to retrieve information about the current session.

> **Note**: Users who perform restore or archiving operations must have the corresponding Tina rights. See the Tina restore documentation for more details.

**`-initrest` and `-initarch` options**

**Syntax**

<kbd>tin@ -initrest -user user -password password \[-target\_host machine|-target\_ appl application] \[-folder folder] \[-file file] \[-keep\_alive\_dtime seconds] tin@ -initarch -user user -password password \[-target\_host machine] \[-file file] \[-keep\_alive\_dtime seconds]</kbd>

<table><thead><tr><th width="214.3333740234375">Option</th><th>Description</th></tr></thead><tbody><tr><td><code>-initrest</code></td><td>Creates a restore session. Displays the session ID to be used by other options.</td></tr><tr><td><code>-initarch</code></td><td>Creates an archiving session. Displays the session ID to be used by other options.</td></tr><tr><td><code>-user user</code></td><td>Name of the user accessing the host.On Windows, the user name must be in the form:<code>&#x3C;domain_name>\&#x3C;user_name></code></td></tr><tr><td><code>-password password</code></td><td>Authentication password.</td></tr><tr><td><code>-folder folder</code></td><td><p>Folder of the host, application, or archive to browse or restore.In the case of a backup folder, you must specify whether the folder belongs:</p><p>• to a host: <code>-folder host.&#x3C;host_name></code></p><p>• to an application: <code>-folder appl.&#x3C;application_name></code></p></td></tr><tr><td><code>-target_host machine</code></td><td>Name of the host where the restore or archiving takes place.</td></tr><tr><td><code>-target_appl</code></td><td>Name of the application where the restore takes place.</td></tr><tr><td><code>-file file</code></td><td>Specifies a file name where the session ID is written.</td></tr><tr><td><code>-keep_alive_dtime seconds</code></td><td>Specifies, in seconds, the session lifespan.Default value: <code>300</code>Minimum value: <code>60</code>Maximum value: <code>1800</code></td></tr><tr><td><code>-catalog catalog_name</code></td><td>Name of the catalog.</td></tr><tr><td><code>-help</code></td><td>Displays help for the <code>tin@</code> command.</td></tr><tr><td><code>-help -option</code></td><td><p>Displays help for the specified option.The option can be:</p><p>• <code>-operator</code></p><p>• <code>-initarch</code></p><p>• <code>-initrest</code></p><p>• <code>-get</code></p></td></tr></tbody></table>

**Option `-operator`**\
The `-operator` option lets you execute different operations once a restore or archiving session has been created.

> **Note**: The `-operator` option can only be used for one operation at a time. If you want to execute several operations, you must run the `-operator` option as many times as necessary.

**Syntax: `-operator`**

<kbd>tin@ -operator contents|list\_inst|info|add2bag|show\_bag|rem\_from\_bag |empty\_bag|set\_date|get\_date|set\_depth|get\_depth|restore|stat\_rest|abort\_ rest| archive|stat\_arch|abort\_arch|home\_dir|reset|close</kbd>

Summary of operations available with the `-operator` option:

<table><thead><tr><th width="151">Operation</th><th>Description</th></tr></thead><tbody><tr><td><code>contents</code></td><td>Lists the contents of a directory.</td></tr><tr><td><code>list_inst</code></td><td>Lists the backup versions of an object.</td></tr><tr><td><code>info</code></td><td>Provides information concerning a specific version.</td></tr><tr><td><code>add2bag</code></td><td>Adds an object to the list of objects to restore or archive.</td></tr><tr><td><code>show_bag</code></td><td>Displays the list of objects to restore or archive.</td></tr><tr><td><code>rem_from_bag</code></td><td>Removes an object from the list of objects to restore or archive.</td></tr><tr><td><code>empty_bag</code></td><td>Empties the list of objects to restore or archive.</td></tr><tr><td><code>set_date</code></td><td>Sets the navigation date (restore sessions only).</td></tr><tr><td><code>get_date</code></td><td>Gets the navigation date (restore sessions only).</td></tr><tr><td><code>set_depth</code></td><td>Sets the time navigation period.</td></tr><tr><td><code>get_depth</code></td><td>Gets the time navigation information.</td></tr><tr><td><code>restore</code></td><td>Restores the list of objects selected (restore sessions only).</td></tr><tr><td><code>archive</code></td><td>Archives the list of objects selected.</td></tr><tr><td><code>stat_rest</code></td><td>Displays the restoration status (restore sessions only).</td></tr><tr><td><code>stat_arch</code></td><td>Displays the archiving status.</td></tr><tr><td><code>abort_rest</code></td><td>Cancels the restore (restore sessions only).</td></tr><tr><td><code>abort_arch</code></td><td>Cancels the archiving.</td></tr><tr><td><code>home_dir</code></td><td>Gets the home directory of the user (if any).</td></tr><tr><td><code>reset</code></td><td>Resets the current session.</td></tr><tr><td><code>close</code></td><td>Closes the current session.</td></tr></tbody></table>

**List of the parameters of the operations**

Parameters are required to specify the operation to execute. Here is the list of parameters used by the operations.

<table><thead><tr><th width="235">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><code>-abs_path abs_path</code></td><td>Specifies the object absolute path in UTF8.Used only with:<code>-operator contents-operator add2bag-operator rem_from_bag-operator list_inst</code>Write paths using Unix syntax, regardless of the host operating system.</td></tr><tr><td><code>-type type_code</code></td><td>Specifies the object type code.Possible values are:<code>"-"</code> : file — applies to host, application, archive<code>"c"</code> : char — applies to host, archive<code>"b"</code> : block — applies to host, archive<code>"d"</code> : directory — applies to host, application, archive<code>"l"</code> : link — applies to host, application, archive<code>"p"</code> : pipe — applies to host, archive<code>"s"</code> : socket — applies to host, archive<code>"o"</code> : door — applies to host, archiveThe type option is useful to differentiate two objects with the same absolute path but different types.</td></tr><tr><td><code>-obj_id obj_id</code></td><td>Specifies the object ID.This information is returned by the commands:<code>-operator contents-operator list_inst-operator info</code></td></tr><tr><td><code>-sess_id sess_id</code></td><td>Specifies the session ID where the operation takes place.The session ID is provided by:<code>-initrest-initarch</code>It is required for all <code>-operator</code> operations.</td></tr><tr><td><code>-date YYYYMMDDHHmm[ss]</code></td><td>Specifies the new date value.Used only with:<code>-operator set_date</code></td></tr><tr><td><code>-depth value unit|infinite</code></td><td>Specifies the new time navigation value and unit.Used only with:<code>-operator set_depth</code>The value is an integer. Possible unit values are:<code>S</code> — second<code>m</code> — minute<code>H</code> — hour<code>D</code> — day<code>W</code> — week<code>M</code> — month<code>Y</code> — yearInstead of providing a value and a unit, you can use the keyword <code>infinite</code>.</td></tr><tr><td><code>-jobid job_id</code></td><td>Specifies the job identifier.Used only with:<code>-operator stat_rest-operator stat_arch</code></td></tr><tr><td><code>-mode mode</code></td><td>Specifies the restore behavior if a file to restore already exists.Used only with:<code>-operator restore</code>Default value: <code>replace</code>Possible values are:<code>renamereplaceignoreignore_recentignore_same</code></td></tr><tr><td><code>-path_dest path_dest</code></td><td><p>Specifies the restore or archive destination path.Used only with:<code>-operator restorearchive</code>The syntax for writing paths depends on the destination type:</p><ul><li>Unix syntax for a destination host running Unix OS</li><li>Windows syntax for a destination host running Windows OS</li><li>Unix syntax for a Tina archiveWrite paths in Latin-1 format.</li></ul></td></tr><tr><td><code>-all</code></td><td>Specifies restoring all versions of the selected objects.Used only with:<code>-operator restore</code></td></tr><tr><td><code>-full</code></td><td>Specifies a full archive (default value).Used only with:<code>-operator archive</code></td></tr><tr><td><code>-incr</code></td><td>Specifies an incremental archive.Used only with:<code>-operator archive</code></td></tr><tr><td><code>-folder_dest folder_dest</code></td><td>Specifies the archive destination folder.Used only with:<code>-operator archive</code></td></tr></tbody></table>

**Details of the `-operator` operations**

1. `-operator contents` — This operation generates the list of the contents of the specified directory. The list consists of 11 columns separated by a tab. See **Column Description** below.

**Usage**

tin@ -operator contents -abs\_path abs\_path \[-type code\_type] \[-obj\_ id obj\_id] -sess\_id sess\_id

**Column Description**

<table><thead><tr><th width="235">Column name</th><th>Description</th></tr></thead><tbody><tr><td><strong>Object Type</strong></td><td><p>The object type is coded on three characters.</p><ul><li>The first character represents the main type.</li><li>The second character represents the secondary type.The third character represents the status and applies only to applications. Possible values: Main type<br>Code Object: Applies to:<br>"." file host, application, archive<br>"c" char host, archive<br>"b" block host, archive<br>"d" directory host, application, archive<br>"l" link host, application, archive<br>"p" pipe host, archive<br>"s" socket host, archive<br>"o" door host, archive</li></ul><p>Secondary type Code Object: Applies to: "A" archive archive "d" OBJ_GRAPHIC_DB_TYPE_NODE application "a" OBJ_GRAPHIC_DB_TYPE_BLOB_RO application "f" OBJ_GRAPHIC_DB_TYPE_SPACE, OBJ_GRAPHIC_DB_TYPE_SPACE_RO application "t" OBJ_GRAPHIC_DB_TYPE_LOG application "B" OBJ_GRAPHIC_DB_TYPE_BLOB application "." OBJ_GRAPHIC_DB_TYPE_FILE application "l" OBJ_GRAPHIC_DB_TYPE_LINK application "p" OBJ_GRAPHIC_DB_TYPE_PIPE application "g" OBJ_GRAPHIC_DB_TYPE_GUTTER, OBJ_GRAPHIC_DB_TYPE_MOUNT_GUTTER application "e" OBJ_GRAPHIC_DB_TYPE_ENV_ERR, OBJ_GRAPHIC_DB_TYPE_ERROR application "i" OBJ_GRAPHIC_DB_TYPE_ENV_INFO, OBJ_GRAPHIC_DB_TYPE_INFO, OBJ_GRAPHIC_DB_TYPE_INFO_DIR application "w" OBJ_GRAPHIC_DB_TYPE_ENV_WARNING, OBJ_GRAPHIC_DB_TYPE_WARNING application "x" OBJ_GRAPHIC_DB_TYPE_EXEC application "y" OBJ_GRAPHIC_DB_TYPE_SYNC, OBJ_GRAPHIC_DB_TYPE_SYNC_DIR application "m" OBJ_GRAPHIC_DB_TYPE_MOUNT_LOCAL application "n" OBJ_GRAPHIC_DB_TYPE_MOUNT_NET application "r" OBJ_GRAPHIC_DB_TYPE_REST_OPTION application</p><p>Application Status<br>Status Description: Applies to:<br>"f" offline application<br>"n" online application<br>"z" transit application</p></td></tr><tr><td><strong>Size</strong></td><td>Size of the object in bytes.</td></tr><tr><td><strong>Owner</strong></td><td>Owner of the object Size of the object in bytes</td></tr><tr><td><strong>Last Modification Date</strong></td><td>Date of the last modification of the object. Format: <code>yyyymmddhhmmss</code></td></tr><tr><td><strong>Backup Date</strong></td><td><p>Date of the last backup of the object.</p><ul><li>In the present: <code>"unknown"</code></li><li>In the past: <code>yyyymmddhhmmss</code> or <code>"unknown</code></li></ul></td></tr><tr><td><strong>Disappeared Status</strong></td><td>Indicates whether the object has been deleted (<code>dis</code>) or not (<code>---</code>).</td></tr><tr><td><strong>Bag Status</strong></td><td><p>Indicates whether the object is contained in the bag. Possible values:</p><ul><li><code>out</code>: not in the bag</li><li><code>in</code>: in the bag</li><li><code>anc</code>: in the bag because the parent object is in the bag</li></ul></td></tr><tr><td><strong>Object ID</strong></td><td>The identifier appears only if the object has been backed up, otherwise the value is <code>0</code>.</td></tr><tr><td><strong>Path size</strong></td><td>Number of characters in the object's absolute path.</td></tr><tr><td><strong>Object Path</strong></td><td>Absolute path of the object (UTF-8).</td></tr><tr><td><strong>Object name</strong></td><td>Relative name of the object in HTML/UTF-8 format.</td></tr></tbody></table>

**Example**. <kbd>-operator contents</kbd> in the present

```
tin@ -sess\_id $sess\_id -operator contents -abs\_path /tmp/testjean/
d jdr 0 20040723092900 unknown --- out 7867936 18 /tmp/testjean/test test
l jdr 0 20040723093113 unknown --- out 7867472 18 /tmp/testjean/link link -> /tmp/testjean/test
p root 0 20040723092947 unknown --- out 7867408 18 /tmp/testjean/pipe pipe
. jdr 393216 20040715130345 unknown --- out 7894496 19 /tmp/testjean/testj testj
. jdr 393216 20040715130354 unknown --- out 7894848 20 /tmp/testjean/testje testje
. jdr 393216 20040715130356 unknown --- out 7895008 21 /tmp/testjean/testjea testjea
. jdr 393216 20040715130358 unknown --- out 7894448 22 /tmp/testjean/testjean testjean
. jdr 393216 20040715130400 unknown --- out 7894784 23 /tmp/testjean/testjeann testjeann
. jdr 393216 20040723093752 unknown --- out 7867696 24
/tmp/testjean/testjeanne testjeanne
```

**Example**. <kbd>-operator contents</kbd> in the present with the time navigation period activated (lost files detected)

<pre><code><strong>tin@ -sess_id $sess_id -operator contents -abs_path /tmp/testjean/
</strong>d jdr 0 20040723092900 unknown --- out 7867936 18
/tmp/testjean/test test
l jdr 0 20040723093113 unknown --- out 7867472 18
/tmp/testjean/link link -> /tmp/testjean/test
p root 0 20040723092947 unknown --- out 7867408 18
/tmp/testjean/pipe pipe
. jdr 393216 20040715130345 20040723094358 dis out 7894496
19 /tmp/testjean/testj testj
. jdr 393216 20040715130354 unknown --- out 7894848 20
/tmp/testjean/testje testje
. jdr 393216 20040715130356 unknown --- out 7895008 21
/tmp/testjean/testjea testjea
. jdr 393216 20040715130358 unknown --- out 7894448 22
/tmp/testjean/testjean testjean
. jdr 393216 20040715130400 unknown --- out 7894784 23
/tmp/testjean/testjeann testjeann
. jdr 393216 20040723093752 unknown --- out 7867696 24
/tmp/testjean/testjeanne testjeanne
</code></pre>

**Example**. <kbd>-operator contents</kbd> in the past

```
burma2.tina_ff(205) [Src] tin@ -sess_id $sess_id -operator contents -abs_
path
/tmp/testjean/
d jdr 0 20040723092900 20040723094358 --- out 7867936
18 /tmp/testjean/test test
l jdr 0 20040723093113 20040723094358 --- out 7867472
18 /tmp/testjean/link link -> /tmp/testjean/test
p root 0 20040723092947 20040723094358 --- out 7867408
18 /tmp/testjean/pipe pipe
. jdr 393216 20040715130345 20040723094358 --- out 7894496
19 /tmp/testjean/testj testj
. jdr 393216 20040715130354 20040723094358 --- out 7894848
20 /tmp/testjean/testje testje
. jdr 393216 20040715130356 20040723094358 --- out 7895008
21 /tmp/testjean/testjea testjea
. jdr 393216 20040715130358 20040723094358 --- out 7894448
22 /tmp/testjean/testjean testjean
. jdr 393216 20040715130400 20040723094358 --- out 7894784
23 /tmp/testjean/testjeann testjeann
. jdr 393216 20040723093752 20040723094358 --- out 7867696
24 /tmp/testjean/testjeanne testjeanne
```

1. <kbd>-operator -list\_inst</kbd> This operation generates a list of all the backup versions of the specified object. The list is similar to the result of the <kbd>ls -ld</kbd> command on Unix systems. The information provided includes: the number of backup versions, and the information also found in the contents option.

**Usage**

tin@ <kbd>-operator list\_inst -abs\_path abs\_path \[-type type\_code] \[-obj\_ id obj\_id] -sess\_id sess\_id</kbd>

**Example**. -operator list\_inst:

```
tin@ -sess_id $sess_id -operator list_inst -abs_path
/usr/vollocal/tmp_people/jdr/Test
3
d jdr 0 20040726143746 20040728091435 --- out
7867024
33 /usr/vollocal/tmp_people/jdr/Test Test
d jdr 0 20040726143746 20040728091254 --- out
7867024
33 /usr/vollocal/tmp_people/jdr/Test Test
d jdr 0 20040726143746 20040728090309 --- out
7867024
33 /usr/vollocal/tmp_people/jdr/Test Test
info
```

1. <kbd>-operator info</kbd>

   This operation provides information concerning the specified backup version. info is useful for instance to find out if the specified object exist at a date previously set with the set\_date operation, or to find out the target of a symbolic link. If no date has been previously set, the information provided is that of the object in the present. The information provided is the same as the contents option.

**Usage**

tin@ -operator info -abs\_path abs\_path \[-type type\_code] \[-obj\_id obj\_ id] -sess\_id sess\_id

**Example**. -operator info

```
tin@ -sess_id $sess_id -operator info -abs_path /tmp | more
d root 0 20040728085224 unknown --- out 0 4
/tmp tmp
```

**Example**. -operator info

```
tin@ -sess_id $sess_id -operator info -abs_path /tmp/testj
. jdr 393216 20040715130345 unknown --- out 0 10
/tmp/testj testj
```

1. <kbd>-operator add2bag</kbd> This operation allows you to add the specified object to the list of object to restore or archive. If the object is a directory, the entire contents of the directory including subdirectories are added to the restore or archive list.

**Usage**

<kbd>tin@ -operator add2bag -abs\_path abs\_path \[-type type\_code] \[-obj\_id - obj\_id] -sess\_id sess\_id</kbd>

Example. <kbd>-operator add2bag</kbd>

<kbd>tin@ -sess\_id $sess\_id -operator add2bag -abs\_path /usr/vollocal/tmp\_people/jdr/Test/ff</kbd>

1. <kbd>-operator show\_bag</kbd>

   This operation allows you to view the list of object selected in the restore or archive list. The information provided is the same as the contents option.

**Usage**

tin@ -operator show\_bag -sess\_id sess\_id

**Example**. <kbd>-operator show\_bag</kbd>

```
tin@ -sess\_id $sess\_id -operator show\_bag
3 . jdr 233472 20040610144024 20040728091435 --- in 7868048
36 /usr/vollocal/tmp\_people/jdr/Test/ff ff . jdr
0 20040610144000 20040728091435 --- in 7868096 38 /usr/vollocal/tmp\_people/jdr/Test/foo1 foo1 . jdr
6660096 20040610171047 20040728091435 --- in 7867328 38 /usr/vollocal/tmp\_people/jdr/Test/fozz fozz
```

1. <kbd>-operator rem\_from\_bag</kbd> This operation allows you to remove an object from the restore or archive list.

**Usage**

<kbd>tin@ -operator rem\_from\_bag -abs\_path abs\_path \[-type type\_code] \[-obj\_ id obj\_id] -sess\_id sess\_id</kbd>

**Example**. <kbd>-operator rem\_from\_bag</kbd>

tin@ -sess\_id $sess\_id -operator rem\_from\_bag -abs\_path /usr/vollocal/tmp\_people/jdr/Test/ff

1. <kbd>-operator empty\_bag</kbd>

   This operation allows you to clear the list of object to restore or archive.

**Usage**

<kbd>tin@ -operator empty\_bag -sess\_id sess\_id</kbd>

1. <kbd>-operator set\_date</kbd>

   This operation allows you to set a date in the past to navigate through backed up objects. <kbd>set\_date</kbd> is available only for restore sessions. <kbd>set\_date</kbd> returns the date you choose in the format yyyymmddhhmmss, and a code that indicates whether or not the restore list was modified due to the date change:\
   – "bu" if the list is the same (bag unchanged)\
   – "bc" if the list is different (bag changed)

**Usage**

tin@ -operator set\_date -date date -sess\_id sess\_id

**Example**. <kbd>-operator set\_date</kbd>

tin@ -sess\_id $sess\_id -operator set\_date -date 200407280914 20040728091435 bu

1. <kbd>-operator get\_date</kbd> This operation allows to retrieve the navigation date. It is available for restore sessions only. <kbd>get\_date</kbd> returns the date in the format yyyymmddhhmmss. In addition if the date is the present, the keyword "present" is displayed.

**Usage**

```bash
tin@ -operator get_date -sess_id sess_id
```

**Example. -operator get\_date**

```bash
tin@ -sess_id $sess_id -operator get_date
20040728091435
```

1. **-operator set\_depth**

This operation allows to set a new time navigation period. It is available for restore sessions only.\
`set_depth` returns the time navigation value in seconds and a code that indicates whether or not the restore list was modified due to the time navigation change:

* `"bu"` if the list is the same (bag unchanged)
* `"bc"` if the list is different (bag changed)

**Usage**

```bash
tin@ -operator set_depth -depth value_unit|infinite -sess_id sess_id
```

**Example. -operator set\_depth**

```bash
tin@ -sess_id $sess_id -operator set_depth -depth 4M
9676800 bu
```

**Example. -operator set\_depth**

```bash
tin@ -sess_id $sess_id -operator set_depth -depth infinite
infinite bu
```

**Example. -operator set\_depth**

```bash
tin@ -sess_id $sess_id -operator set_depth -depth 0
0 bu
```

1. **-operator get\_depth**

This operation allows to retrieve the time navigation information for the session. `get_depth` returns a value in seconds.

**Usage**

```bash
tin@ -operator get_depth -sess_id sess_id
```

**Example. -operator get\_depth**

```bash
tin@ -sess_id $sess_id -operator get_depth
9676800
```

***

1. **-operator restore**

This operation allows to restore the objects selected in the restore list. It returns the restore job number. If the destination path is not specified, the object is restored in the original location.

**Usage**

```bash
tin@ -operator restore -sess_id sess_id [-path_dest path_dest] [-mode rename|replace|ignore|ignore_recent|ignore_same|[-all]]
```

**Example. -operator restore**

```bash
tin@ -sess_id $sess_id -operator restore -mode rename
103
```

***

1. **-operator stat\_rest**

This operation allows to get information concerning the restore session at any time.\
Possible information returned by the operation:

* `Browsing` with the number of items in the restore list when the user is selecting object to restore.
* `Restoring`, `job progression percentage`, `restore job number`, `object currently restored` when the restore operation is in progress.
* `Restore status (partial, complete or error)`, `restore job number` when the restore operation is finished.
* `No active session` when the restore session is closed.
* `Session closing in progress` when the restore session is being closed.

**Usage**

```bash
tin@ -operator stat_rest -sess_id sess_id
```

**Example. -operator stat\_rest**

```bash
tin@ -sess_id $sess_id -operator stat_rest
Browsing 9
```

**Example. -operator stat\_rest**

```bash
tin@ -sess_id $sess_id -operator stat_rest
Restoring 0% 104 /tmp/foo
```

**Example. -operator stat\_rest**

```bash
tin@ -sess_id $sess_id -operator stat_rest
Restoration complete 104
```

**Example. -operator stat\_rest**

```bash
tin@ -sess_id $sess_id -operator stat_rest
No active session
```

**Example. -operator stat\_rest**

```bash
tin@ -sess_id $sess_id -operator stat_rest
Restoration complete 103
```

***

1. **-operator abort\_rest**

This operation allows to cancel the restore job. The job id is provided by the `-operator restore` operation.

**Usage**

```bash
tin@ -operator abort_rest -sess_id sess_id -jobid job_id
```

1. **-operator archive**

This operation allows to archive the objects selected in the archiving list. It returns the archiving job number. The archiving destination must be specified with the `-path_dest` parameter, in an existing archive.

**Usage**

```bash
tin@ -operator archive -sess_id sess_id -path_dest path_dest -folder_dest folder_dest [-full|-incr]
```

**Example. -operator archive**

```bash
tin@ -sess_id $sess_id -operator archive -folder_dest archi -path_dest /arch1
103
```

***

1. **-operator stat\_arch**

This operation allows to get information concerning the archiving session at any time.\
Possible information returned by the operation:

* `Browsing` with the number of items in the archive list when the user is selecting object to archive.
* `Archiving`, `job progression percentage`, `archiving job number`, `object currently archived` when the archiving operation is in progress.
* `Archiving status (complete or error)`, `archiving job number` when the restore operation is finished.
* `No active session` when the archiving session is closed.
* `Session closing in progress` when the archiving session is being closed.

**Usage**

```bash
tin@ -operator stat_arch -sess_id sess_id
```

**Examples**

Archiving with the tin@ command on Windows

```bat
@echo off
rem @echo on

rem # Script DOS

set TINA_SESS_ID=

echo tin@ -operator init -user DOMAIN\user_name -password password -archive
tin@ -operator init -user DOMAIN\user_name -password password -archive > sess_id.bat
echo status = %ErrorLevel%

rem # extract sess_id from file to env
FOR /F "delims==" %%i IN (sess_id.bat) DO set TINA_SESS_ID=%%i

echo tin@ -operator contents -abs_path /d/tmp
tin@ -operator contents -abs_path /d/tmp
echo status = %ErrorLevel%

rem # pause
echo press SPACE BAR to continue, Ctrl+C to halt
pause

echo tin@ -operator add2bag -abs_path /d/tmp/foo
tin@ -operator add2bag -abs_path /d/tmp/foo
echo status = %ErrorLevel%

echo tin@ -operator add2bag -abs_path /d/tmp/bar
tin@ -operator add2bag -abs_path /d/tmp/bar
echo status = %ErrorLevel%

echo tin@ -operator add2bag -abs_path /d/tmp/ff
tin@ -operator add2bag -abs_path /d/tmp/test
echo status = %ErrorLevel%

echo tin@ -operator show_bag
tin@ -operator show_bag
echo status = %ErrorLevel%

rem # pause
echo press SPACE BAR to continue, Ctrl+C to halt
pause

echo tin@ -operator archive -folder_dest archiwin -path_dest /test -full
tin@ -operator archive -folder_dest archiwin -path_dest /test -full
echo status = %ErrorLevel%
rem # pause
echo press SPACE BAR to continue, Ctrl+C to halt
pause
echo tin@ -operator stat_arch
tin@ -operator stat_arch
echo status = %ErrorLevel%
rem # pause
echo press SPACE BAR to continue, Ctrl+C to halt
pause
echo tin@ -operator stat_arch
tin@ -operator stat_arch
echo status = %ErrorLevel%
rem # pause
echo press SPACE BAR to continue, Ctrl+C to halt
pause
echo tin@ -operator stat_arch
tin@ -operator stat_arch
echo status = %ErrorLevel%
Archiving with the tin@ command on Unix systems
#!/bin/csh -f
setenv TINA_SESS_ID
echo 'tin@ -initarch -user user_name -password password'
tin@ -initarch -user user_name -password password > /tmp/iti$$
echo "status=$status"
set ck=`cat /tmp/iti$$`
setenv TINA_SESS_ID $ck
rm /tmp/iti$$
echo tin@ -operator contents -abs_path ${HOME}/arbotest
tin@ -operator contents -abs_path ${HOME}/arbotest
echo "status = $status"
echo "type ^D to continue, ^C to halt"
cat -
echo tin@ -operator add2bag -abs_path ${HOME}/arbotest/testj*
tin@ -operator add2bag -abs_path ${HOME}/arbotest/testj0
tin@ -operator add2bag -abs_path ${HOME}/arbotest/testj1
tin@ -operator add2bag -abs_path ${HOME}/arbotest/testj2
tin@ -operator add2bag -abs_path ${HOME}/arbotest/testj3
tin@ -operator add2bag -abs_path ${HOME}/arbotest/testj4
tin@ -operator add2bag -abs_path ${HOME}/arbotest/testj5
echo "status = $status"
echo tin@ -operator show_bag
tin@ -operator show_bag
echo "status = $status"
echo ready for tin@ -operator archive -folder_dest archiunix -path_dest
/test -full
echo "type ^D to continue, ^C to halt"
cat -
tin@ -operator archive -folder_dest archiunix -path_dest /test -full
echo ready for tin@ -operator stat_arch
echo "type ^D to continue, ^C to halt"
cat -
tin@ -operator stat_arch
echo ready for tin@ -operator stat_arch
echo "type ^D to continue, ^C to halt"
cat -
tin@ -operator stat_arch
echo ready for tin@ -operator stat_arch
echo "type ^D to continue, ^C to halt"
cat -
tin@ -operator stat_arch
echo ready for tin@ -operator stat_arch
echo "type ^D to continue, ^C to halt"
cat -
tin@ -operator stat_arch
echo "New abort attempt"
echo 'tin@ -initarch -user user_name -password password'
tin@ -initarch -user user_name -password password > /tmp/iti$$
echo "status=$status"
set ck=`cat /tmp/iti$$`
setenv TINA_SESS_ID $ck
rm /tmp/iti$$
echo tin@ -operator contents -abs_path ${HOME}/arbotest
tin@ -operator contents -abs_path ${HOME}/arbotest
echo "status = $status"
echo "type ^D to continue, ^C to halt"
cat -
echo tin@ -operator add2bag -abs_path ${HOME}/arbotest/testj*
tin@ -operator add2bag -abs_path ${HOME}/arbotest/testj0
tin@ -operator add2bag -abs_path ${HOME}/arbotest/testj1
tin@ -operator add2bag -abs_path ${HOME}/arbotest/testj2
tin@ -operator add2bag -abs_path ${HOME}/arbotest/testj3
tin@ -operator add2bag -abs_path ${HOME}/arbotest/testj4
tin@ -operator add2bag -abs_path ${HOME}/arbotest/testj5
echo "status = $status"
echo tin@ -operator show_bag
tin@ -operator show_bag
echo "status = $status"
cho ready for tin@ -operator archive -folder_dest archiunix -path_dest
/test -full
echo "type ^D to continue, ^C to halt"
cat -
tin@ -operator archive -folder_dest archiunix -path_dest /test -full
echo ready for tin@ -operator stat_arch
echo "type ^D to continue, ^C to halt"
cat -
tin@ -operator stat_arch
echo ready for tin@ -operator stat_arch
echo "type ^D to continue, ^C to halt"
cat -
tin@ -operator stat_arch
echo ready for tin@ -operator stat_arch
echo "type ^D to continue, ^C to halt"
cat -
tin@ -operator stat_arch
echo ready for tin@ -operator abort_arch
echo "type ^D to continue, ^C to halt"
cat -
tin@ -operator abort_arch

```

Restoring with the tin@ command on Windows

```bat
@echo off
rem @echo on

rem # Script DOS

set TINA_SESS_ID=

echo tin@ -initrest -user DOMAIN\user_name -password password
tin@ -initrest -user DOMAIN\user_name -password password > sess_id.bat
echo status = %ErrorLevel%

rem # extract sess_id from file to env
FOR /F "delims==" %%i IN (sess_id.bat) DO set TINA_SESS_ID=%%i

echo tin@ -operator contents -abs_path /d/tmp
tin@ -operator contents -abs_path /d/tmp
echo status = %ErrorLevel%

rem # pause
echo press SPACE BAR to continue, Ctrl+C to halt
pause
echo tin@ -operator add2bag -abs_path /d/tmp/foo
tin@ -operator add2bag -abs_path /d/tmp/foo
echo status = %ErrorLevel%
echo tin@ -operator add2bag -abs_path /d/tmp/bar
tin@ -operator add2bag -abs_path /d/tmp/bar
echo status = %ErrorLevel%
echo tin@ -operator add2bag -abs_path /d/tmp/ff
tin@ -operator add2bag -abs_path /d/tmp/test
echo status = %ErrorLevel%
echo tin@ -operator show_bag
tin@ -operator show_bag
echo status = %ErrorLevel%
rem # pause
echo press SPACE BAR to continue, Ctrl+C to halt
pause
echo tin@ -operator restore -mode rename
tin@ -operator restore -mode rename
echo status = %ErrorLevel%
rem # pause
echo press SPACE BAR to continue, Ctrl+C to halt
pause
echo tin@ -operator stat_rest
tin@ -operator stat_rest
echo status = %ErrorLevel%
rem # pause
echo press SPACE BAR to continue, Ctrl+C to halt
pause
echo tin@ -operator stat_rest
tin@ -operator stat_rest
echo status = %ErrorLevel%
rem # pause
echo press SPACE BAR to continue, Ctrl+C to halt
pause
echo tin@ -operator stat_rest
tin@ -operator stat_rest
echo status = %ErrorLevEl%
```

Restoring with the tin@ command on Unix systems

```bash
#!/bin/csh -f

setenv TINA_SESS_ID

echo 'tin@ -initrest -user user_name -password password'
tin@ -initrest init -user user_name -password password > /tmp/iti$$

echo "status=$status"
set ck=`cat /tmp/iti$$`
setenv TINA_SESS_ID $ck
rm /tmp/iti$$
echo tin@ -operator contents -abs_path /usr/vollocal/tmp_people/Test
tin@ -operator contents -abs_path /usr/vollocal/tmp_people/Test
echo "status = $status"
echo "type ^D to continue, ^C to halt"
cat -
echo tin@ -operator add2bag -abs_path '/usr/vollocal/tmp_people/Test/....'
tin@ -operator add2bag -abs_path /usr/vollocal/tmp_people/Test/fozz
tin@ -operator add2bag -abs_path /usr/vollocal/tmp_people/Test/foo1
tin@ -operator add2bag -abs_path /usr/vollocal/tmp_people/Test/foo2
tin@ -operator add2bag -abs_path /usr/vollocal/tmp_people/Test/foo3
echo "status = $status"
echo tin@ -operator show_bag
tin@ -operator show_bag
echo "status = $status"
echo "type ^D to continue, ^C to halt"
cat -
echo tin@ -operator restore -path_dest /tmp -mode rename
tin@ -operator restore -path_dest /tmp -mode rename
echo "type ^D to continue, ^C to halt"
cat -
echo tin@ -operator stat_rest
tin@ -operator stat_rest
echo "type ^D to continue, ^C to halt"
cat -
echo tin@ -operator stat_rest
tin@ -operator stat_rest
echo "type ^D to continue, ^C to halt"
cat -
echo tin@ -operator stat_rest
tin@ -operator stat_rest
echo "type ^D to continue, ^C to halt"
cat -
echo tin@ -operator stat_rest
tin@ -operator stat_rest
echo "type ^D to continue, ^C to halt"
cat -
echo tin@ -operator close
tin@ -operator close
echo 'Recovery to same location'
echo 'tin@ -initrest -user user_name -password password'
tin@ -initrest -user user_name -password password > /tmp/iti$$
echo "status=$status"
set ck=`cat /tmp/iti$$`
setenv TINA_SESS_ID $ck
rm /tmp/iti$$
echo tin@ -operator contents -abs_path /usr/vollocal/tmp_people/Test
tin@ -operator contents -abs_path /usr/vollocal/tmp_people/Test
echo "status = $status"
echo "type ^D to continue, ^C to halt"
cat -
echo tin@ -operator add2bag -abs_path '/usr/vollocal/tmp_people/Test/....'
tin@ -operator add2bag -abs_path /usr/vollocal/tmp_people/Test/fozz
tin@ -operator add2bag -abs_path /usr/vollocal/tmp_people/Test/foo1
tin@ -operator add2bag -abs_path /usr/vollocal/tmp_people/Test/foo2
tin@ -operator add2bag -abs_path /usr/vollocal/tmp_people/Test/foo3
echo "status = $status"
echo tin@ -operator show_bag
tin@ -operator show_bag
echo "status = $status"
echo "type ^D to continue, ^C to halt"
cat -
echo tin@ -operator restore -mode rename
tin@ -operator restore /tmp -mode rename
echo "type ^D to continue, ^C to halt"
cat -
echo tin@ -operator stat_rest
tin@ -operator stat_rest
echo "type ^D to continue, ^C to halt"
cat -
echo tin@ -operator stat_rest
tin@ -operator stat_rest
echo "type ^D to continue, ^C to halt"
cat -
echo tin@ -operator stat_rest
tin@ -operator stat_rest
echo "type ^D to continue, ^C to halt"
cat -
echo tin@ -operator stat_rest
tin@ -operator stat_rest
echo "type ^D to continue, ^C to halt"
cat -
echo tin@ -operator close
tin@ -operator close

```

**-get option**

Syntax: -get

```bash
tin@ -get user|target_host|folder|target_app1|sess_type [-catalog catalog]
```

The `-get` option is used to retrieve information concerning the current session. Only one information at a time can be retrieved.

For a description of the syntax, see -initrest and -initarch options.

#### **tina\_acct**

The `tina_acct` command allows you to generate a job accounting report of Tina (backups, archivings, restores, duplications, exports).

**Rights**

Users with these rights in Tina can launch this command:

* General Supervision Tasks (Use Web Administration, Supervision Console...)

  **Or**
* Job Operator (cancel, restart, etc.)

**Syntax**

```bash
tina_acct [-customer_id customer_id] [-host host1 [host2]...] [-platform platform1 [platform2]...] [-volume_unit kilo|mega|giga] [-back hour hours] [-start_date yyyymmddhhmm] [-end_date yyyymmddhhmm] [-v_classes] [-v_report_date] [-v_period] [-v_catalog] [-v_platform] [-v_vm_name] [-v_folder] [-v_gacc_names] [-v_jobtype] [-v_status] [-v_user] [-v_description] [-v_dates] [-v_backup_date] [-v_elapsed] [-v_jobid] [-v_volume] [-v_expected_volume] [-v_objects] [-v_cart] [-v_barcode] [-v_properties] [-v_father_jobid] [-v_duplicated_jobid] [-v_priority] [-v_strategy] [-output_format text|xml|csv] [-csv_separator csv_separator] [-xml_stylesheet_file file] [-xml_stylesheet_type stylesheet_type] [-file file] [-display_active_jobs_only] [-skipped_jobs] [-display_jobs_with_data_only] [-job_type job_type1 [job_type2]...] [-platform_name_start_with] [-catalog catalog] [-identity identity] [-help]
```

In anticipation of a transfer of the data contained in the report to a spreadsheet type application, the reports headings are sent toward the standard error file, whereas the actual data is sent to the standard output file. Fields are separated by a tabulation and records by a carriage return.

<table><thead><tr><th width="321">Option</th><th>Description</th></tr></thead><tbody><tr><td><code>[-customer_id customer_id]</code></td><td>Specifies the client identification number for each job displayed. Only available with the <code>-output_format xml</code> option.</td></tr><tr><td><code>[-host [host1] [host2]]</code></td><td>Specifies the host to be included in the report. By default, all hosts present in the catalog are displayed.</td></tr><tr><td><code>[-platform platform1 [platform2]]</code></td><td>Specifies the backed up platforms (hosts and/or applications) to be included in the report. By default, all platforms present in the catalog are displayed (host.xxx or appl.yyy).</td></tr><tr><td><code>[-volume_unit giga|mega|kilo]</code></td><td>Specifies the unit to use for the volume of backed up, restored, archived or duplicated data. Use this parameter if the unit is not the default unit, i.e., a byte.</td></tr><tr><td><code>[-back_hour hours]</code></td><td>Specifies a number of the past hours to view the performed jobs. By default, the jobs performed within the last 24 hours are displayed.</td></tr><tr><td><code>[-start_date yyyymmddhhmm [-end_date yyyymmddhhmm]]</code></td><td>Specifies the start date and the end date in the past to view the performed jobs. If the end date is not specified, the jobs between the start date and the present will be displayed. If no start date is specified, the default time of the last 24 hours will be applied.</td></tr><tr><td><code>[-output_format text|xml|csv]</code></td><td>Specifies the format used to export data. Possible values are text, XML or CSV (e.g.: <code>-output_format xml</code>).</td></tr><tr><td><code>[-csv_separator csv_separator]</code></td><td>This option is useful if the <code>-output_format</code> option has been set to CSV. It allows to use the character or character string as a separator. The default value is the semicolon "<code>;</code>".</td></tr><tr><td><code>[-xml_stylesheet_file file]</code></td><td>Name of the stylesheet that will be used to display the XML document.</td></tr><tr><td><code>[-xml_stylesheet_type stylesheet_type]</code></td><td>Type of the stylesheet that will be used to display the XML document.</td></tr><tr><td><code>[-file file]</code></td><td>Specifies the absolute path of a file in which to write the report. The path must contain the file name.</td></tr><tr><td><code>[-display_active_jobs_only]</code></td><td>Displays only the active jobs.</td></tr></tbody></table>

| Option                           | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| -------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `[-skipped_jobs]`                | Indicates that the jobs that were scheduled but not started (due to a stopped server or catalog, for instance) over the specified time period, are also displayed in the report, in addition to the jobs normally included. These jobs do not have an ID. They appear in the report with the status `skipped`. `-show_all` displays jobs that were not started within one hour of their scheduled start time. Some jobs that may have actually been performed more than one hour late still appear as non started jobs. This option was previously known as `-show_all`. `-show_all` remains as an alias of `-skipped_jobs`. |
| `[-display_jobs_with_data_only]` | Displays jobs that only contain data.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `[-job_type]`                    | Specifies a list of job types to filter (i.e.: backup, synthetic and/or restore). See the column Type in CSV output for a consistent list of job types that were already triggered.                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `[-platform_name_start_with]`    | Filters jobs associated to a specific platform, using the first characters of the platform name.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `[-catalog catalog]`             | Specifies the working catalog.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| `[-identity user:password]`      | See Specific\_Parameters.htm.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |

***

The following options only apply with the `-output_format csv` option. The sorting order of the options in the CSV input matches the order of the options on the command line. If none of these options is specified, all the information is displayed.

| Option             | Description                                                                                                          |
| ------------------ | -------------------------------------------------------------------------------------------------------------------- |
| `[-v_classes]`     | Displays the backup selections scanned through by a job execution.                                                   |
| `[-v_report_date]` | Displays the report creation date.                                                                                   |
| `[-v_period]`      | Displays two columns containing the start and end dates of the processed period.                                     |
| `[-v_catalog]`     | Displays three columns containing the number of catalogs, the name and the status of the catalog requesting the job. |
| `[-v_platform]`    | Displays the platform onto which the job is executed.                                                                |
| `[-v_vm_name]`     | Displays the name of the virtual machine backed up by the job.                                                       |

| Option                 | Description                                                                                                                                                                          |
| ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `[-v_delegate_name]`   | Displays the backed up virtual machine name or MS Office 365 username column. This value may be empty in case of other backup types. This option is an alias of former `-v_vm_name`. |
| `[-v_folder]`          | Displays the name of the backup folder.                                                                                                                                              |
| `[-v_gacc_names]`      | Displays the names of the access groups (pools for backup or cartridges for restore).                                                                                                |
| `[-v_jobtype]`         | Displays two columns containing the job type (backup, restore, archiving, duplication or maintenance) and the job mode (full or incremental).                                        |
| `[-v_status]`          | Displays two columns containing the job status (`OK`, `error`, `paused`, `in progress`, `stopped`, `not started`) and the job alarm, if any.                                         |
| `[-v_user]`            | Displays the user who initiated the job.                                                                                                                                             |
| `[-v_description]`     | Displays the contents of the description field found in Job Manager.                                                                                                                 |
| `[-v_dates]`           | Displays three columns containing the job submit date, running date and end date.                                                                                                    |
| `[-v_backup_date]`     | Displays the job backup date column.                                                                                                                                                 |
| `[-v_elapsed]`         | Indicates the job duration.                                                                                                                                                          |
| `[-v_jobid]`           | Displays the job identification number.                                                                                                                                              |
| `[-v_volume]`          | Displays two columns containing the volume of backed up, restored, archived or duplicated data, and the volume unit. By default, the volume is in bytes.                             |
| `[-v_expected_volume]` | Displays two columns containing the expected volume of processed data and the actual volume.                                                                                         |
| `[-v_objects]`         | Displays the number of processed objects (files or directories).                                                                                                                     |
| `[-v_cart]`            | Displays three columns containing the media format; the cartridge and drive name and the tape file number; and the number of cartridges written by the job.                          |
| `[-v_barcode]`         | Displays the cartridge barcodes.                                                                                                                                                     |
| `[-v_properties]`      | Displays the job property, e.g. `"Snapshot"` or `"Replication"`.                                                                                                                     |

| Option                   | Description                                                                                                                                                         |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `[-v_father_jobid]`      | Displays the father job identification number.                                                                                                                      |
| `[-v_duplicated_job_id]` | Displays two columns containing the ID of the duplicated job and the ID of the original job. For a first duplication, the two columns contain the same information. |
| `[-v_priority]`          | Displays the job priority.                                                                                                                                          |

***

**Example. Creating a default job accounting report**

If you want to use the default accounting report, just execute the `tina_acct` command without any options. This will generate a standard accounting report listing all jobs within the last 24 hours, sorted by type. The report will list this information:

* Platform name,
* Job type,
* Job status,
* User name,
* Job description (backup type, archiving folder name, etc.),
* The date and time the job was submitted, began, ended,
* Job ID,
* Job volume (amount of processed data) in bytes,
* Job objects (number of processed objects),
* Cartridges and drives involved as well as the backup format (Tina, Tar, Cpio) and tape file number.

> **Note:** If you are working in a multi-catalog environment and do not specify a catalog name using the `-catalog` option, all catalogs will be taken into account.

**Sample Default Accounting Report**

```
****************************************************
Time Navigator Enterprise Edition
Accounting Report (Mon Apr 24 17:26:11 2023)
start date : Sun Apr 23 17:26:11 2023
end date : Mon Apr 24 17:26:11 2023
****************************************************

----------------------------------------------------
CATALOG
Name : sample_cat
Server : dc01server3v
----------------------------------------------------

----------------------------------------------------
BACKUP "dc01server3v" "host.dc01server3v" Full
----------------------------------------------------

Backup dc01server3v A (Full) OK
```

<table><thead><tr><th width="292.6666259765625">Option</th><th>Description</th></tr></thead><tbody><tr><td><code>[-v_father_jobid]</code></td><td>Displays the father job identification number.</td></tr><tr><td><code>[-v_duplicated_job_id]</code></td><td>Displays two columns containing the ID of the duplicated job and the ID of the original job. For a first duplication, the two columns contain the same information.</td></tr><tr><td><code>[-v_priority]</code></td><td>Displays the job priority.</td></tr></tbody></table>

**Example. Creating a default job accounting report**

If you want to use the default accounting report, just execute the `tina_acct` command without any options. This will generate a standard accounting report listing all jobs within the last 24 hours, sorted by type. The report will list this information:

* Platform name,
* Job type,
* Job status,
* User name,
* Job description (backup type, archiving folder name, etc.),
* The date and time the job was submitted, began, ended,
* Job ID,
* Job volume (amount of processed data) in bytes,
* Job objects (number of processed objects),
* Cartridges and drives involved as well as the backup format (Tina, Tar, Cpio) and tape file number.

> **Note:** If you are working in a multi-catalog environment and do not specify a catalog name using the `-catalog` option, all catalogs will be taken into account.

**Sample Default Accounting Report**

```
****************************************************
Time Navigator Enterprise Edition
Accounting Report (Mon Apr 24 17:26:11 2023)
start date : Sun Apr 23 17:26:11 2023
end date : Mon Apr 24 17:26:11 2023
****************************************************

----------------------------------------------------
CATALOG
Name : sample_cat
Server : dc01server3v
----------------------------------------------------

----------------------------------------------------
BACKUP "dc01server3v" "host.dc01server3v" Full
----------------------------------------------------

Backup dc01server3v A (Full) OK
----------------------------------------------------------------------------
----
Submit :24 Apr 16:06
Running:24 Apr 16:06
End :24 Apr 16:09
Backup :24 Apr 16:06
Id:120 Volume: 1,377,269,506 Objects:122
Job Priority: medium
Gacc names:
Backup dc01server3v B (Full) OK
----------------------------------------------------------------------------
----
Submit :24 Apr 16:06
Running:24 Apr 16:06
End :24 Apr 16:10
Backup :24 Apr 16:06
Id:121 Volume: 1,377,269,506 Objects:122
Job Priority: medium
Gacc names:
----------------------------------------------------------------------------
----
BACKUP "dc01server3v" "host.dc01server3v" Incremental
----------------------------------------------------------------------------
----
Backup dc01server3v B (Incr) OK
----------------------------------------------------------------------------
----
Submit :24 Apr 16:15
Running:*
End :24 Apr 16:15
Backup :24 Apr 16:15
Id:122 Volume: 0 Objects:0
Job Priority: medium
Gacc names:
----------------------------------------------------------------------------
----
RESTORATION "dc01server3v"
----------------------------------------------------------------------------
----
Restore dc01server3v
User:root OK
----------------------------------------------------------------------------
----
Submit :24 Apr 16:16
Running:24 Apr 16:16
End :24 Apr 16:18
Id:123 Volume: 1,377,273,090 / 1,377,273,090 Objects:122
Job Priority: maximum
Gacc names:
```

**XML Reports**

You can create an XML report with the `tina_acct` commands, using stylesheets. There are two ways to use stylesheets:

* Generate an HTML page using an XSLT processor like Xalan from the Apache Group. Go to the <http://xml.apache.org/xalan-c/index.html> address.

  **Or**
* Open the XML file directly in a browser that supports XSL transformations. You must remove the comments concerning the reference to the stylesheets in the XML reports.

> **Note:** If you use Internet Explorer, you need the file `msxml3.dll`.

**Generating an XML report**

Use these options:

* `-output_format xml`
* `-xml_stylesheet_file file`: you can either use your own stylesheet file or use the `tina_acct.xsl` sample stylesheet located in the `Tools/Tina/xsl` directory of the Tina installation directory.
* `-xml_stylesheet_type stylesheet_type`: use this option only if your stylesheet is of a format other than `.xsl`, to specify the file extension of the stylesheet.

**Sample XML files**

Along with the sample stylesheet files, you will find this file in the `Tools/Tina/xsl` directory:

* `tina_xsl_conf.xml`\
  Parameter file that contains the language parameter for the stylesheet

```xml
<language xml:lang="en"/>
```

It specifies the language used to display the data with an ISO639 tag. Go to the <http://lcweb.loc.gov/standards/iso639-2/langhome.html> address.

* `tina_xsl_messages.xml`\
  XML Dictionary for the stylesheets. Each message is defined as follows:

```xml
<message id="message_id">
    <language xml:lang="en">English translation of the message</language>
    <language xml:lang="fr">French translation of the message</language>
    <language xml:lang="es">Spanish translation of the message</language>
</message>
```

If you need to display your data in another language, you can translate each message and specify this language in the `tina_xsl_conf.xml` file.\
To display unicode characters, messages must be written using UTF-8 encoding.

**DTD for the tina\_acct report**

```xml
<!DOCTYPE accounting [
<!ELEMENT accounting (report_parameters, report)>
<!ATTLIST accounting version CDATA #REQUIRED>
<!-- Parameters of this report -->
<!ELEMENT report_parameters (customer_code, report_date, period_start_date,
period_end_date, catalog_number)>
<!-- Customer Identifier -->
<!ELEMENT customer_code (#PCDATA)>
<!-- Date when the report was made -->
<!ELEMENT report_date (#PCDATA)>
<!ATTLIST report_date format CDATA #FIXED "YYYY-MM-DD HH:mm">
<!-- Beginning and ending of the analyzed time period -->
<!ELEMENT period_start_date (#PCDATA)>
<!ATTLIST period_start_date format CDATA #FIXED "YYYY-MM-DD HH:mm">
<!ELEMENT period_end_date (#PCDATA)>
<!ATTLIST period_end_date format CDATA #FIXED "YYYY-MM-DD HH:mm">
<!ELEMENT catalog_number (#PCDATA)>
<!ELEMENT report (catalog_report+)>
<!ELEMENT catalog_report (job*)>
<!ATTLIST catalog_report name CDATA #REQUIRED status (active | unreachable
| forbidden) #REQUIRED>
<!-- Description of a job -->
<!ELEMENT job (mode?, strategy?, platform?, folder?, description?, user?,
status, alarm?, class*, submit_date, run_date?, end_date?, id?, processed_
volume?, expected_volume?, processed_objects?, tile_format?, data_
location*)>
<!ATTLIST job type (backup | synthetic | archiving | restore | duplicate |
export_source | export_target | catalog) #REQUIRED>
<!ELEMENT mode EMPTY>
<!ATTLIST mode value (incremental | full) #REQUIRED>
<!ELEMENT strategy EMPTY>
<!ATTLIST strategy value (A | B | C | D) #REQUIRED>
<!ELEMENT platform (#PCDATA)>
<!ELEMENT folder (#PCDATA)>
<!ELEMENT description (#PCDATA)>
<!ELEMENT user (#PCDATA)>
<!ELEMENT status EMPTY>
<!ATTLIST status value (running | paused | error | stopped | ok | not_
started) #REQUIRED>
<!ELEMENT alarm EMPTY>
<!ATTLIST alarm value (minor | major | critical) #REQUIRED>
<!ELEMENT class (#PCDATA)>
<!ELEMENT submit_date (#PCDATA)>
<!ATTLIST submit_date format CDATA #FIXED "YYYY-MM-DD HH:mm">
<!ELEMENT run_date (#PCDATA)>
<!ATTLIST run_date format CDATA #FIXED "YYYY-MM-DD HH:mm">
<!ELEMENT end_date (#PCDATA)>
<!ATTLIST end_date format CDATA #FIXED "YYYY-MM-DD HH:mm">
<!ELEMENT id (#PCDATA)>
<!ELEMENT processed_volume (#PCDATA)>
<!ATTLIST processed_volume unit (B | KB | MB | GB | TB) #REQUIRED>
<!ELEMENT expected_volume (#PCDATA)>
<!ATTLIST expected_volume unit (B | KB | MB | GB | TB) #REQUIRED>
<!ELEMENT processed_objects (#PCDATA)>
<!ELEMENT tile_format EMPTY>
<!ATTLIST tile_format value (tina | tar | cpio | sidf | unknown) #REQUIRED>
<!-- Description of the data location -->
<!ELEMENT data_location (cartridge, tile, drive)>
<!-- Cartridge where lie the data -->
<!ELEMENT cartridge (#PCDATA)>
<!-- Tile where lie the data on the cartridge -->
<!ELEMENT tile (#PCDATA)>
<!-- Drive used to write the data on the cartridge -->
<!ELEMENT drive (#PCDATA)>
]>
```

#### tina\_adm

The `tina_adm` binary opens Web Administration. It allows you to configure the application and to perform all administration operations required for its good performance.

**Syntax**

```bash
tina_adm [-catalog catalog] [-language language] [-identity user:passwd] [-help]
```

| Option                    | Description                    |
| ------------------------- | ------------------------------ |
| `[-catalog catalog]`      | Specifies the working catalog. |
| `[-identity user:passwd]` | See Specific\_Parameters.htm.  |

**Example. tina\_adm use**

In this example, Web Administration is running in French with the catalog `Demo`.

```bash
tina_adm -catalog Demo -language French
```

#### tina\_alarm

The `tina_alarm` command allows you to send an alarm to the Tina server. The alarm is written in the `event` file and saved in the catalog. In addition, the critical, major and minor alarms are displayed in Web Administration according to the object they are attached to.

> **Note:** Any user can execute this command.

**Syntax**

```bash
tina_alarm -text "text" -severity severity_level [-host host][[-application application]][[-drive drive]|[-library library]|[-jobid id]|[-label label] [-alarm_id id] [-catalog catalog][-class event_class][-help]
```

<table><thead><tr><th width="284.33331298828125">Option</th><th>Description</th></tr></thead><tbody><tr><td><code>[-text "text"]</code></td><td>Specifies the alarm text.</td></tr><tr><td><code>[-severity severity_level]</code></td><td>Specifies the alarm severity level. The severity levels are: <code>critical</code>, <code>major</code>, <code>minor</code>, <code>fatal</code>, <code>error</code>, <code>warning</code>, <code>info</code>, <code>acct</code>, <code>audit</code>, and <code>debug</code>.</td></tr><tr><td><code>[-host host]</code></td><td>Specifies the name of the host you want the alarm attached to. Only critical, major or minor severity alarms are displayed. Other severities only appear in the events.</td></tr><tr><td><code>[-application application]</code></td><td>Specifies the name of the application you want the alarm attached to. Only critical, major or minor alarms are displayed. Other severities only appear in the events.</td></tr><tr><td><code>[-drive drive]</code></td><td>Specifies the name of the drive you want the alarm attached to. Only critical, major or minor alarms are displayed. Other severities only appear in the events.</td></tr><tr><td><code>[-library library]</code></td><td>Specifies the name of the library you want the alarm attached to. Only critical, major or minor alarms are displayed. Other severities only appear in the events.</td></tr><tr><td><code>[-jobid id]</code></td><td>Specifies the identification number of the job with which the alarm is associated. Can be used only if the <code>-severity</code> option is set to critical, major or minor.</td></tr><tr><td><code>[-label label]</code></td><td>Specifies the label of the media for which you want to create an alarm.</td></tr><tr><td><code>[-alarm_id id]</code></td><td>Specifies the identification number of the alarm. The alarm ID can range from <code>1</code> to <code>9999</code>. The default value is <code>1</code>.</td></tr><tr><td><code>[-catalog catalog]</code></td><td>Specifies the working catalog. The parameter is mandatory if there are several catalogs.</td></tr><tr><td><code>[-class event_class]</code></td><td>Specifies one or several classes: <code>standard</code>, <code>obj_not_rest</code>, <code>io_error</code>, <code>vmstat</code>, <code>fuzzy_object</code>, <code>secure</code>, <code>obj_not_decoded</code>, <code>end_user</code>, <code>obj_not_backed_up</code>. Default value is <code>standard</code>.</td></tr></tbody></table>

> **Note:** This command can be useful in archiving scripts in case of error with `tina_archive`.

> **Note:** The `logs` file may be used to redirect this alarm to another destination by using the severity filter.

For more information on the file `logs`, see Tina Installation Documentation, topic 2.

**Example. tina\_alarm use**

In this example, a major alarm regarding a folder archiving operation is sent to the Tina server. Its identification number is `17`.

```bash
tina_alarm -text "archiving error on folder X" -severity major -alarm_id 17
```

For more information on alarm presentation and visualization, see the [Alarms ](https://documentation.atempo.com/tina-4.9.5/tina-4.9.5-en/administration-guide/monitoring/alarms.md)and Events topics of Tina Administration Documentation.

#### **tina\_alpha**

The `tina_alpha` command allows you to navigate in space and time through the Tina file tree and restore objects (directories and/or files) in text mode.

Time Navigation and object selection follow the same principles as those of Restore & Archive Manager.

The user can navigate in space and time in the file tree to view the catalog contents. You can define a time navigation period in order to display objects that have disappeared since the viewing date.

These are the default values when starting the application:

* The folder corresponds to the machine backup folder.
* The directory is the user working directory.
* The viewing date is the present.
* The time navigation value is null.
* The strategy is that corresponding to the user's profile.
* The Going through NFS Mount Points option is activated.

**Rights**

Any user can navigate in the file tree and restore objects depending on his rights and his user profile.

**Syntax**

```bash
tina_alpha [-language language] [-catalog catalog] [-identity user:passwd]
```

| Option                    | Description                                                                               |
| ------------------------- | ----------------------------------------------------------------------------------------- |
| `[-language language]`    | Specifies the language.                                                                   |
| `[-catalog catalog]`      | Specifies the working catalog. This parameter is mandatory if there are several catalogs. |
| `[-identity user:passwd]` | See [<mark style="color:blue;">Specific\_Parameters</mark>](#specific-parameters)         |

The shell `tina_alpha` is displayed and the user can enter the commands described below.

**Commands**

Commands can be abbreviated. A single letter is enough if there is only one command beginning by that letter.

For example, you can enter `q` instead of `quit` to quit the application, but you must enter at least two letters for the command `context` (`co`) because the command `cd` also begins by the letter `c`.

If the argument is into square brackets `[ ]`, the user can enter the command alone. The displayed information then corresponds to the last current value.

**Working Environment**

**context**

This command displays the working context:

* The current folder (backup or archive folder).
* The current directory.
* The visualization date.
* The time navigation period.
* The strategy.
* The filters.
* Whether the Going through NFS Mount Points option is activated or not.
* The name of the drive used for restoring local archive folders.
* The restoration mode: in case of name conflicts, objects can be renamed, replaced, ignored, etc.

**drive drive\_name**

This command allows you to specify the name of the drive used for restoring local archive folders (ex: `/dev/rmt0.1` under Unix or `\\.\Tape0` under Windows).

The drive must be declared in Web Administration on the local host running the command.

**folder \[folder\_name]**

This command allows you to select the backup or archive folder. Used without argument, it displays the current folder name.

When selecting a backup folder, you must specify if the folder belongs to a host `host.<host_name>` or to an application `appl.<application_name>`.

**help**

This command displays the list of all available commands and gives a definition of each command.

**line \[number]**

This command allows you to specify a line number in the window in order to display lists (using commands `ll`, `ls` and `instance file_name`). Used without argument, it displays the current line number.

By default, the displayed line number corresponds to a standard window of 22 lines.

**nfs**

This command allows you to enable or disable the Going through NFS Mount Points option.

**pwd**

This command displays the current directory path.

**target\_folder \[folder\_name]**

This command allows you to specify the folder where you will restore your data.

When defining a target folder, you must specify if the folder belongs to a host `host.<host_name>` or to an application `appl.<application_name>`. You may also specify the credentials with `[-identity user:passwd]` so as to connect to the target.

`target_folder [folder_name]` must be specified before `folder [folder_name]` and before launching the restore.

**Example.** Restore of the first instance of the file `aaa_save3`, from the host `kucek` to the `/tmp` directory of the host `freddy`.

```bash
target_folder host.freddy
folder host.kucek
cd /usr/people/rpt/tmp_toute_ptite_arbo/
instance aaa_save3
synchronize 1
add aaa_save3
restore /tmp
```

**Filtering Methods**

> **Note:** You can filter files in using the `fselect` command or out using the `freject` command.

> **Note:** Filtering commands apply to files only, no filtering operation can be made on directories.

`filter`

This command displays all active filters.

`fselect [filename type][filename type]`

`fselect` selects all file objects.

**Example.** `fselect A* B*`

This command selects all files beginning by `a` or `b`, and displays them on the screen.

`freject [filename][filename]`

`freject` filters files out.

`fadate [date]`

The date format is `YYYYMMDDHHMM` (year/month/day/hour/minute).

`fadate` specifies a limit access date. The limit date value can only be understood with the `fafterdate` command.

`fmdate [date]`

Specifies a limit modification date.

`fafteradate [0/1] (wrong/right)`

Specifies if the filter must be apply before or after the limit access date previously indicated.

`faftermdate [0/1]`

Specifies if the filter must be apply before or after the limit modification date previously indicated.

**Example.** `fadate 200101151200`

January 15, 2001 at 12 p.m is the limit access date.

```bash
fafteradate 1
```

All dates after the limit date are filtered. All files whose date is superior to the limit date are filtered, all files with dates inferior to the limit date remain.

`fsize [number in kilo-bytes]`

Specifies a limit volume.

Note: the volume is converted into bytes.

`flesssize [0/1] (wrong/right)`

Same mechanism as for dates: this filter specifies if files that are smaller or not than the limit size are filtered.

**Space Navigation in the File Tree**

`cd directory_name`

This command allows you to access a directory content. Relative and absolute paths are accepted.

If you use relative paths, you must specify a single directory level at a time.

For instance, to go into the `Bin/test` directory, you must first enter `cd Bin`, then `cd test`.

`instance file_name`

This command allows you to view all the versions of the same file. Versions are numbered to allow you to synchronize with one of them.

The first version corresponds to the file on disk and the other versions to the different versions of the backed up file.

> **Note:** The numbers displayed correspond to an order in the list of versions and are not related to those displayed in Restore & Archive Manager Versions in Time window (Tree-Selection-Versions menu).

> **Note:** On a macOS platform, the file names specified with the command `instance` are case sensitive.

For more information on synchronization, see [<mark style="color:blue;">the command synchronize later in this topic.</mark>](#tina_synchvds)

`ll [special_characters]`

This command displays the current directory contents in line form.

`ls [special_characters]`

This command displays the current directory contents in column form.

You can specify a list of special characters after the commands `ll` and `ls` to filter the display of the directory contents. For instance, if you enter `ll a*`, the command only displays the files whose name begins with `a`. The number of displayed files followed by the total number of files located in the directory is indicated at the end of the list (ex: `2/15`).

Conventions:

* The `S` symbol is displayed to the left of selected objects (`S object_name`). In Restore & Archive Manager, selected objects appear with a black background.
* The `*` symbol is displayed to the left of deleted objects when a time navigation period is activated (`* object_name`). In Restore & Archive Manager, icons of disappeared objects are striped.

`strategy [A|B|C|D|standard]`

This command allows you to display catalog objects according to their strategies. Used without argument, it displays the current strategy.

For example, if you enter `strategy A`, the command displays only the files backed up in strategy A. If you enter `strategy standard`, the command displays objects backed up by all the defined strategies.

> **Note:** If you enter a specific strategy, make sure you have enabled the permission on the strategy in your access rights. For more information on users and access rights.

**Time Navigation in the File Tree**

`date [yyyymmddhhmm|present]`

This command allows you to choose any viewing date to view the file tree. Used without argument, it displays the current visualization date.

If the viewing date is the present, the file tree displays objects located on the disk.\
If the viewing date is in the past, the file tree displays objects located in the catalog.

`sfu [minute|hour|day|week|month]`

This command allows you to specify the time unit of the time navigation period (minute, hour, day, week and month). Used without argument, it displays the current time unit.

`sfv [value]`

This command allows you to specify the value of the time navigation period. By default, the time navigation value is null. Used without argument, it displays the current value.

To enable the time navigation period, just specify a value different from zero.\
To disable the time navigation, just specify a value equal to zero.

The symbol `*` is displayed to the left of objects deleted within the time interval selected.

`synchronize file_index`

This command allows you to synchronize with one of the file versions, provided that you have first entered the command `instance` to obtain the list of numbered versions.

The new viewing date is the backup date of the selected version.

`delete object_name`

This command allows you to delete the backed up version of the selected object.

For more information on how to view file versions, see the command `instance` earlier in this topic.

Manipulating the Selection List

`add special_characters`

This command allows you to add a new object into the selection list in order to perform restoration.

The argument `special_characters` can be:

* An object name (directory or file).
* A list of object names.
* Special characters specifying objects.

For example, if you enter `add name t*`, the command adds the object `name` and all the objects beginning with the letter `t` into the selection list.

The symbol `S` is displayed to the left of the selected object.

`sub special_characters`

This command allows you to subtract an object from the selection list in order to perform restoration.

The argument `special_characters` can be:

* An object name (directory or file).
* A list of object names.
* Special characters specifying objects.

For example, if you enter `sub t*.c`, the command removes all objects beginning with the letter `t` and having the extension `.c` from the selection list.

The symbol `S` located to the left of the object that was selected is removed.

> **Note:** On a macOS platform, the object names specified with the command `add` and `sub` are not case sensitive.

**Recovering Objects**

`mode [rename|abort|replace|ignore|ignore_same|ignore_recent]`

This command allows you to choose objects restore mode.

`rename`: renames the object if it already exists.

`abort`: stops the restore if the object already exists.

`replace`: deletes the object if it already exists.

`ignore`: keeps the disk object if it already exists.

`ignore_same`: keeps the disk object if it already exists and is identical.

`ignore_recent`: keeps the disk object if it already exists and is more recent.

`restore [destination_directory]`

This command allows you to restore all the objects listed in the selection list into a disk directory.

For an archive folder, the destination directory is mandatory.\
For a backup folder, the destination directory is optional: if it is not specified, restoration is performed in the source directory.

Restoration can be interrupted at any time pressing the `ctrl c` keys.

In case of a name conflict during restoration, old files are replaced.

**Quitting the Application**

`quit`

This command allows you to quit the `tina_alpha` application.

**Example. tina\_alpha use**

`tina_alpha` is a non-graphical interactive program.

In this example, two types of restoration are illustrated:

* Restoring disappeared files using the time navigation period: the files beginning with the letter `p` and belonging to the backup folder `olive`.
* Restoring an archived file: the file `doc` of the local archive folder `ALOC`.

To recover data from an archive folder, you must absolutely specify:

* The destination directory.
* The drive name in case of a local archive folder.

**To restore with tina\_alpha**

To restore the `"profil"` file

1. Enter `tina_alpha` on the command line\
   Specify the working catalog with the option `[-catalog catalog]` if the application is multicatalog. The shell of `tina_alpha` is displayed.

```bash
olive.tina(1) [Bin] tina_alpha
Alphanumeric Tina
```

2. Display the working context:

```bash
tina_alpha > context
Folder : host.olive (backup)
Target folder : host.olive
User : None
Password : None
Current directory : /usr/tina
Visualization Date: Present
Navigation Period : 0 hour(s)
Strategy : standard
Nfs : yes
Drive name : none
Restore mode : rename
```

The visualization date is the present and the depth of field (time navigation) value is null.

3. Go to the directory `/usr/tina/t1` and display the contents of the current directory in line form:

```bash
tina_alpha > cd t1
tina_alpha > ll

directory tina atempo 0 Fri Jan 19 14:44:14 2001 AcyToolKit
file tina atempo 62 Tue Jan 23 11:40:20 2001 KeyOlive
```

```
file tina atempo 7712 Fri Jan 12 15:34:50 2001 binary
file tina atempo 3912 Tue Jan 23 14:10:27 2001 doc
file tina atempo 396 Thu Feb 1 14:09:03 2001 givetune
file tina atempo 1385 Fri Feb 2 14:48:15 2001 helpvi
file tina atempo 1310 Tue Jan 30 13:54:17 2001 link
file tina atempo 345 Tue Jan 23 11:39:09 2001 packexe
file tina atempo 3480 Wed Jan 31 15:43:48 2001 profil
directory tina atempo 0 Fri Jan 12 15:34:50 2001 rep1
file tina atempo 14463 Thu Feb 1 14:53:51 2001 tunables
file tina atempo 19847 Thu Feb 1 10:50:40 2001 v_getenv

Total : 12
```

4. Define a time navigation period to search for the disappeared files beginning with the letter `p` by specifying:

* The time unit of the time navigation period.
* The value of the time navigation period.

```bash
tina_alpha > sfu week
tina_alpha > sfv 2
```

A two-week time navigation period is activated.

5. Display the contents of the current directory in line form to view the files disappeared in the selected time interval:

```bash
tina_alpha > ll

directory tina atempo 0 Fri Jan 19 14:44:14 2001 AcyToolKit
file tina atempo 62 Tue Jan 23 11:40:20 2001 KeyOlive
file tina atempo 7712 Fri Jan 12 15:34:50 2001 binary
file tina atempo 349 Thu Feb 1 08:43:58 2001 * dcl_tunables
file tina atempo 3912 Tue Jan 23 14:10:27 2001 doc
file tina atempo 396 Thu Feb 1 14:09:03 2001 givetune
file tina atempo 1385 Fri Feb 2 14:48:15 2001 helpvi
file tina atempo 1310 Tue Jan 30 13:54:17 2001 link
file tina atempo 345 Tue Jan 23 11:39:09 2001 packexe
file tina atempo 3480 Wed Jan 31 15:43:48 2001 profil
directory tina atempo 0 Fri Jan 12 15:34:50 2001 rep1
file tina atempo 3912 Thu Feb 1 08:43:58 2001 * trutt
file tina atempo 14463 Thu Feb 1 14:53:51 2001 tunables
file tina atempo 19847 Thu Feb 1 10:50:40 2001 v_getenv

Total : 14
```

The files `dcl_tunables` and `trutt` have disappeared in the selected time interval. The symbol `*` is displayed to the left of their names.

6. Display the number of versions of the file `dcl_tunables`:

```bash
tina_alpha > instance dcl_tunables

(1) file tina atempo 349 Thu Feb 1 08:43:58 2002 * dcl_tunables
```

There is only one version of the file `dcl_tunables` numbered `1`.

7. Synchronize with the version `1` of the file `dcl_tunables`:

```bash
tina_alpha > date
Visualization date : present

tina_alpha > synchronize 1

tina_alpha > date
Visualization date : Thu Feb 1 08:43:58 2002
```

The new visualization date is the backup date of the selected version.

8. Add the files beginning with the letter `p` in the selection list in view of restoring it:

```bash
tina_alpha > add p*

profil : selected
packexe : selected

tina_alpha > ll

directory tina atempo 0 Fri Jan 19 14:44:14 2002 AcyToolKit
file tina atempo 62 Tue Jan 23 11:40:20 2002 KeyOlive
file tina atempo 7712 Fri Jan 12 15:34:50 2002 binary
file tina atempo 349 Thu Feb 1 08:43:58 2002 dcl_tunables
file tina atempo 3912 Tue Jan 23 14:10:27 2002 doc
file tina atempo 1385 Fri Feb 2 14:48:15 2002 helpvi
file tina atempo 1310 Tue Jan 30 13:54:17 2002 link
file tina atempo 345 Tue Jan 23 11:39:09 2002 S packexe
file tina atempo 3480 Wed Jan 31 15:43:48 2002 S profil
directory tina atempo 0 Fri Jan 12 15:34:50 2002 rep1
directory tina atempo 3912 Thu Feb 1 08:43:58 2002 trutt
file tina atempo 14463 Thu Feb 1 14:53:51 2002 tunables

Total : 12
```

The files `profil` and `packexe` are selected. The symbol `S` is displayed to the left of their name.

9. Recover the files `profil` and `packexe`:

```bash
tina_alpha > restore

Restoring... (please wait)

Restoration complete
```

If you do not specify a destination directory, data is recovered in the source directory. The message `"Restoration complete"` is displayed.

10. Change folder and select the `ALOC` local archive folder:

```bash
tina_alpha > folder ALOC
```

11. Check that you are in the selected folder and display the folder contents:

```bash
tina_alpha > folder

Folder : ALOC (local archive)

tina_alpha > ll

directory tina atempo 0 Thu Feb 1 08:45:27 2002 ar1
directory tina atempo 0 Thu Feb 1 08:54:27 2002 ar2

Total : 2
```

The current folder is the `ALOC` local archive folder. It contains two archives: `ar1` and `ar2`.

12. Go to the directory `t1` of the archive `ar1` and display its contents:

```bash
tina_alpha > cd ar1/t1

tina_alpha > ll

directory tina atempo 0 Fri Jan 19 14:44:14 2001 AcyToolKit
file tina atempo 62 Tue Jan 23 11:40:20 2001 KeyOlive
file tina atempo 7712 Fri Jan 12 15:34:50 2001 binary
file tina atempo 3912 Tue Jan 23 14:10:27 2001 doc
file tina atempo 1385 Fri Feb 2 14:48:15 2001 helpvi
file tina atempo 1310 Tue Jan 30 13:54:17 2001 link
```

```
file tina atempo 345 Tue Jan 23 11:39:09 2001 packexe
file tina atempo 3480 Wed Jan 31 15:43:48 2001 profil
directory tina atempo 0 Fri Jan 12 15:34:50 2001 rep1
file tina atempo 14463 Thu Feb 1 14:53:51 2001 tunables

Total : 10
```

13. Add the `doc` file in the selection list in order to restore it:

```bash
tina_alpha > add doc

doc : selected
```

14. Recover the `doc` file of the local archive folder by specifying:

* The drive name.
* The destination directory.

```bash
tina_alpha > drive /dev/DON

tina_alpha > restore /usr/tina/resto

Restoring... (please wait)

Restoration complete
```

The message `"Restoration complete"` is displayed.

15. Quit the `tina_alpha` application:

```bash
tina_alpha > quit

quit tina_alpha now ? ((y)es/n(o)) y

olive.tina(2) [Bin]
```

**Alphabetical List of the Commands Used in tina\_alpha**

| Commands      | Arguments                 | Definition                                                     |
| ------------- | ------------------------- | -------------------------------------------------------------- |
| `add`         | `special_characters`      | Adds objects into the selection list.                          |
| `cd`          | `directory_name`          | Changes the directory.                                         |
| `context`     |                           | Displays the working context.                                  |
| `date`        | `[yyyymmddhhmm\|present]` | Changes the visualization date.                                |
| `delete`      | `object_name`             | Deletes the backed up version of the specified object.         |
| `drive`       | `drive_name`              | Changes the drive name in case of local archive folders.       |
| `filter`      |                           | Displays the list of all current filters.                      |
| `fadate`      | `[yyyymmddhhmm]`          | Specifies a limit access date.                                 |
| `fafteradate` | `0/1`                     | Specifies if the filter is put before or after the limit date. |
| `faftermdate` | `0/1`                     | Specifies if the filter is put before or after the limit size. |

| Commands    | Arguments                                                      | Definition                                                         |
| ----------- | -------------------------------------------------------------- | ------------------------------------------------------------------ |
| `flesssize` | `0/1`                                                          | Specifies if the filter is put before or after the reference size. |
| `fmdate`    | `[yyyymmddhhmm]`                                               | Specifies a limit modification date.                               |
| `freject`   | `special_characters`                                           | Filters files out like special characters.                         |
| `fselect`   | `special_characters`                                           | Filters files in like special characters.                          |
| `fsize`     | `number_of_kilo_bytes`                                         | Specifies a reference size.                                        |
| `folder`    | `[folder_name]`                                                | Changes the working folder.                                        |
| `help`      |                                                                | Displays the help window.                                          |
| `instance`  | `file_name`                                                    | Displays file versions.                                            |
| `line`      | `[number]`                                                     | Specifies a line number in the window to display lists.            |
| `ll`        | `[special_characters]`                                         | Displays directory contents in line form.                          |
| `ls`        | `[special_characters]`                                         | Displays directory contents in column form.                        |
| `mode`      | `[rename\|abort\|replace\|ignore\|ignore_same\|ignore_recent]` | Specifies the object restore mode.                                 |
| `nfs`       |                                                                | Enables or disables the Going through the NFS Mount Points option. |
| `password`  | `[password]`                                                   | Specifies the user password.                                       |
| `pwd`       |                                                                | Displays the current directory path.                               |
| `quit`      |                                                                | Quit the application `tina_alpha`.                                 |
| `restore`   | `[destination_directory]`                                      | Restores the selection list.                                       |
| `sfu`       | `[minute\|hour\|day\|week\|month]`                             | Specifies the time unit of the time navigation period.             |
| `sfv`       | `[value]`                                                      | Specifies the value of the time navigation period.                 |
| `strategy`  | `[A\|B\|C\|D\|standard]`                                       | Specifies the visualization strategy.                              |

| Commands      | Arguments            | Definition                                            |
| ------------- | -------------------- | ----------------------------------------------------- |
| `sub`         | `special_characters` | Subtracts objects from the selection list.            |
| `synchronize` | `file_index`         | Takes the file backup date as the visualization date. |
| `user`        | `[username]`         | Specifies the user who connects to the folder.        |

***

#### **tina\_archive**

The `tina_archive` command allows you to perform archiving operations through the command line.

**Rights**

This command can be launched by users with the following rights in Tina:

* Archive Files

  **Or**
* Create archives (if you want to use the `-create_archive` option)

**Syntax**

```bash
tina_archive -path path1 [path2]...|-file_list file_path [-file_list_dest file_path] [-behavior_on_missing_file continue|continue_with_error_code|abort][-host host][-application application] -folder_dest folder_archive_dest archive_path [-create_archive] [-keywords keyword1 [keyword2]...] [-full]|[-incr] [-date yyyymmddhhmm] [-user user] [-password password] [-pool p1 [p2]...] [-drive drive] [-sync_cart] [-no_r] [-v_jobid] [-error_mode continue|abort] [-catalog catalog] [-identity user:passwd] [-help]
```

| Option                   | Description                                                                                                                                                                 |
| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `-path path1 [path2]...` | Specifies absolute paths of objects (directories and/or files) to be archived. The syntax follows the Operating system syntax for archive folders (ex: `/usr` or `c:\tmp`). |

| Option                                                                  | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ----------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `-file_list file_path`                                                  | Specifies the absolute path of a file containing the absolute paths (one path per line) of all objects to be archived. If you specify the path of a directory, all the objects contained in this directory will be archived. This file accepts that lines remain empty between each path specified. This parameter is very useful when the number of objects to archive is high. Regular expressions are not allowed.                                                                                                      |
| `[-file_list_dest file_path]`                                           | This option can only be used with `-file_list`. It specifies the new names of the objects to archive that are listed in the file you specified for the `-file_list` option. The list of object names must correspond to the list specified with `-file_list`, i.e., one name per line, and the same number of entries in both files.                                                                                                                                                                                       |
| `[-behavior_on_missing_file continue\|continue_with_error_code\|abort]` | This sub-option can only be used with `-file_list` when the sub-option `-file_list_dest` is used. It specifies the behavior of `tina_archive` if a file in the file list does not exist at the indicated location. The default behavior is `continue`, where the process ignores missing files and returns the value `0 (OK)`. The `continue_with_error_code` option also skips missing files, but returns the value `18 (FileNotFound)`. Finally, the `abort` option ends the process and returns the value `40 (Abort)`. |
| `[-host host]`                                                          | Specifies the host onto which the archiving is initiated. If the option is not specified, the archiving is started on the local host.                                                                                                                                                                                                                                                                                                                                                                                      |
| `[-application application]`                                            | Specifies the application onto which the archiving is initiated. If the option is not specified, the archiving is started on the local host.                                                                                                                                                                                                                                                                                                                                                                               |
| `-folder_dest folder`                                                   | Specifies the destination archive folder.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| `-archive_dest archive_path`                                            | Specifies the absolute path of the archive in the destination folder. The syntax follows the Unix syntax (ex: `/usr` for Unix or `/c/users` for Windows).                                                                                                                                                                                                                                                                                                                                                                  |
| `[-create_archive]`                                                     | Specifies the creation of the destination archive if it does not exist.                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| `[-keywords keyword1 [keyword2]...]`                                    | Specifies the keywords to use with the archive. Can be used only with the `-create_archive` option.                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `[-full\|incr]`                                                         | Specifies the archiving mode (full or incremental). By default, if none of the options is selected, a full archiving is started.                                                                                                                                                                                                                                                                                                                                                                                           |

| Option                          | Description                                                                                                                                                                        |
| ------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `[-date yyyymmddhhmm]`          | Specifies the archiving date (year, month, day, hour and minute). The option allows you to preset the archiving date. If it is not specified, the default date is the machine one. |
| `[-user user]`                  | Specifies the user performing the operation.                                                                                                                                       |
| `[-password password]`          | Specifies the user password.                                                                                                                                                       |
| `[-pool p1 [p2]...[p4]]`        | Specifies a list of media pools. The list is limited to 4 pools. If it is not specified, the program searches for the pool name in the folder.                                     |
| `[-drive drive]`                | Specifies the drive of the local machine. This parameter applies to local archive folders and is mandatory.                                                                        |
| `[-sync_cart]`                  | Specifies the end of archiving once data has been written on the media. If the option is not specified, the end of archiving is specified once data has been written in cache.     |
| `[-no_r]`                       | Specifies that directory content should not be archived.                                                                                                                           |
| `[-v_jobid]`                    | Displays the job ID of the archiving job in CSV format.                                                                                                                            |
| `[-error_mode continue\|abort]` | Allows to either continue or cancel the archiving when errors occur, making Command Line Interface the archiving of some files impossible. The default behavior is cancel.         |
| `[-catalog catalog]`            | Specifies the working catalog. The parameter is mandatory if there are several catalogs.                                                                                           |
| `[-identity user:passwd]`       | See [<mark style="color:blue;">Specific\_Parameters.htm.</mark>](#specific-parameters)                                                                                             |

**Example. tina\_archive use**

In this example, the directory `bin` is archived in the archive `/arch1` of the archive folder `folder` onto the drives belonging to the user of the media pool `pool`.

**To archive files using tina\_archive**

1. Create a media pool named `pool` using the Storage-Media Pool-New menu in Web Administration.\
   Associate a label (Label textbox) and drives (Associated Drives area) with the pool.
2. Pre-label one or several medias of the pool choosing the Storage-Media-Write Label menu.
3. Create an archive folder named `folder` choosing the Archiving-New menu.
4. Associate the `pool` media pool as the main media pool with the folder (Main button in the Media Pools area).
5. Create an archive named `/arch1` using the Archiving-Archives-New menu in Restore & Archive Manager.
6. Open a shell (Unix) -or- Go to the Start-Tina-Environment Reporter menu to open a command prompt window preset to use Tina environment variables (Windows).
7. Archive the `dir_path` directory in the `folder` folder by entering this command:

```bash
tina_archive -folder_dest folder -archive_dest /arch1 -path dir_path -pool pool
```

#### **tina\_archive\_control**

The `tina_archive_control` command allows you to perform operations on archive folders and archives through the command line:

* Creating, editing or removing archive folders and archives.
* Displaying the list of archive folders or archives.
* Viewing statistical information on archive folders and archives.

> **Note:** Only users with the Tina Archives permissions can execute this command.

**Syntax**

```bash
tina_archive_control [-folder folder_name] [-archive archive_name] -create|-edit|-remove|-list|-statistic|-view [-force] [-description description] [-type] [-keywords keyword1 [keyword2]...] [-remove_keywords] [-protected_size] [-output_format text|csv] [-csv_separator csv_separator] [-permission permission1 [permission2]...] [-os_user user_name] [-os_group group_name] [-cartridge_format format] [-file_format format1 [format2]...] [-through_link yes/no] [-pool pool_name1 [pool_name2]...] [-host host_name] [-manage_acl yes/no] [-prolog file_path] [-epilog file_path] [-lanfree yes/no] [-remove_archived_file yes/no] [-use_empty_archive yes/no] [-sync_cart yes/no] [-continue_on_error yes/no] [-keyword_on_archive yes/no] [-propagate] [-identity identity] [-catalog catalog] [-help]
```

<table><thead><tr><th width="279.3333740234375">Option</th><th>Description</th></tr></thead><tbody><tr><td><code>[-folder folder_name]</code></td><td>Specifies the name of the archive folder on which to perform the operation. Can be used only if options <code>-edit</code>, <code>-create</code>, <code>-remove</code>, <code>-list</code>, <code>-view</code> or <code>-statistic</code> are used.</td></tr><tr><td><code>[-archive archive_name]</code></td><td>Specifies the absolute path of the archive on which to perform the operation. Can be used only if options <code>-folder</code>, <code>-edit</code>, <code>-create</code>, <code>-remove</code>, <code>-list</code> or <code>-statistic</code> are used.</td></tr></tbody></table>

<table><thead><tr><th width="280">Option</th><th>Description</th></tr></thead><tbody><tr><td><code>-create</code></td><td>Creates an archive folder if used with <code>-folder</code> only. Creates an archive in the specified archive folder if used with <code>-folder</code> and <code>-archive</code>. (the folder must exist). Can be used only if options <code>-folder</code>, <code>-host</code> and <code>-pool</code> are used.</td></tr><tr><td><code>-edit</code></td><td>Modifies the parameters of the specified archive folder or archive. If used with the <code>-folder</code> option, modifies the specified archive folder. If used with the <code>-folder</code> and <code>-archive</code> options, modifies the specified archive.</td></tr><tr><td><code>-remove</code></td><td>Removes an archive folder or an archive. If used with the <code>-folder</code> option, removes the specified archive folder. If used with the <code>-folder</code> and <code>-archive</code> options, removes the specified archive.</td></tr><tr><td><code>-list</code></td><td>Displays the list of archive folders present in the catalog. If used with the <code>-folder</code> option, displays the list of archives contained in this specific archive folder.</td></tr><tr><td><code>-statistic</code></td><td>Displays statistical information about objects. If used with the <code>-folder</code> option, displays information on the specified archive folder. If used with the <code>-folder</code> and <code>-archive</code> options, displays information on the specified archive in the specified folder.</td></tr><tr><td><code>-view</code></td><td>Displays the list of parameters set for the specified archive folder or archive. If used with the <code>-folder</code> option, displays the specified archive folder parameters. If used with the <code>-folder</code> and <code>-archive</code> options, displays the specified archive parameters.</td></tr><tr><td><code>[-force]</code></td><td>Specifies that the removal of the selected archive folder or archive will be forced, even though it still contains archived objects. Can be used only if option <code>-remove</code> is used.</td></tr><tr><td><code>[-description description]</code></td><td>Specifies the description of the archive folder or archive that is being created or edited. If the description contains spaces, it must be between quotes (<code>"..."</code>). Can be used only if options <code>-edit</code> or <code>-create</code> are used.</td></tr><tr><td><code>[-type]</code></td><td>Specifies the type of the archive folder. Possible values are: <code>"standard"</code>, <code>"db2"</code>, <code>"rman"</code>, <code>"sap"</code>, <code>"sybase"</code>, <code>"dfm"</code>.</td></tr><tr><td><code>[-keywords keyword1 [keyword2]...]</code></td><td>Specifies the keywords to be associated with the archive folder or archive that is being created or edited. Can be used only if options <code>-edit</code> or <code>-create</code> are used.</td></tr></tbody></table>

<table><thead><tr><th width="288.66668701171875">Option</th><th>Description</th></tr></thead><tbody><tr><td><code>[-remove_keywords]</code></td><td>Removes all the keywords associated to the archive folder or archive that is being edited. Can be used only if options <code>-edit</code> is used.</td></tr><tr><td><code>[-protected_size]</code></td><td>Allows users to declare the maximum amount of data that can be backed up in a folder. This option applies to <code>"db2"</code>, <code>"rman"</code>, <code>"sap"</code>, and <code>"sybase"</code> application folders only.</td></tr><tr><td><code>[-output_format text|csv]</code></td><td>Specifies the output format of the archive information. The possible values are <code>text</code> or <code>csv</code>, the default value is <code>text</code>.</td></tr><tr><td><code>[-csv_separator csv_separator]</code></td><td>This option is useful if the <code>-output_format</code> option has been set to <code>csv</code>. It allows to set the character or character string to be used as a separator. The default value is the semicolon "<code>;</code>".</td></tr><tr><td><code>[-permission permission1 [permission2]...]</code></td><td>Specifies the owner or group permissions to be associated with the archive folder or archive that is being created or edited. Values can be: <code>owner_read</code>, <code>owner_write</code>, <code>group_read</code>, <code>group_write</code>, <code>other_read</code> and <code>other_write</code>, used in a list. Can be used only if options <code>-edit</code> or <code>-create</code> are used. The default value is `owner_read</td></tr><tr><td><code>[-os_user user_name]</code></td><td>Specifies the name of the archive folder or archive owner. The owner must be an operating system user. Can be used only if options <code>-edit</code> or <code>-create</code> are used. The default value is the name of the current user.</td></tr><tr><td><code>[-os_group group_name]</code></td><td>Specifies the name of the operating system group to which the archive folder or archive owner belongs. Can be used only if options <code>-folder</code> and <code>-edit</code> or <code>-create</code> are used. The default value is the group of the current user.</td></tr><tr><td><code>[-cartridge_format format]</code></td><td>Specifies the format of the medias where the data will be archived. Values can be <code>tina</code>, <code>tar</code>, <code>cpio</code>, <code>sidf</code> or <code>none</code>. Can be used only if options <code>-edit</code> or <code>-create</code> are used. The default value is <code>tina</code>.</td></tr><tr><td><code>[-file_format format1 [format2]...]</code></td><td>Specifies the format of the data that will be archived (compressed, encoded, or both). Values can be <code>compress</code> and <code>encode</code> used in a list. Can be used only if options <code>-edit</code> or <code>-create</code> are used.</td></tr><tr><td><code>[-through_link yes/no]</code></td><td>Specifies that the link target must be archived, and not the link itself. Can be used only if options <code>-edit</code> or <code>-create</code> are used. The default value is <code>no</code>.</td></tr></tbody></table>

<table><thead><tr><th width="314.66668701171875">Option</th><th>Description</th></tr></thead><tbody><tr><td><code>[-pool pool_name1 [pool_name2]...]</code></td><td>Specifies the name of the media pools that will be used when archiving data in the specified archive folder. The first media pool defined will be the main pool. Other media pools will be multiple writing pools. Can be used only if options <code>-edit</code> or <code>-create</code> are used.</td></tr><tr><td><code>[-host host_name]</code></td><td>Specifies the name of the host onto which the archive folder is created. Can be used only if options <code>-folder</code>, <code>-create</code> and <code>-password</code> are used.</td></tr><tr><td><code>[-manage_acl yes/no]</code></td><td>Specifies that the ACLs will be archived along with the actual data. Value can be <code>yes</code> or <code>no</code>. Can be used only if options <code>-edit</code> or <code>-create</code> are used. The default value is <code>no</code>.</td></tr><tr><td><code>[-prolog file_path]</code></td><td>Specifies the path of program or script that is run before the archiving operation is performed. Can be used only if options <code>-edit</code> or <code>-create</code> are used.</td></tr><tr><td><code>[-epilog file_path]</code></td><td>Specifies the path of program or script that is run when the archiving operation is complete. Can be used only if options <code>-edit</code> or <code>-create</code> are used.</td></tr><tr><td><code>[-lanfree yes/no]</code></td><td>Specifies that data is archived on medias without transiting via the Tina server. Value can be <code>yes</code> or <code>no</code>. Can be used only if options <code>-edit</code> or <code>-create</code> are used. The default value is <code>no</code>.</td></tr><tr><td><code>[-remove_archived_file yes/no]</code></td><td>Specifies that source data is automatically removed from disk once it has been archived (copied onto a media). Value can be <code>yes</code> or <code>no</code>. Can be used only if options <code>-edit</code> or <code>-create</code> are used.</td></tr><tr><td><code>[-use_empty_archive yes/no]</code></td><td>Specifies that data must always be archived in an empty archive. Value can be <code>yes</code> or <code>no</code>. Can be used only if options <code>-edit</code> or <code>-create</code> are used. The default value is <code>no</code>.</td></tr><tr><td><code>[-sync_cart yes/no]</code></td><td>Specifies that you want the <code>"Archiving complete"</code> message to appear only when data has actually been written on media. If this option is not selected, the message appears when data has been copied in the cache on the Tina server. Value can be <code>yes</code> or <code>no</code>. Can be used only if options <code>-edit</code> or <code>-create</code> are used. The default value is <code>no</code>.</td></tr><tr><td><code>[-continue_on_error yes/no]</code></td><td>Specifies that you want the archiving operation to proceed even if an error occurs on one of the multiple writing sessions. Value can be <code>yes</code> or <code>no</code>. Can be used only if options <code>-edit</code> or <code>-create</code> are used. The default value is <code>no</code>.</td></tr></tbody></table>

<table><thead><tr><th width="313.3333740234375">Option</th><th>Description</th></tr></thead><tbody><tr><td><code>[-keyword_on_archive yes/no]</code></td><td>Specifies that all the archives contained in the specified archive folder must be assigned at least one keyword. Value can be <code>yes</code> or <code>no</code>. Can be used only if options <code>-edit</code> or <code>-create</code> are used. The default value is <code>no</code>.</td></tr><tr><td><code>[-propagate]</code></td><td>Specifies that the archive folder keywords will be assigned to all its existing archives. Can be used only if options <code>-edit</code> and <code>keyword_on_archive</code> are used.</td></tr><tr><td><code>[-identity identity]</code></td><td>See <a href="#specific-parameters"><mark style="color:blue;">Specific_Para</mark></a><mark style="color:blue;">meters.htm.</mark></td></tr><tr><td><code>[-catalog catalog]</code></td><td>Specifies the working catalog. The parameter is mandatory if there are several catalogs.</td></tr></tbody></table>

**Example. tina\_archive\_control use**

In this example, `tina_archive_control` creates an archive folder with these characteristics:

* The name is `legal_arch`.
* The description is administration documentation.
* The keywords are `library`, `drive`, `events`, `cartridge_pool`, `job` and `task_viewer`.
* The file format is compressed and encoded.
* The source files are removed once the archiving is complete.
* The archiving process is considered completes once the data has actually been written on media.

```bash
tina_archive_control -folder legal_arch -create -description "administration guide" -keywords library drive events cartridge_pool job task_viewer -file_format compress encode -remove_archived_file yes -sync_cart yes
```

#### **tina\_backup**

The `tina_backup` command allows you to schedule backups without using the graphical interface. When you initiate a backup with `tina_backup`, all backup selections are taken into account (similarly to the Web Administration when you manually initiate a backup).

**Rights**

Users with these rights in Tina can launch this command:

* Platforms (create, edit, delete) AND the corresponding Allowed Strategies

  **Or**
* Platform use (start backups) AND the corresponding Allowed Strategies

**Syntax**

```bash
tina_backup -strat A|B|C|D [-full]|[-incr] [-host host]|[-application application] [-date yyyymmddhhmm] [-path path1 [path2]...]|[-file_list file_path]|[-parallel_file_list file_path1 [file_path2]...] [-user user] [
```

```bash
password password] [-encode] [-compress] [-sync_cart] [-v_jobid] [-identity user:passwd] [-catalog catalog] [-help]
```

<table><thead><tr><th width="249.00006103515625">Option</th><th>Description</th></tr></thead><tbody><tr><td><code>-strat A|B|C|D</code></td><td>Specifies the backup strategy (<code>A</code>, <code>B</code>, <code>C</code>, or <code>D</code>).</td></tr><tr><td><code>[-full]</code></td><td>Specifies the full backup. The default session is the full backup.</td></tr><tr><td><code>[-incr]</code></td><td>Specifies the incremental backup. If the option is not specified, the default session is the full backup.</td></tr><tr><td><code>[-host host]</code></td><td>Specifies the host onto which the backup is initiated. If the option is not specified, the backup is started on the local machine.</td></tr><tr><td><code>[-application application]</code></td><td>Specifies the application onto which the backup is initiated.</td></tr><tr><td><code>[-date yyyymmddhhmm]</code></td><td>Specifies the backup date (year, month, day, hour and minute). The option allows you to preset the backup date. If it is not specified, the default date is that of the machine. The date defined with this option must never be prior to the catalog creation date. The backup would proceed correctly but no restore would be possible.</td></tr><tr><td><code>[-path path1 [path2]..]</code></td><td>Specifies absolute paths of objects (directories and/or files) to be backed up. The syntax follows the operating system syntax for backup folders (ex: <code>/usr</code> for Unix, <code>c:\users</code> for Windows). If you are using a Filesystem application for Windows, you need to specify the path of the application in POSIX format. Example: <code>/c/users</code>. Do not use this parameter when backing up an NDMP, SMS, or I5/OS application.</td></tr><tr><td><kbd>[-file_list file_path]</kbd></td><td><p>Specifies a file containing the absolute paths (one path per line) of all objects to be backed up. If you specify the path of a directory, all the objects contained in this directory are backed up. This option accepts that lines remain empty between each absolute path specified. This option is very useful when the number of objects to back up is high. The use of this parameter implies a shared lock on the strategy, i.e, several backup jobs can be launched at a time. If you are using a Filesystem application for Windows, you need to specify:</p><ul><li>the path of the list file in the format corresponding to the OS where the command is launched.</li><li>the path of the files to back up defined within the list file in POSIX format. Example: /c/files.• You can specify the paths of both directories of files. However, you are not allowed to specify the path of a file AND the path of a directory containing this file. Otherwise, the error message “double archiving not permitted” displays. For instance, you can specify the /usr/dir1 directory and the /usr/dir2/file_to_back_up but you cannot specify /usr/dir1 and /usr/dir1/file_to_back_up. • Regular expressions are not allowed. Do not use this parameter when backing up an NDMP, SMS, or I5/OS application.</li></ul></td></tr></tbody></table>

<table><thead><tr><th width="306.66668701171875">Option</th><th>Description</th></tr></thead><tbody><tr><td><code>[-parallel_file_list file_path1 [file_path2]...]</code></td><td>Each file path is an absolute name of the file which contains a list of files to be backed up. If you specify the path of a directory, all the objects contained in this directory are backed up. For each file path listed, a backup process is launched. You can thus perform several backups simultaneously. This option accepts that lines remain empty between each path specified. This option is very useful when the number of objects to back up is high. If you are using a Filesystem application for Windows, you need to specify: - the path of the list file in the format corresponding to the OS where the command is launched - the path of the files to back up defined within the list file in POSIX format. Example: <code>/c/files</code>. - You can specify the paths of both directories of files. However, you are not allowed to specify the path of a file AND the path of a directory containing this file. Otherwise, the error message <code>"double archiving not permitted"</code> displays. For instance, you can specify the <code>/usr/dir1</code> directory and the <code>/usr/dir2/file_to_back_up</code> but you cannot specify <code>/usr/dir1</code> and <code>/usr/dir1/file_to_back_up</code>. - Regular expressions are not allowed. Do not use this parameter when backing up an NDMP, SMS, or I5/OS application.</td></tr><tr><td><code>[-user user]</code></td><td>Specifies the user performing the operation.</td></tr><tr><td><code>[-password password]</code></td><td>Specifies the user password.</td></tr><tr><td><code>[-encode]</code></td><td>Active with <code>-path</code> or <code>-file_list</code>, this parameter specifies that the files are to be encoded during the backup.</td></tr><tr><td><code>[-compress]</code></td><td>Active with <code>-path</code> or <code>-file_list</code>, this parameter specifies that the files are to be compressed during the backup.</td></tr><tr><td><code>[-sync_cart]</code></td><td>Specifies the end of backup once data has been written on media. If the option is not specified, the end of backup is specified once data has been written in the cache.</td></tr><tr><td><code>[-v_jobid]</code></td><td>Displays the job ID of the backup job in CSV format.</td></tr><tr><td><code>[-identity user:passwd]</code></td><td>See <a href="#specific-parameters"><mark style="color:blue;">Specific_Parameters.htm</mark></a><mark style="color:blue;">.</mark></td></tr><tr><td><code>[-catalog catalog]</code></td><td>Specifies the working catalog. The parameter is mandatory if there are several catalogs.</td></tr></tbody></table>

**Example. tina\_backup use**

**To back up files using tina\_backup**

1. Create a media pool using Web Administration (Storage-Media Pool-New menu). Associate the pool with a label (Label textbox) and with drives (Associated Drives area).
2. Define a backup strategy using Web Administration (Backup-Selected Platform-Strategy A-Properties menu) and a backup selections using Restore & Archive Manager (Backup-Backup Selection-Properties menu).
3. Perform a full backup by entering this command on the host to be backed up:

```bash
# ./tina_backup -full -strat A
```

**Or**

Perform an incremental backup by entering this command on the host to be backed up:

```bash
# ./tina_backup -incr -strat A
```

> **Note:** Consult the `event` file to make sure that no incident occurred during the operation.

#### **tina\_cache**

The `tina_cache` command allows you to view the cache axis occupation and to edit the cache configuration.

> **Note:** Only the user `root` (Unix) or an administrator (Windows) can use this command.

**Syntax**

```bash
tina_cache [-purge] [-job_queue <queue_type>] [-jobid jobid] [-scan] [-once] [-incl job_type1 [job_type2]...]|[-excl job_type1 [job_type2]...] [-interval <freq>] [-jobs_to_stderr] [-info] [-path <p>] [-move <n>] [-rename <n>] [-display_states] [-catalog catalog] [-help]
```

<table><thead><tr><th width="295.33331298828125">Option</th><th>Description</th></tr></thead><tbody><tr><td><code>[-purge]</code></td><td>Purges cache containers for jobs in the history queue (for jobs that were not cancelled successfully).</td></tr><tr><td><code>[-job_queue &#x3C;queue_type>]</code></td><td>Specifies a job queue (ACTIVE, ALL, or HISTORIC) for purge (default is HISTORIC), or scan (default is ACTIVE).</td></tr><tr><td><code>[-jobid jobid]</code></td><td>Purges cache containers for jobs with identifier <code>jobid</code> (for jobs that were not cancelled successfully).</td></tr><tr><td><code>[-scan]</code></td><td>Scans cache axis for all types of jobs (default). The cache is rescanned until the user hits CTRL+D to stop the scanning.</td></tr><tr><td><code>[-once]</code></td><td>Performs only one cache axis scanning. Can be used only if option <code>-scan</code> is used.</td></tr></tbody></table>

<table><thead><tr><th width="287.33331298828125">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-incl job_type]</strong></td><td>Specifies job type to be included: BCKP SYNT ARCH REST DUPL XSRC XDST (X stands for export)</td></tr><tr><td><strong>[-excl job_type]</strong></td><td>Specifies job type to be excluded: BCKP SYNT ARCH REST DUPL XSRC XDST (X stands for export)</td></tr><tr><td><strong>[-interval &#x3C;freq>]</strong></td><td>Specifies an interval of time in second between each display of cache scan</td></tr><tr><td><strong>[-jobs_to_stderr]</strong></td><td>This option can only be used with the <strong>-scan</strong> option. It specifies to print the job information found by the <strong>-scan</strong> option to the error output.</td></tr><tr><td><strong>[-info]</strong></td><td>Cache axes and catalog information</td></tr><tr><td><strong>[-path &#x3C;p>]</strong></td><td>Specifies the absolute path where to move or rename a cache file</td></tr><tr><td><strong>[-move &#x3C;n>]</strong></td><td>Moves axis number &#x3C;n>Can be used only if option(s) "-path", "-type", "-size" is(are) used</td></tr><tr><td><strong>[-rename &#x3C;n>]</strong></td><td>Renames axis number &#x3C;n>.Can be used only if option(s) "-path", "-type", "-size" is(are) used</td></tr><tr><td><strong>[-display_states]</strong></td><td>Displays all possible statuses of jobs, streams and sessions.</td></tr><tr><td><strong>[-catalog catalog]</strong></td><td>Specifies the working catalog name.</td></tr></tbody></table>

#### tina\_cart

The **tina\_cart** command allows you to list or extract the contents of media written by Tina in the TiNa, tar, or cpio format without the use of the catalog. This command can thus be used to recover some data, for instance a catalog backup, even if the catalog is not available or if you are unable to restore it. However it cannot read any tapes that have been written outside of Tina.

The cartridge containing the files to read or to extract is automatically rewind in order to position anywhere on the tape.

> **Note:**\
> Only the **root** user can execute this command on Unix systems.\
> Only a user with at least the **backup operator** rights can execute this command on Windows systems.\
> This user is authorized to read media contents and can specify a list of tape files (including their paths).

The command must be entered on the host to which the drive is connected. When executing this command, no access to the catalog, nor connection to the server is involved.

**Using tina\_cart when Tina is not installed**

Since it does not require access to the catalog, the **tina\_cart** command can be used on a system where Tina is not installed. To ensure it works correctly in this case, you must:

* Set `TINA_HOME` to any value (a valid path such as `/tmp`)
* Find the library corresponding to your operating system, for instance libicu\*, or libstdc++ (Linux).
* Set the path variable corresponding to your operating sytem, for instance PATH (Windows), DYLD\_LIBRARY\_PATH, or LD\_LIBRARY\_PATH (Linux) to the directory where the library needed is located.
* Use the <kbd>tina\_cart</kbd> command located on the Tina Delivery DVD-ROM with the option - event\_to\_console.

**Prerequisites**

In order to use the **tina\_cart** command to restore data, the drives that are going to read the cartridges must be configured to work with Tina.

See the Tina Installation Documentation for details concerning using the Configurator to configure drives automatically, or the Atempo-Tina Drivers Documentation for manual configuration information.

**Restoring macOS data**

**Overview**

macOS data backed up in TiNa or SIDF format, once extracted using the **tina\_cart -extract** command, needs processing to be usable. This processing is necessary whether the data is restored to a MacOS, Unix or Windows machine. The MacExport tools performs this processing.

When used to restore MacOS data to MacOS machines, MacExport will restore data forks and resource forks.

When used to restore MacOS data to Windows and Unix machines, MacExport will restore data forks only.

MacExport is located in the Bin folder in the Tina home directory.

> **Important:**\
> Only use MacExport in the case of data backed up in Tina or SIDF format. Data backed up in Tar or CPIO format is directly usable.

> **Note:**\
> This tool can be replaced by the option\
> `[-source_data_os_type Windows|Unix|Macos|Netware]`.

**To restore MacOS data**

1. Extract the data to a empty directory using the **tina\_cart -extract** command.
2. Use the MacExport tool.

**To use the MacExport tool**

1. Open a terminal.
2. Change the current directory to the Bin folder in the Tina home directory.
3. Type `./MacExport`.\
   The MacExport presentation is displayed.
4. Enter a command based on this syntax:

```bash
[-data_fork] (path of source file or folder) (path of destination folder)
```

> **Note:**\
> The `-data_fork` option allows you to restore only data forks (as opposed to resource fork and FinderInfo attributes). This option is only available when restoring data to MacOS machines.

5. Click Enter.\
   The files and resource forks are restored.

***Syntax***

```bash
tina_cart -type dev_type -list|-extract -device device_descriptor [-skip number] [-source_data_os_type Windows|Unix|MacOS|Netware] [-old_format] [-verbose] [-offset offset value] [-set_size] [-files file1 [file2]...] [-format TiNa|TiNa2|TiNa3|TiNa4|TiNa5|tar|cpio|raw] [-all] [-no_decode] [-raw_data] [-block_size Size] [-crypt_password password] [-key Key file] [-event_to_console]
```

<table><thead><tr><th width="200.3333740234375">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>-type "dev_type"</strong></td><td>Specifies the type of drive used to read cartridges. <code>"dev_type"</code> must be between double quotes and can take these values: <code>"DAT"</code> <code>"Magneto-Optical"</code>: if you use <strong>tina_cart</strong> along with a magneto-optical drive, refer to . <code>"Exabyte 2GB"</code> <code>"Exabyte 5GB"</code> <code>"3480"</code> <code>"Mag Tape 6250"</code> <code>"Streamer QIC24"</code> <code>"Streamer QIC150"</code> <code>"CompactTape TK/TZ"</code> <code>"Streamer QIC525"</code> <code>"Exabyte 2GB-C"</code> <code>"Exabyte 5GB-C"</code> <code>"DAT-C"</code> <code>"Disk Drive"</code> <code>"Virtual Drive"</code> <code>"DLT 2000"</code> <code>"DLT 4000"</code> <code>"Overland 3480"</code> <code>"Exabyte Mammoth"</code> <code>"DLT 7000"</code> <code>"Tandberg SLR32"</code> <code>"Tandberg SLR50"</code> <code>"IBM Magstar MP"</code> <code>"STK T9840"</code> <code>"IBM 3590"</code> <code>"Exabyte Mammoth 2"</code> <code>"AIT (35GB)"</code> <code>"Exabyte VXA-1 (ECRIX VXA)"</code> <code>"DLT 8000"</code> <code>"Raw File"</code> <code>"Tandberg SLR100"</code> <code>"AIT2 (50GB)"</code> <code>"LTO HP Ultrium"</code> <code>"LTO IBM Ultrium 1"</code> <code>"LTO SEAGATE Ultrium 1"</code> <code>"STK T9940"</code> <code>"SuperDLT 220"</code> <code>"EMC Tape Emulator"</code> <code>"DLT1"</code></td></tr><tr><td><strong>-type "dev_type"</strong><br><strong>(continued)</strong></td><td><p>"Sony DTF2"<br>"Quantum DX series"<br>"AIT3 (100GB)"<br>"Exabyte VXA-2"<br>"SuperDLT 320"<br>"LTO HP Ultrium 2"<br>"LTO IBM Ultrium 2"<br>"VTL Disk Drive"<br>"SAIT (500GB)"<br>"SuperDLT 600"<br>"Tandberg SLR140"<br>"UDO"<br>"DLT VS160"<br>"LTO HP Ultrium 3"<br>"LTO IBM Ultrium 3"<br>"AIT4 (200GB)"<br>"LTO TANDBERG LTO-2"<br>“Fujitsu VTL Drive”<br>"IBM 3592"<br>"AITE Turbo"<br>"AIT1 Turbo"<br>"AIT2 Turbo"<br>"LTO QUANTUM 3"<br>"Exabyte VXA-320 (VXA-3)"<br>"DLT-S4"<br>"DLT-V4"<br>"LTO QUANTUM 2"<br>"DVD-RAM"<br>"DLT VS80"<br>"T10000A"<br>"AIT5 (400GB)"<br>"IBM Ultrium 4"<br>"HP Ultrium 4"<br>"IBM TS1120"<br>"Null Disk Drive"<br>"UDO2"<br>"NearStor VTL Drive"<br>"IBM TS1130"<br>"TANDBERG LTO-3"<br>"TANDBERG LTO-4"<br>"HyperStream Server"<br>"QUANTUM LTO4"<br>"IBM Ultrium 5"<br>"HP Ultrium 5"<br>"QUANTUM LTO5"</p><p>"IBM TS1140"<br>"T10000B"<br>"T10000C"<br>"HP Ultrium 6"</p></td></tr></tbody></table>

<table><thead><tr><th width="196.33331298828125">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-all]</strong></td><td>Lists or extracts all the tape files located on the cartridge. This option can only be used with a <code>"no rewind"</code> device.The option, used with the parameter <code>-list</code>, is very useful when you want to list all or parts of the cartridge contents. It avoids repeating the required operations (rewind, label reading, media location, etc.).To list the cartridge contents, specify on the command line:<code>-list -device /dev/tape -skip 1 -all</code>To list data from the 7th tape file (6th backup) until the end of the cartridge, specify on the command line:<code>-list -device /dev/tape -skip 6 -all</code></td></tr><tr><td><strong>[-no_decode]</strong></td><td>Specifies that the files extracted will not be uncompressed nor decoded.</td></tr><tr><td><strong>[-raw_data]</strong></td><td>For windows data only: this option must imperatively be used if the data you are extracting is segmented across several tape files. See <em>Segmentation Issues</em> for details.</td></tr><tr><td><strong>[-block_size size]</strong></td><td>Specifies the size of a block: 128 KB by default, or 64 KB.This option must be used if a file backed up with a Unix machine (128 KB) is restored on a Windows machine (64 KB).</td></tr><tr><td><strong>[-crypt_password password]</strong></td><td>Specifies the password to use for coding/uncoding.</td></tr><tr><td><strong>[-key key_file]</strong></td><td>Specifies the name and path of the file containing the key to use for uncoding.</td></tr><tr><td><strong>[-event_to_console]</strong></td><td>Sends events to console.</td></tr></tbody></table>

> **Note:**\
> Files backed up with the `tar` or `cpio` format can also be read respectively with the Unix commands `tar` or `cpio`. Do not forget to skip the first tape file corresponding to the label when reading with these commands.

> **Note:**\
> If you use the `-all` parameter on a segmented SIDF backup, you may have errors in the logs at tape file change. Use `tina_sidf` instead with `-range` option.

**Example: tina\_cart use: Unix**

In this example, **tina\_cart** displays the Tina label, then the list of the files backed up with the TiNa format (default backup format) according to the specified tape file number (1 for the 1st backup = 2nd tape file).

```bash
# ./tina_cart -type "Exabyte 5GB-C" -list -device /dev/rmt -skip 1

Time Navigator Label :
Name : root00001
Creation Date : Wed Mar 27 09:39:07 2002
Text :
```

```bash
Owner : root

rwxr-xr-x 0/0 dir Sat Sep 6 14:50:18 2025 ./etc
rw-r--r-- 0/0 2 Sat Sep 6 14:50:51 2025 ./etc/.init.state
rw-rw-r-- 0/2 2689 Sat Jun 17 02:38:52 1995 ./etc/3270.keys
rw-rw-r-- 0/0 3977 Sat Jun 17 02:38:52 1995 ./etc/3270_arab_kyb.map
rw-rw-r-- 0/0 5537 Sat Jun 17 02:38:53 1995 ./etc/3270keys.hft
rwxrwxrwx 2/2 symb Mon Aug 28 16:54:54 1995 ./etc/XNSquery -> /usr/sbin/XNSquery
rwxrwxrwx 2/2 symb Mon Aug 28 16:54:54 1995 ./etc/XNSrouted -> /usr/sbin/XNSrouted
rwxr-xr-x 0/0 dir Mon Aug 28 16:55:02 1995 ./etc/acct
rw-rw---- 0/4 1100 Sat Jun 17 07:26:12 1995 ./etc/acct/holidays
rwxrwxrwx 0/4 symb Mon Aug 28 16:54:54 1995 ./etc/accton -> /usr/sbin/acct/accton
rw-rw---- 0/0 910 Sat Jun 17 02:38:53 1995 ./etc/aliases
rwxrwx--- 0/0 dir Mon Aug 28 16:54:53 1995 ./etc/aliasesDB
rw-rw---- 0/0 0 Sat Jun 17 05:11:16 1995 ./etc/aliasesDB/DB.dir
rw-rw---- 0/0 1024 Sat Jun 17 05:11:16 1995 ./etc/aliasesDB/DB.pag
rw-rw---- 0/0 0 Sun Sep 7 09:32:26 2025 ./etc/aliasesDB1
rwxrwxrwx 2/2 symb Mon Aug 28 16:54:54 1995 ./etc/allocp -> /usr/sbin/allocp
rwxrwxrwx 0/0 symb Mon Aug 28 16:54:54 1995 ./etc/arp -> /usr/sbin/arp
rwxrwxrwx 0/0 symb Mon Aug 28 16:54:54 1995 ./etc/asw -> /usr/lib/asw
rwxrwxrwx 0/10 symb Mon Aug 28 16:54:54 1995 ./etc/audit -> /usr/sbin/audit
rwxrwxrwx 0/10 symb Mon Aug 28 16:54:54 1995 ./etc/auditbin -> /usr/sbin/auditbin
rwxrwxrwx 0/10 symb Mon Aug 28 16:54:54 1995 ./etc/auditcat -> /usr/sbin/auditcat
rwxrwxrwx 0/10 symb Mon Aug 28 16:54:54 1995 ./etc/auditpr -> /usr/sbin/auditpr
rwxrwxrwx 0/10 symb Mon Aug 28 16:54:54 1995 ./etc/auditselect -> /usr/sbin/auditselect
rwxrwxrwx 0/10 symb Mon Aug 28 16:54:54 1995 ./etc/auditstream -> /usr/sbin/auditstream
rwxrwxrwx 0/0 symb Mon Aug 28 16:54:54 1995 ./etc/backbynode -> /usr/sbin/backbynode
rwxrwxrwx 0/0 symb Mon Aug 28 16:54:54 1995 ./etc/backbyname -> /usr/sbin/backbyname

If you want to extract the above files, enter this command:

#./tina_cart -type "Exabyte 5Go-C" -extract -device /dev/rmt0 -skip 1
```

**Example. tina\_cart use: Windows**

```bash
C:\tmp>tina_cart -type "Exabyte Mammoth" -list -device c4b0t410 -skip 1

Label Time Navigator® Enterprise Edition :
Name : TOT_00001
Creation Date : Thu Jan 24 15:29:03 2002
Description : exploite
Label Format : V5
Recycling Date : Sat Mar 29 23:06:08 2003
Owner : TOT_
Listing segment #1
--{ 0/0 dir Thu Jan 01 01:00:00 1970 /d
--{ 0/0 dir Wed Jan 08 17:07:06 2003 /d/mail
--/ 0/0 dir Tue Mar 11 17:55:02 2003 /d/mail/Data
--{ 0/0 174428 Fri Mar 21 11:06:44 2003 /d/mail/Data/Appix et Support
--{ 0/0 88044 Fri Mar 21 11:06:53 2003 /d/mail/Data/Appix et Support.snm
--/ 0/0 2314945 Fri Mar 21 11:38:30 2003 /d/mail/Data/Casse Catalogue
--/ 0/0 65668 Fri Mar 21 11:38:32 2003 /d/mail/Data/Casse Catalogue.snm
--/ 0/0 675325 Fri Mar 21 11:38:36 2003 /d/mail/Data/CD request
--/ 0/0 36052 Fri Mar 21 11:38:39 2003 /d/mail/Data/CD request.snm
--{ 0/0 8560531 Fri Mar 21 10:05:05 2003 /d/mail/Data/CE
```

**Segmentation Issues**

If the files you are trying to extract, list or scan are segmented accross several tape files, you need to follow special procedures to restore your data.

A tape file consists of several files containing data backed up by Tina and corresponding to a backup session. The maximum size of a tape file is 1 GB. If the size of a backup is superior to 1 GB, several tape files of 1 GB each are written.

When restoring segmented tape files containing data in the TiNa format, each segment receives this suffix: `.SEGMENT_XX`, where `XX` is a two digit number incremented for each restored tape file.

Thus, you have to extract the different parts and concatenate them to restore the original file.

To identify the tape files you need to extract, use the `-list` option that allows to identify the tape file contents.

***To restore segmented files***

1. Identify the tape files to be restored.
2. Extract both tape files.
3. Concatenate both parts of the segmented file.

Unix:

```bash
cat file1 file2 > target_file
```

Windows:

```bash
copy file1/B+file2/B target_file
```

***To restore segmented files in tar format***

1. Identify the tape files to be restored.
2. Extract both tape files.
3. Run the command `tar -extract` on both files.
4. Concatenate both parts of the segmented file.

**Unix**:

```bash
cat file1 file2 > target_file
```

**Windows**:

```bash
copy file1/B+file2/B target_file
```

To restore segmented files containing compressed data in the TiNa format

1. Identify the tape files to be restored.
2. Extract data from both tape files using the `-raw` option to avoid uncompressing files.
3. Concatenate both parts of the segmented file.

Unix:

```bash
cat file1 file2 > target_file
```

Windows:

```bash
copy file1/B+file2/B target_file
```

4. Rename all files with the `.cod` extension.
5. Run the `tina_cod -d -f *.cod` command to uncompress all files.
6. Delete the `.cod` files.

*To restore segmented files backed up on a Windows platform*

1. Identify the tape files to be restored.
2. Extract data from both tape files using the `-raw_data` option to avoid interpreting the file headers generated by Windows at backup time.
3. Concatenate both parts of the segmented file.

Unix:

```bash
cat file1 file2 > target_file
```

Windows:

```bash
copy file1/B+file2/B target_file
```

4. Run the `NTExport.exe <concatenated_file> <target_file>` command. The `NTExport.exe` command is available on the Tina delivery DVD-ROM.

#### tina\_cart\_control

The **tina\_cart\_control** command allows you to perform operations on cartridges:

* Reading, closing, unclosing, recycling, logically or physically deleting cartridges.
* Creating cartridges.
* Duplicating cartridges.
* Displaying lists of cartridges filtered according to certain criteria in order to detect the offline, external and recyclable cartridges that could be put online.

> **Important:**\
> When duplicating a cartridge, keep in mind that you can only make 4 copies of a given cartridge.

> **Note:**\
> Any user can execute this command.

***Data Integrity issues***

* When you `recycle`, `erase` or `delete` a cartridge, if the operation you are performing conflicts with the data integrity policy, i.e, the cartridge contains the last full backup of a backup folder for a given strategy, or any incremental backup performed after it, a warning message appears and the operation is not performed, unless you use the `-force` option. This ensures that the last backup version of a backup folder remains available at all times to be restored.
* In addition, be aware that you will also be performing the recycle, erase or delete operation on all the cartridges that contain objects that were backed up during the same backup job as the one you are recycling or erasing. This is to avoid keeping an incomplete backup.

***Syntax***

```bash
tina_cart_control [-label label] [-pool pool_label] [-pool_dest pool_label] [-drive drive] [-close|-reopen|-recycle|-new_spare|-erase|-delete|-status|-create|-duplicate|-read|-chgpath|-list [-depth valueUNIT] [-before-][[-after]][-all] [-no_empty] [-online_ready] [-nbcart nbcart] [-force]|[-range valueUNIT] [-barcode barcode1 [barcode2]...] [-number number] [-output_format text|csv] [-csv_separator separator] [-short]|[-long] [-do_not_check_data_integrity] [-retention valueUNIT] [-status_filter status_filter1 [status_filter2]...] [-catalog catalog] [-path path] [-path_dest new_path] [-v_name] [-v_barcode] [-v_volume] [-v_unit] [-v_tape_file] [-v_status] [-v_recycling] [-v_location] [-v_rule] [-v_description] [-v_creation_date] [-v_backup_date] [-v_format] [-v_wear_level] [-v_recyclable] [-v_recycle_age] [-v_type] [-v_pool_label] [-v_close_status] [-v_fill_status] [-identity identity] [-help]
```

**Cartridge selection parameters.**

<table><thead><tr><th width="223.6666259765625">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-label label]</strong></td><td>Selects a single cartridge using the label. This option is incompatible with the <code>-pool</code> option.</td></tr><tr><td><strong>[-pool pool_label]</strong></td><td>Specifies the label of the pool to be used. This option is incompatible with the <code>-label</code> option.Used without the option `[-depth hours -before</td></tr><tr><td><strong>[-no_empty]</strong></td><td>This option must be used with <code>-pool</code>. It avoids selecting empty cartridges. <code>-no_empty</code> can be used with <code>-all</code>, <code>-depth</code>, <code>-after</code> or <code>-before</code>.</td></tr><tr><td><strong>[-drive drive]</strong></td><td>Selects the cartridge located in the drive to perform the specified operation.The user who initiates the command <strong>tina_cart_control</strong> with the parameter <code>-drive</code> must belong to a cartridge pool authorized to use the dedicated drive.</td></tr><tr><td><strong>[-list]</strong></td><td>Displays the list of the cartridges known to the catalog (name, barcode, volume, status, location, retention period and possibly the corresponding security rule).If used with options, the cartridge list can be filtered. By default, the cartridges are sorted by recycling date, the cartridges that will be sooner recycled coming first.You can use the <code>-depth</code> option to limit the number of cartridges displayed.</td></tr></tbody></table>

<table><thead><tr><th width="227.66668701171875">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-depth valueUNIT]</strong></td><td>Specifies a time navigation period. This option possible value format is <code>valueUNIT</code>, where <code>value</code> is an integer and <code>UNIT</code> is the time unit corresponding to:<code>S</code>: seconds<code>m</code>: minutes<code>H</code>: hours<code>D</code>: days<code>W</code>: weeks<code>M</code>: months<code>Y</code>: yearsThis option must always come with the <code>-before</code> or <code>-after</code> option.</td></tr><tr><td><strong>[-before]</strong></td><td>Specifies that the selected cartridges backup date must be prior to the time defined through the <code>-depth</code> option.This option allows the selection of a group of cartridges.This option is mandatory if <code>-depth</code> is specified and <code>-after</code> is not.<img src="https://137371609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HOI4mniMS7pDfClN83G%2Fuploads%2Fgit-blob-34280048a8394670b542629ed5696df93f2e9ee8%2Fimage%20(427).png?alt=media" alt="" data-size="original"></td></tr><tr><td><strong>[-after]</strong></td><td>Specifies that the selected cartridges backup date must be after the time defined through the <code>-depth</code> option.This option allows the selection of a group of cartridges.This option is mandatory if <code>-depth</code> is specified and <code>-before</code> is not. <img src="https://137371609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HOI4mniMS7pDfClN83G%2Fuploads%2Fgit-blob-1a37e8a6f644df8e1f4758e15d711151f13f2b9d%2Fimage%20(428).png?alt=media" alt="" data-size="original"></td></tr><tr><td><strong>[-all]</strong></td><td>Selects all the cartridges in the pool selected through the <code>-pool</code> option.</td></tr><tr><td><strong>[-online_ready]</strong></td><td>Displays the list of externalized, recyclable and offline cartridges that can be put online.This option must always be used with the <code>-list</code> option.</td></tr></tbody></table>

<table><thead><tr><th width="277.3333740234375">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-retention valueUNIT]</strong></td><td>Displays the list of offline cartridges that will be ready to be put online in less time than specified. This option possible value format is <code>valueUNIT</code>, where <code>value</code> is an integer and <code>UNIT</code> is the time unit corresponding to:<code>S</code>: seconds<code>m</code>: minutes<code>H</code>: hours<code>D</code>: days<code>W</code>: weeks<code>M</code>: months<code>Y</code>: yearsThis option must always come with the <code>-list</code> and <code>-online_ready</code> options.</td></tr><tr><td><strong>[-status_filter]</strong></td><td>Specifies the status of the cartridges displayed by the <code>-list</code> option. Values can be <code>"closed"</code>, <code>"closed_on_error"</code>, <code>"recyclable"</code>, <code>"full"</code> and <code>"partly filled"</code> used in a list. The default value is <code>closed closed_on_error recyclable full</code>.</td></tr><tr><td><strong>[-do_not_check_data_integrity]</strong></td><td>Avoids checking data integrity of each listed cartridge.</td></tr><tr><td><strong>[-catalog catalog]</strong></td><td>Specifies the working catalog. The parameter is mandatory if there are several catalogs.</td></tr><tr><td><strong>[-path path]</strong></td><td>Selects the cartridges created by the Disk Drive defined by the device descriptor path in the Administration interface.It can be used only if options <code>-chgpath</code> and <code>-path_dest</code> are used.</td></tr><tr><td><strong>[-path_dest new_path]</strong></td><td>Specifies the destination path of the DiskDrives directory, which contains the cartridges files on the disk.It can be used only if options <code>-chgpath</code> and <code>-path</code> are used.</td></tr></tbody></table>

> **Note:**\
> The `-label` and `-pool` parameters allow you to read information in the catalog, whereas the parameter `-drive` enables you to physically read the label of the cartridge located in the dedicated drive.

> **Note:**\
> The `-label` and `-pool` parameters are mutually exclusive.

**Operation definition parameters.**

<table><thead><tr><th width="193">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-pool_dest pool_label]</strong></td><td>Specifies the label of the destination pool, when duplicating cartridges.You can create only one duplicate at a time.Use with the <code>-duplicate</code> option only.</td></tr></tbody></table>

<table><thead><tr><th width="189.66668701171875">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>-close</strong></td><td>Closes the selected cartridge.</td></tr><tr><td><strong>-reopen</strong></td><td>Performs the reopening of the selected cartridge.<br>The options [-depth hours]and [-before|-after] are not allowed.<br>Selecting a list of cartridges is therefore impossible.<br>-unclose is an alias of this option.</td></tr><tr><td><strong>-recycle</strong></td><td>Recycles the selected cartridge.<br>Only the recyclable cartridges may be recycled, unless the <kbd>-force</kbd> option is specified or the cartridges to be recycled have been selected through the<kbd>- drive</kbd> or <kbd>-label</kbd> options.<br>To select a list of cartridges, you must specify the options <kbd>[-depth]</kbd> and <kbd>[-before|-after].</kbd></td></tr><tr><td><strong>-new_spare</strong></td><td>Creates the selected cartridges in the Spare cartridge pool without using a drive.Can be used only if option <code>-barcode</code> is used.</td></tr><tr><td><strong>-erase</strong></td><td>Specifies the logical and physical deletion of the cartridge in the catalog (equivalent to the Cartridge › Operations › Spare command in Web Administration).</td></tr><tr><td><strong>-delete</strong></td><td>Specifies the logical deletion of the cartridge in the catalog (equivalent to the Cartridge › Operations › Delete command in Web Administration).</td></tr><tr><td><strong>-status</strong></td><td>Displays information concerning the selected cartridges.</td></tr><tr><td><strong>[-v_columnname]</strong></td><td>Specifies the column(s) to be displayed when <code>-status</code> option is used. Columns will be displayed in the order options are typed. Possible options are:<code>[-v_name] [-v_barcode] [-v_volume] [-v_unit] [-v_tape_file] [-v_status] [-v_recycling] [-v_location] [-v_rule] [-v_description] [-v_creation_date] [-v_backup_date] [-v_format] [-v_wear_level] [-v_recyclable] [-v_recycle_age] [-v_type] [-v_pool_label] [-v_close_status] [-v_fill_status]</code></td></tr><tr><td><strong>-create</strong></td><td>Specifies the creation of cartridges.</td></tr><tr><td><strong>-duplicate</strong></td><td>Use this option to duplicate cartridges. You must provide a destination pool name with the <code>-pool_dest</code> option, and either a cartridge label (to duplicate a single cartridge) with the <code>-label</code> option, a drive (to duplicate the cartridge located inside the drive) with the <code>-drive</code> option or a pool label (to duplicate all the cartridges of the pool) with the <code>-pool</code> option.</td></tr><tr><td><strong>-read</strong></td><td>Performs the physical reading of the cartridge.</td></tr><tr><td><strong>-chgpath</strong></td><td>Specifies the modification, in the catalog, of the path of cartridges created by a Disk Drive. It must be used in conjunction with an actual move of the cartridges files on the disk. To physically move cartridges from a src directory to a dst directory, you must first use the mv command to move the cartridges on the disk and then use the -chgpath option to update the catalog. This is illustrated in the following example: 1 Move tape files on the disk: mv /home/src/DiskDrives /home/dst/ DiskDrives 2 Update the catalog: ./tina_cart_control -chgpath -path /home/src -path_dest /home/dst Before: tryphon.root(173) [dev->Bin] ls -la /home/src/DiskDrives/my_ cat/pool/ total 643872 -rw-r--r--. 1 root root 659150336 9 févr. 23:00 pool0000001 After: tryphon.root(173) [dev->Bin] ls -la /home/dst/DiskDrives/my_ cat/pool/ total 643872 -rw-r--r--. 1 root root 659150336 9 févr. 23:00 pool0000001</td></tr><tr><td><strong>[-nbcart</strong><br><strong>nbcart]</strong></td><td>Specifies the number of cartridges to recycle.</td></tr><tr><td><strong>[-force]</strong></td><td>Forces the recycling, deleting or erasing of selected cartridges, even if they are not deemed recyclable for data integrity reasons. <kbd>-force</kbd> can only be used with -recycle, -erase or -delete.<br>When you use this option to recycle, erase or delete cartridges, you will also be performing the operation on all the cartridges that contain objects that were backed up during the same backup job as the one you are erasing. This is to protect data integrity and to avoid keeping an incomplete backup in the catalog.</td></tr></tbody></table>

<table><thead><tr><th width="302.3333740234375">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-range valueUNIT]</strong></td><td>Specifies a time interval in the past during which the cartridge cannot be deleted. <code>value</code> is an integer and <code>UNIT</code> is the time unit corresponding to:<code>S</code>: seconds<code>m</code>: minutes<code>H</code>: hours<code>D</code>: days<code>W</code>: weeks<code>M</code>: month<code>Y</code>: year</td></tr><tr><td><strong>[-barcode barcode1 [barcode2]...]</strong></td><td>Selects a list of cartridges using barcodes.It can be used only if option <code>-new_spare</code> is used.</td></tr><tr><td><strong>[-number number]</strong></td><td>Specifies a number for the created cartridge.It can be used only if option <code>-create</code> is used.</td></tr><tr><td><strong>[-output_format]</strong></td><td>Specifies the display format of the <code>-status</code> and <code>-list</code> option results. Possible values are <code>text</code> and <code>csv</code>. Default value is <code>text</code>.</td></tr><tr><td><strong>[-csv_separator csv_separator]</strong></td><td>Specifies the separator used by the <code>csv</code> format.</td></tr><tr><td><strong>[-short]</strong></td><td>Specifies the short display of the <code>-status</code> and <code>-list</code> option result (name and barcode of the cartridges).</td></tr><tr><td><strong>[-long]</strong></td><td>Specifies the detailed display of the <code>-status</code> and <code>-list</code> option results. If used with the <code>-list</code> option, it displays exhaustive information about the listed cartridges.</td></tr><tr><td><strong>[-identity user:password]</strong></td><td>See <a href="#specific-parameters"><mark style="color:blue;">Specific_Parameters.htm.</mark></a></td></tr></tbody></table>

**Example. tina\_cart\_control use for detecting cartridges that can be put online**

In this example, **tina\_cart\_control** draws the list of offline cartridges that will be recyclable within 5 days.

```bash
tina_cart_control -list -online_ready -retention 5D
```

**Example. tina\_cart\_control use for listing cartridge status**

In this example, **tina\_cart\_control** lists the statuses of the cartridges contained in the pool `lab1`.

```bash
tina_cart_control -all -status -pool lab1
```

| Name       | Barcode  | Vol   | Unit | Tape File | Overall Status | Location            | Recyclable | Cycle Age | Status | Filling Level |
| ---------- | -------- | ----- | ---- | --------- | -------------- | ------------------- | ---------- | --------- | ------ | ------------- |
| lab10 0001 | 10113    | KB    | 1    | Full      | /d/tina carts  | No (data integrity) |            | Open      | Full   |               |
| lab10 0002 | 10113    | KB    | 2    | Full      |                | No                  |            | Open      | Full   |               |
| lab10 0003 | robi\_3  | 10113 | KB   | 1         | Full           | robi                | No         |           | Open   | Full          |
| lab10 0004 | robi\_4  | 10113 | KB   | 2         | Full           | robi                | No         |           | Open   | Full          |
| lab10 0005 | robi\_5  | 10113 | KB   | 2         | Full           | robi                | No         |           | Open   | Full          |
| lab10 0006 | robi\_6  | 10113 | KB   | 1         | Full           | robi                | No         |           | Open   | Full          |
| lab10 0007 | robi\_7  | 10113 | KB   | 3         | Full           | robi                | No         |           | Open   | Full          |
| lab10 0008 | robi\_8  | 10113 | KB   | 1         | Full           | robi                | No         |           | Open   | Full          |
| lab10 0009 | robi\_9  | 10113 | KB   | 2         | Full           | robi                | No         |           | Open   | Full          |
| lab10 0010 | robi\_10 | 10113 | KB   | 2         | Full           | robi                | No         |           | Open   | Full          |
| lab10 0011 | robi\_11 | 10113 | KB   | 1         | Full           | robi                | No         |           | Open   | Full          |
| lab10 0012 | robi\_12 | 10113 | KB   | 1         | Full           | robi                | No         |           | Open   | Full          |
| lab10 0013 | robi\_13 | 10113 | KB   | 2         | Full           | robi                | No         |           | Open   | Full          |
| lab10 0014 | robi\_14 | 10113 | KB   | 1         | Full           | robi                | No         |           | Open   | Full          |

| Name       | Barcode  | Vol   | Unit | Tape File | Overall Status | Location      | Recyclable | Cycle Age | Status | Filling Level |
| ---------- | -------- | ----- | ---- | --------- | -------------- | ------------- | ---------- | --------- | ------ | ------------- |
| lab10 0015 | robi\_15 | 10113 | KB   | 1         | Full           | robi          | No         |           | Open   | Full          |
| lab10 0016 | robi\_16 | 10113 | KB   | 1         | Full           | robi          | No         |           | Open   | Full          |
| lab10 0017 | robi\_17 | 10113 | KB   | 2         | Full           | robi          | No         |           | Open   | Full          |
| lab10 0018 | robi\_18 | 10113 | KB   | 1         | Full           | robi          | No         |           | Open   | Full          |
| lab10 0019 | robi\_19 | 10113 | KB   | 1         | Full           | robi          | No         |           | Open   | Full          |
| lab10 0020 |          | 10113 | KB   | 1         | Full           | /d/tina carts | No         |           | Open   | Full          |
| lab10 0021 |          | 10113 | KB   | 1         | Full           | /d/tina carts | No         |           | Open   | Full          |

The **tina\_catalog\_ctrl** command allows to change the catalog’s activity level, independently of the Tina service or daemon.

**User’s Permissions**

Only the **root** user (Unix), or a user with at least the **backup operator** rights (Windows) can execute this command locally.

To modify a catalog located on a distant machine, any user can launch the command, however, the catalog administrator identity must imperatively be provided using the `-identity` option.

**Syntax**

```bash
tina_catalog_ctrl -start|-suspend|-stop|-maintenance|-status
[-catalog catalog] [-identity user:password] [-help]
```

| Option           | Description                                                                                                               |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------- |
| **-start**       | Brings the specified catalog online.                                                                                      |
| **-suspend**     | Stops the specified catalog. The catalog is automatically brought back online when the Tina service or daemon is started. |
| **-stop**        | Stops the specified catalog. The catalog can only be brought back online through the `-start` option.                     |
| **-maintenance** | Put the specified catalog in maintenance mode.                                                                            |

| Option                         | Description                                                                                                         |
| ------------------------------ | ------------------------------------------------------------------------------------------------------------------- |
| **-status**                    | Displays catalog information : its state (`catalog_state`) and its activity level (`catalog_activity`).             |
| **\[-catalog catalog]**        | Specifies the working catalog. The parameter is mandatory if there are several catalogs.                            |
| **\[-identity user:password]** | Use this option to provide the identity of the catalog administrator if you are remotely connecting to the catalog. |

The catalog’s possible states are: **OK** and **LIGHTLY\_DAMAGED**. If the catalog is more damaged, the **tina\_catalog\_ctrl** command is not able to determine it.

The catalog’s possible activity levels are:

| Activity Level   | Description                                                                                                                                            |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **ACTIVE**       | The catalog is active.                                                                                                                                 |
| **SUSPENDED**    | the catalog activity is suspended.                                                                                                                     |
| **STOPPED**      | The catalog is stopped.                                                                                                                                |
| **MAINTAINING**  | The catalog is in maintenance state, waiting for a repairing action if it is damaged.                                                                  |
| **ACTIVATING**   | The catalog is being activated.If the catalog remains in this state, it is certainly damaged, put it in maintenance state and try to restart it.       |
| **INACTIVATING** | The catalog is being stopped.If the catalog remains in this state, it is certainly damaged, put it in maintenance state and try to stop or suspend it. |

**Example. tina\_catalog\_ctrl use**

In this example, **tina\_catalog\_ctrl** stops the `cat_37_tak` catalog.

```bash
tina_catalog_ctrl -stop -catalog cat_37_tak

cat_37_tak: catalog_state=OK catalog_activity=STOPPED
```

#### tina\_cert

The **tina\_cert** binary opens Tina Certificate Installer.

**Syntax**

```bash
tina_cert [-language language]
```

**Example. Launching Tina Certificate Installer on the Command Line**

```bash
tina_cert
```

See the Atempo-Tina [Security & Compliance Manager Documentation](broken://pages/12531cc378b17c5e37723bde842a5692cebaa912) for additional information.

#### tina\_clone\_catalog

The **tina\_clone\_catalog** command allows you to clone an existing catalog.

It ensures that a new UUID is allocated to the cloned catalog and prevents from uncontrolled sharing of resources. Cartridges, libraries, and drives are not restored to avoid uncontrolled shared cartridges and/or drives.

> **Note:**\
> Only the **root** user can execute this command on Unix systems.\
> Only a user with at least the **backup operator** rights can execute this command on Windows systems.

> **Important:**\
> The **tina\_clone\_catalog** process generated by the **tina\_clone\_catalog** command must not be killed under any circumstances, for it implies a mapping of the Tina catalog.

**Syntax**

```bash
tina_clone_catalog [-disable] [-size size_MB] [-boot boot_file] [-file file1 [file2]...] [-index index1 [index2]...] [-catalog_name catalog_name] [-pipe pipe] [-folder folder1 [folder2]...][-skip_folder folder1 [folder2]...] [-boot_restore_index] [-file_size file_size] [-max_catalog_size max_catalog_size] [-help]
```

<table><thead><tr><th width="263.6666259765625">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-disable]</strong></td><td>Specifies that the catalog’s platforms must be disabled on the first connection after the <code>tina_clone_catalog</code> is executed.</td></tr><tr><td><strong>[-size size_MB]</strong></td><td>Specifies the catalog size in MB.</td></tr><tr><td><strong>[-boot boot_file]</strong></td><td>Restores the catalog from a boot file created with the Catalog application.See Tina Administration Documentation for details.</td></tr><tr><td><strong>[-file file1 [file2]...]</strong></td><td>Specifies the files from which the catalog must be restored.</td></tr><tr><td><strong>[-index index1 [index2]...]</strong></td><td>Specifies the path of the Advanced Indexing Database, the PostgreSQL database engine of Tina for Exchange Server 2013 that allows for the search through message attributes (such as subject, sender, recipient, received date, etc.).If this option is not specified, the Advanced Indexing Databases are not restored.</td></tr><tr><td><strong>[-catalog_name catalog_name]</strong></td><td>Specifies the catalog name. The parameter is mandatory if <code>-file</code> option is used.</td></tr><tr><td><strong>[-pipe pipe]</strong></td><td>Specifies the pipe from which the catalog is to be restored.</td></tr></tbody></table>

| Option                                        | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **\[-folder folder1 \[folder2]...]**          | **Advanced option, partial catalog restore.** Allows to restore a catalog that will contain only the backup folders specified in the option. Use this option only in non-interactive mode with either `-file` or `-pipe`.This option is useful if you need to rapidly recreate your catalog to restore specific folders. You should perform a complete catalog restore as soon as possible thereafter.In the case of a backup folder, you must specify if the folder belongs to a host:`[-folder host.<host_name>]`or to an application`[-folder appl.<application_name>]`This option cannot be used with the `-skip_folder` option. |
| **\[-skip\_folder folder1 \[folder2]...]**    | **Advanced option, only for definitive partial catalog restore.** Specifies a list of folders NOT to restore.This option cannot be used with the `-folder` option.                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| **\[-boot\_restore\_index]**                  | Used with the `-boot` option to indicate that you want to restore the indexes contained in the catalog.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| **\[-file\_size file\_size]**                 | Specifies the odb file size in MB. The default size is 1024 MB, the maximum size is 4096 MB.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| **\[-max\_catalog\_size max\_catalog\_size]** | Specifies the maximum catalog size, up to 1024 GB. The maximum size depends upon the `-file_size` parameter, as there cannot be more than 256 odb files, to reach the maximum catalog size of 1024 GB you must set the `-file_size` to 4096MB. The maximum size cannot exceed the available space on disk.The value you enter is by default in MB. If you want to use GB, you must add a G after the value, for instance:`-max_catalog_size size 256G`                                                                                                                                                                               |

#### tina\_cod

The **tina\_cod** command allows you to encode and compress files or flows (standard input/output).

Encoding allows you to move non-transparent data on the network and thereby increases security.

Compression enables to reduce the space occupied by data on media. It also reduces the network bandwidth required to move a given amount of data.

> **Note:**\
> Encoding and compression take place at the client level and use CPU resources. If both operations are activated, compression is performed before encoding. When encoding and compression are activated, performance will be lower.

> **Note:**\
> Many drives have built-in compression mechanisms at the hardware level.

Compression in Tina is used:

* During restores if, when creating backup selections, the compression option has been activated.
* During catalog backups, unless the `-no_compress` option has been used.

#### Syntax

```bash
tina_cod [-codec codec_list1 [codec_list2]...]|[-decode]
[-file_list file_list1 [file_list2]...] [-stdio] [-pipe_in pipe] [-pipe_out pipe] [-list] [-test] [-crypt_password password] [-compress_rate compress_rate] [-quiet] [-help]
```

<table><thead><tr><th width="281">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-codec codecs_list]</strong></td><td>Specifies the coder list to use.Default value : LZO.</td></tr><tr><td><strong>[-decode]</strong> or <strong>[-d]</strong></td><td>Decodes a coded file.</td></tr><tr><td><strong>[-file_list file_list]</strong> or <strong>[-f file_list]</strong></td><td>Specifies the file list to code/uncode. You must use an absolute path.</td></tr><tr><td><strong>[-stdio]</strong> or <strong>[-c]</strong></td><td>Specifies the standard input/output use on Unix systems.</td></tr><tr><td><strong>[-pipe_in pipe]</strong></td><td>Specifies a named pipe to use as input for the command.. Cannot be used with <code>-stdio</code>. If used with <code>-file_list</code>, the output is sent through a unique file.</td></tr><tr><td><strong>[-pipe_out pipe]</strong></td><td>Specifies a named pipe to use as output for the command.. Cannot be used with <code>-stdio</code>. If used with <code>-file_list</code>, the input can come from several files.</td></tr><tr><td><strong>[-list]</strong> or <strong>[-l]</strong></td><td>Displays the list of available coders. To see the list of coders added in the form of plug-ins, use the option: <code>-list -external_codec</code>.</td></tr><tr><td><strong>[-test]</strong> or <strong>[-t]</strong></td><td>Performs a precoding test and provides the result.</td></tr><tr><td><strong>[-crypt_password password]</strong> or <strong>[-pw password]</strong></td><td>Allocates a password to a file during encoding. This password is necessary to uncode correctly the file. Useful for the CRYPT coder.</td></tr><tr><td><strong>[-compress_rate n%]</strong></td><td>Specifies the amount of compression as a percentage</td></tr><tr><td><strong>[-quiet]</strong></td><td>Specifies not to display any results on the console.</td></tr></tbody></table>

> **Note:**\
> When decoding, it is not necessary to specify the type of coder used: the command recognizes automatically the format of the file previously used and performs the appropriate operation.

**Example. tina\_cod use**

*Encoding example:*

```bash
tina_cod -codec CRYPT -f /usr/file1
```

In this example, a file `/usr/file1.cod` is generated. It has undergone an encoding using the `CRYPT` coder.

You can use several coders at once. Use the `tina_cod -v` command to obtain the names of available coders, then specify the coder(s) that you want to use.

> **Note:**\
> The source file is not modified: the `tina_cod` command creates a file under the same name with the `.cod` extension.

*Decoding example:*

```bash
tina_cod -d -f /usr/file1.cod
```

The `/usr/file1.cod` file is automatically uncompressed, knowing its format is not necessary.

#### tina\_config

The **tina\_config** command allows you to extract information concerning a server configuration and backup schedule from the catalog.

**Rights**

Users with these rights in Tina can launch this command:

* General Supervision Tasks (Use Web Administration, Supervision Console, etc.)\
  **Or**
* View folders

For more information on users and access rights, see the Tina Administration Documentation.

**Syntax**

```bash
tina_config [-encode file]|[-decode file] [-html] [-verbose] [-show_cartridges] [-catalog catalog][-identity user:password] [-help]
```

<table><thead><tr><th width="213.6666259765625">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>Without options</strong></td><td>Display the configuration of the catalogs used by the host where the command is executed.</td></tr><tr><td><strong>[-encode file]</strong></td><td>Creates a file describing the catalogs on the Tina Server. This file is intended to be used by the Atempo Technical Support.</td></tr><tr><td><strong>[-decode file]</strong></td><td>Decodes a file created with the <code>-encode</code> option.</td></tr><tr><td><strong>[-html]</strong></td><td>Displays the result of the <code>-decode</code> option in HTML format.</td></tr><tr><td><strong>[-catalog catalog]</strong></td><td>Specifies the working catalog. This parameter is mandatory if there are several catalogs.</td></tr></tbody></table>

<table><thead><tr><th width="276">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-identity user:passwd]</strong></td><td>The <code>-identity</code> parameter allows you to specify a username and password to connect to the Tina catalog with an identity different from that of the user launching the command. The format of the value given to this parameter is <code>username:password</code>.This parameter is mandatory if the user launching the command does not have the necessary permission to access the catalog functionalities required to use the command.For instance, with the <code>tina_catalog_ctrl</code> command, used to access a remote catalog, the <code>-identity</code> parameter must provide the distant catalog privileged user login.For the commands that launch a graphical interface, if this parameter is not used, the catalog connection identity is requested when the application starts.<strong>Note:</strong> If the password value is an empty string, then the <code>username:</code> and <code>username</code> values are accepted for the <code>-identity</code> parameter.</td></tr><tr><td><strong>[show_cartridges]</strong></td><td>Shows a list of cartridges and additional information for each cartridge (e.g type of cartridge).</td></tr><tr><td><strong>[verbose]</strong></td><td>Adds additional information in the output (e.g information used for debug).</td></tr></tbody></table>

**Example. tina\_config use**

*Sample output of the `tina_config` command:*

```
a+-----------------------------------------------------------------------+

Time Navigator Enterprise Edition
CONFIGURATION

Date: Tue Sep 05 17:37:29 2023
1 : sample_catalog

+-----------------------------------------------------------------------+


+-----------------------------------------------------------------------+

CATALOG

Name : sample_catalog
Server : <host_name>
Catalog Administrator : <admin_name>

+-----------------------------------------------------------------------+
Catalog UUID : fbcc33ae-4359-11ee-b48b-71547f9924c7
Init time : Friday 25 August 17:13:44 2023
Save time : Friday 25 August 17:13:44 2023
Check time : Friday 25 August 17:13:44 2023
Restore time : Friday 25 August 17:13:44 2023
Backup date of the file used to restore the catalog : Friday 25 August
17:13:44 2023
Current Catalog Size: : 1024 MB
Maximum Catalog Size: : 104448 MB
In the following table, all volumes are in MB
Device Used Space Available Space Needed Space
<catalog_path> 1024 98538 105472
Maximum number of parallel cartridge restore jobs: 3
Maximum number of parallel snapshot restore jobs: 3
Maximum Number of On Demand Backups per 24 hours and per host: 5
Authentication mode: Catalog only
Authentication properties: Standard
Secure Communications: No secure communications
Password policy activation :
Minimum password size in characters : 12
Minimum number of uppercase characters in the password : 1
Minimum number of lowercase characters in the password : 1
Minimum number of digits in the password : 1
Minimum number of special characters in the password : 1
Maximum bad password before lock : 4
Password lock duration after max tries : 30 minutes(s)
Time needed to allow setting a new password : 0 seconds(s)
New password validity duration : 1 year(s)
Number of old passwords we can not reuse : 1
+---------------------------------------------------------------------+
HOST(S)
+---------------------------------------------------------------------+
---------
HOST: <host_name> [Linux]
---------
- Comment: sample_catalog
- Software Version: 4.8.0 SP1 P9999
- Protocol:
TiNa 4.8.0
- Use : Disabled
- Tunnel Agent: No
- Storage Node: Yes
- Report host unavailability: Yes
- Secured Agent: No
- Drive(s)
VLS-1_d1 (<VLS_path>) (index: 1) (type: VTL Disk Drive)
VLS-1_d0 (<VLS_path>) (index: 0) (type: VTL Disk Drive)
- Platform Group ID: 0
- Strategy(ies)
No strategy
- Backup Selection(s)
No Backup Selection
- Backup master: none
- Hosts mastered: none
+---------------------------------------------------------------------+
APPLICATION(S)
+---------------------------------------------------------------------+
-------------
APPLICATION: FS_agent [Filesystem]
------------
- Host: <host_name>
- Comment:
- Use : Enabled
- User name:
- Environment variables:
- Platform Group ID: 2
- Strategy(ies)
Strategy A
Backup Strategy
Format: sidf
Use cache on Server: No
Go through Network FileSystems: No
Do not go through local FileSystems: No
Fast File Scan (Windows Only):No
Wait for end of writing on cartridges: No
ACL Backup: No
Relaunch until platform is reachable: No
Continue Backup if one of the Multiple Writing Sessions fails: disabled
Available for On Demand Backup: disabled
Multiplexed Sessions: disabled
Pre-processing command: none
Post-processing command: none
Job Priority: medium
Parallelism index: 1
Retry on incident: 2 with a 10 - minute interval
Full backup (disabled)
Synthetic backup: disabled
Media pool(s): 1_DAY_VLS_1
Schedule: none
Incremental Backup (disabled)
Media pool(s): 1_DAY_VLS_1
Schedule: none
Strategy B
Backup Strategy
Format: sidf
Use cache on Server: No
Go through Network FileSystems: No
Do not go through local FileSystems: No
Fast File Scan (Windows Only):No
Wait for end of writing on cartridges: No
ACL Backup: No
Relaunch until platform is reachable: No
Continue Backup if one of the Multiple Writing Sessions fails: disabled
Available for On Demand Backup: disabled
Multiplexed Sessions: disabled
Pre-processing command: none
Post-processing command: none
Job Priority: medium
Parallelism index: 1
Retry on incident: 2 with a 10 - minute interval
Full backup (disabled)
Synthetic backup: disabled
Media pool(s): 1_DAY_VLS_1
Schedule: none
Incremental Backup (disabled)
Media pool(s): 1_DAY_VLS_1
Schedule: none
Strategy C
Backup Strategy
Format: sidf
Use cache on Server: No
Go through Network FileSystems: No
Do not go through local FileSystems: No
Fast File Scan (Windows Only):No
Wait for end of writing on cartridges: No
ACL Backup: No
Relaunch until platform is reachable: No
Continue Backup if one of the Multiple Writing Sessions fails: disabled
Available for On Demand Backup: disabled
Multiplexed Sessions: disabled
Pre-processing command: none
Post-processing command: none
Job Priority: medium
Parallelism index: 1
Retry on incident: 2 with a 10 - minute interval
Full backup (disabled)
Synthetic backup: disabled
Media pool(s): 1_DAY_VLS_1
Schedule: none
Incremental Backup (disabled)
Media pool(s): 1_DAY_VLS_1
Schedule: none
- Backup Selection(s)
/backup
Strategies: A B - -
Selection : *
Rejected:
Compressed : NO
Encoded : NO
Max size : Infinite
Modified since: inactive
Phases : 00-01 01-02 02-03 03-04 04-05 05-06 06-07 07-08 08-09 09-10 10-11
11-12
12-13 13-14 14-15 15-16 16-17 17-18 18-19 19-20 20-21 21-22 22-23 23-00
Parallelized:YES
Securized:
/tmp
Strategies: - B - -
Selection : *
Rejected:
Compressed : NO
Encoded : NO
Max size : Infinite
Modified since: inactive
Phases : 00-01 01-02 02-03 03-04 04-05 05-06 06-07 07-08 08-09 09-10 10-11
11-12
12-13 13-14 14-15 15-16 16-17 17-18 18-19 19-20 20-21 21-22 22-23 23-00
Parallelized:YES
Securized:
/downloads
Strategies: - - C -
Selection : *
Rejected:
Compressed : NO
Encoded : NO
Max size : Infinite
Modified since: inactive
Phases : 00-01 01-02 02-03 03-04 04-05 05-06 06-07 07-08 08-09 09-10 10-11
11-12
12-13 13-14 14-15 15-16 16-17 17-18 18-19 19-20 20-21 21-22 22-23 23-00
Parallelized:YES
Securized:
-------------
APPLICATION: <m365_application_name> [Agent for Microsoft 365]
------------
- Host: <host_name>
- Comment:
- Use : Enabled
- User name:
- Environment variables:
. TINA_APP_LIB_PATH=libtina_ngao365.so
- Platform Group ID: 4
- Strategy(ies)
Strategy A
Backup Strategy
Format: sidf
Use cache on Server: No
Go through Network FileSystems: No
Do not go through local FileSystems: No
Fast File Scan (Windows Only):No
Wait for end of writing on cartridges: No
ACL Backup: No
Relaunch until platform is reachable: No
Continue Backup if one of the Multiple Writing Sessions fails: disabled
Available for On Demand Backup: disabled
Multiplexed Sessions: disabled
Pre-processing command: none
Post-processing command: none
Job Priority: medium
Parallelism index: 1
Retry on incident: 2 with a 10 - minute interval
Full backup (disabled)
Synthetic backup: disabled
Media pool(s): 1_DAY_VLS_1
Schedule: none
Incremental Backup (disabled)
Media pool(s): 1_DAY_VLS_1
Schedule: none
- Backup Selection(s)
/Shared Apps
Strategies: A - - -
Selection : *
Rejected:
Compressed : NO
Encoded : NO
Max size : Infinite
Modified since: inactive
Phases : 00-01 01-02 02-03 03-04 04-05 05-06 06-07 07-08 08-09 09-10 10-11
11-12
12-13 13-14 14-15 15-16 16-17 17-18 18-19 19-20 20-21 21-22 22-23 23-00
Parallelized:YES
Securized:
-------------
APPLICATION: sample_catalog.cat [Catalog]
------------
- Host: <host_name>
- Comment:
- Use : Disabled
- User name: none
- Environment variables:
. TINA_SDB_BOOT_HISTORY=7
. TINA_SDB_SAVE_EVENTS=yes
. TINA_SDB_SAVE_HISTORY=3
. TINA_SDB_RECOVER=yes
. (TINA_SDB_SMTP_USER)=(login/user if smtp server need authentication)
. (TINA_SDB_SMTP_PASS)=*********************************************
. (TINA_SDB_LIB_PATH)=(tina library path)
- Platform Group ID: 1
- Strategy(ies)
No strategy
- Backup Selection(s)
/
Strategies: A B C D
Selection : *
Rejected:
Compressed : NO
Encoded : NO
Max size : Infinite
Modified since: inactive
Phases : 00-01 01-02 02-03 03-04 04-05 05-06 06-07 07-08 08-09 09-10 10-11
11-12
12-13 13-14 14-15 15-16 16-17 17-18 18-19 19-20 20-21 21-22 22-23 23-00
Parallelized:NO
Securized:
+---------------------------------------------------------------------+
GROUP(S)
+---------------------------------------------------------------------+
------
GROUP: 1_DAY_VLS_1
------
- Type: media pool
- Cartridge policy
Auto recycling mode, 1 day(s) of retention
- User(s)
VLS1_
Privileged user: No
Password change date: Wednesday 30 August 10:46:59 2023
Locked user: No
- Drive(s)
VLS-1_d0
VLS-1_d1
------
GROUP: VLS_1
------
- Type: library
- Library type
Virtual Library (Atempo VLS)
- Host
<host_name>
- Library user
sample_catalog_VLS-1
- Serial Number:
Atempo VLS
- Drive(s)
VLS-1_d0
VLS-1_d1
------
GROUP: lost+found
------
- Type: media pool
- Cartridge policy
Extensible mode with automatic labelling
- User(s)
lost+found
Gid: 0
Uid: 0
Privileged user: No
Password change date: present
Locked user: No
- Drive(s)
VLS-1_d0
VLS-1_d1
------
GROUP: spare
------
- Type: media pool
- Cartridge policy
Extensible mode with automatic labelling
- User(s)
spare
Gid: 0
Uid: 0
Privileged user: No
Password change date: present
Locked user: No
- Drive(s)
VLS-1_d0
VLS-1_d1
------
GROUP: system
------
- Type : user group
- User(s)
admin
Privileged user: Yes
Password change date: Friday 25 August 17:13:45 2023
Locked user: No
collector_user
Privileged user: No
Password change date: Friday 25 August 17:13:46 2023
Locked user: No
- Drive(s)
No drive
+---------------------------------------------------------------------+
USERS PROFILES
+---------------------------------------------------------------------+
--------------
ADMINISTRATION
--------------
General Supervision Tasks (Use Administration Console, Supervision Console
...)
| Platforms (create, modify, delete)
| . Drives (create, modify, delete)
| . . Media pools (create, modify, delete)
| . . | Library and storage (Cloud, Deduplication etc ..) (create, modify,
delete)
| . . | . Users, Groups and Rights (Create, Modify, Delete)
| . . | . . Job Operator (Cancel, Restart, etc.)
| . . | . . | Configuration Multi Catalog (Parameters, Notification, Web UI,
Alarm Filtering)
default - - - - - - - -
admin X X X X X X X X
collector_user X - - - - - X -
------
MEDIAS
------
Accessible Cartridges: All
| Accessible Cartridges: User's only
| . Remove Snapshots
| . . Mount request operator
| . . | Drive use
| . . | . Library use
default - - - - - -
admin X X X X X X
collector_user - - - - - -
-------
BACKUPS
-------
Strategy A Accessible
| Strategy B Accessible
| . Strategy C Accessible
| . . Strategy D Accessible
| . . | Strategies (modify, delete)
| . . | . Backup Selections (modify, delete)
| . . | . . Platform use (start backups)
| . . | . . | Restore Backed up Data
| . . | . . | . Choose the destination directory
| . . | . . | . . On Demand Backup
default X X X X - X - X X -
admin X X X X X X X X X X
collector_user X X X X - X - - - -
--------
ARCHIVES
--------
Archive administrator (access to all folders)
| Create local archive folders
| . Create archive folders
| . . Edit folders
| . . | Delete folders
| . . | . View folders
| . . | . . Restore archives
| . . | . . | Archive files
| . . | . . | . Create archives
| . . | . . | . . Edit archives
| . . | . . | . . | Delete archives
default - X - X X X X X X X X
admin X X X X X X X X X X X
collector_user - - - - - - - - - - -
--------
SECURITY
--------
Certificates (create, import, delete)
| Security Templates (create, delete)
| . Rules (create, delete)
default - - -
admin X X X
collector_user - - -
------
OTHERS
------
Connect to any platform via Restore & Archive Manager
| Open backup folders
default - -
admin X X
collector_user X -
+---------------------------------------------------------------------+
SCHEDULER
+---------------------------------------------------------------------+
----------
PROPERTIES
----------
- Scheduler enabled
- Verbose mode disabled
- Scheduled job timeout: 3600
- Job Limitation disabled
--------------------------
RECURRENT NON WORKING DAYS
--------------------------
- No recurrent non working day
-------------------------
SPECIFIC NON WORKING DAYS
-------------------------
No specific non working day
+---------------------------------------------------------------------+
SCHEDULE(S)
+---------------------------------------------------------------------+
---------
SCHEDULE: Daily Schedule, start from Monday to Friday at 8 pm
---------
- Verbose mode: disabled
- Schedule Rule: Start, Every week on Monday... at 20:00
Description: Start Rule, Every week on Monday, Tuesday, Wednesday, Thursday,
Friday at 20:00
Id: 100
Validity: from 2023-08-25
Frequency: weekly
every 1 week the Monday, Tuesday, Wednesday, Thursday, Friday
Offset: 0 days
Start Hours:
20:00
Active interval: no defined limits
---------
SCHEDULE: Monthly Schedule, start on first Sunday of each month at 8 pm
---------
- Verbose mode: disabled
- Schedule Rule: Start, Every month the 1st Sunday at 20:00
Description: Start Rule, Every month the 1st Sunday at 20:00
Id: 102
Validity: from 2023-08-25
Frequency: monthly
the first Sunday every 1 month
Offset: 0 days
Start Hours:
20:00
Active interval: no defined limits
---------
SCHEDULE: RPO Schedule, Mon-Fri, every hour 00:00-23:00
---------
- Verbose mode: disabled
- Schedule Rule: Start, Every week on Monday... at 00:00 ...
Description: Start Rule, Every week on Monday, Tuesday, Wednesday, Thursday,
Friday at 00:00, 01:00, 02:00, 03:00, 04:00, 05:00, 06:00, 07:00, 08:00,
09:00, 10:00, 11:00, 12:00, 13:00, 14:00, 15:00, 16:00, 17:00, 18:00, 19:00,
20:00, 21:00, 22:00, 23:00
Id: 103
Validity: from 2023-08-25
Frequency: weekly
every 1 week the Monday, Tuesday, Wednesday, Thursday, Friday
Offset: 0 days
Start Hours:
00:00
01:00
02:00
03:00
04:00
05:00
06:00
07:00
08:00
09:00
10:00
11:00
12:00
13:00
14:00
15:00
16:00
17:00
18:00
19:00
20:00
21:00
22:00
23:00
Active interval: no defined limits
---------
SCHEDULE: Weekly Schedule, start every Saturday at 8 pm
---------
- Verbose mode: disabled
- Schedule Rule: Start, Every week on Saturday at 20:00
Description: Start Rule, Every week on Saturday at 20:00
Id: 101
Validity: from 2023-08-25
Frequency: weekly
every 1 week the Saturday
Offset: 0 days
Start Hours:
20:00
Active interval: no defined limits
+---------------------------------------------------------------------+
ARCHIVE FOLDER(S)
+---------------------------------------------------------------------+
No archive folder
+---------------------------------------------------------------------+
DRIVE(S)
+---------------------------------------------------------------------+
------
DRIVE: VLS-1_d0
------
- Type: VTL Disk Drive
- Status: Enabled
- Serial Number: No Serial Number
- Local drive connected to: <host_name>
- Connection List:
. Host: <host_name>, Device Descriptor: <device_descriptor_path>, Status:
Enabled
- Library: VLS_1 (0)
------
DRIVE: VLS-1_d1
------
- Type: VTL Disk Drive
- Status: Enabled
- Serial Number: No Serial Number
- Local drive connected to: <host_name>
- Connection List:
. Host: <host_name>, Device Descriptor: <device_descriptor_path>, Status:
Enabled
- Library: VLS_1 (1)
+---------------------------------------------------------------------+
NETWORK(S)
+---------------------------------------------------------------------+
+---------------------------------------------------------------------+
DEDUPLICATION STORAGE(S)
+---------------------------------------------------------------------+
+---------------------------------------------------------------------+
ENHANCED DISK STORAGE(S)
+---------------------------------------------------------------------+
---------------------
ENHANCED DISK STORAGE: XDCS
---------------------
- Comment:
- Repository Type: 4
- Repository Product Id: 2
- Enhanced Disk Storage Port Number: 34343
- Enhanced Disk Storage Host Name: <host_name>
- Enhanced Disk Storage User Name:
+---------------------------------------------------------------------+
EXTERNAL DEDUPLICATION FILESYSTEM(S)
+---------------------------------------------------------------------+
+---------------------------------------------------------------------+
S3 STORAGE(S)
+---------------------------------------------------------------------+
---------------------
S3 CLOUD STORAGE: CLOUD_AWS
---------------------
- Comment:
- Repository Type: 3
- Repository Product Id: 9
- Cloud Type: 2
- Cloud Debug File:
- Cloud No Free Address: Disabled
- Cloud Fast Init: Disabled
- Cloud Compression: Disabled
- Cloud Network Address: <network_adress>
- Cloud Version: 0
- Cloud Log Debug Level: 0
- Cloud Data Lock Mode: 1
- S3 Access Key Id: <access_key_id>
- S3 Bucket name: <bucket_name>
- S3 Lifecycle Days:
- S3 Lifecycle Id:
- S3 Deep Lifecycle Days:
- S3 Deep Lifecycle Id:
- S3 Host Header:
- S3 Info Mask: 33
- S3 Part Size: 0
- S3 Path Prefix Length: 0
- S3 Proxy Http Address:
- S3 Proxy Http User:
- S3 Network Address Accelerate:
- S3 Glacier Copy Lifetime: 0
- S3 Glacier Tier Option: 0
- S3 Deep Copy Lifetime: 0
- S3 Deep Tier Option: 0
---------------------
S3 CLOUD STORAGE: CLOUD_OVH
---------------------
- Comment:
- Repository Type: 3
- Repository Product Id: 14
- Cloud Type: 2
- Cloud Debug File:
- Cloud No Free Address: Disabled
- Cloud Fast Init: Disabled
- Cloud Compression: Disabled
- Cloud Network Address: <network_adress>
- Cloud Version: 0
- Cloud Log Debug Level: 0
- Cloud Data Lock Mode: 2
- S3 Access Key Id: <access_key_id>
- S3 Bucket name: <bucket_name>
- S3 Lifecycle Days:
- S3 Lifecycle Id:
- S3 Deep Lifecycle Days:
- S3 Deep Lifecycle Id:
- S3 Host Header:
- S3 Info Mask: 685
- S3 Part Size: 1000
- S3 Path Prefix Length: 0
- S3 Proxy Http Address:
- S3 Proxy Http User:
- S3 Network Address Accelerate:
- S3 Glacier Copy Lifetime: 0
- S3 Glacier Tier Option: 0
- S3 Deep Copy Lifetime: 0
- S3 Deep Tier Option: 0
---------------------
S3 CLOUD STORAGE: CLOUD_SWARM
---------------------
- Comment:
- Repository Type: 3
- Repository Product Id: 11
- Cloud Type: 2
- Cloud Debug File:
- Cloud No Free Address: Disabled
- Cloud Fast Init: Disabled
- Cloud Compression: Disabled
- Cloud Network Address: <network_adress>
- Cloud Version: 0
- Cloud Log Debug Level: 0
- Cloud Data Lock Mode: 1
- S3 Access Key Id: <access_key_id>
- S3 Bucket name: <bucket_name>
- S3 Lifecycle Days:
- S3 Lifecycle Id:
- S3 Deep Lifecycle Days:
- S3 Deep Lifecycle Id:
- S3 Host Header:
- S3 Info Mask: 33
- S3 Part Size: 0
- S3 Path Prefix Length: 0
- S3 Proxy Http Address:
- S3 Proxy Http User:
- S3 Network Address Accelerate:
- S3 Glacier Copy Lifetime: 0
- S3 Glacier Tier Option: 0
- S3 Deep Copy Lifetime: 0
- S3 Deep Tier Option: 0
+---------------------------------------------------------------------+
SWIFT STORAGE(S)
+---------------------------------------------------------------------+
+---------------------------------------------------------------------+
AZURE STORAGE(S)
+---------------------------------------------------------------------+
+---------------------------------------------------------------------+
GCS STORAGE(S)
+---------------------------------------------------------------------+
+---------------------------------------------------------------------+
CLOUD POOL(S)
+---------------------------------------------------------------------+
---------------------
CLOUD POOL: 1_DAY_CLOUD_AWS
---------------------
- Pool Type: Repository Cloud
- Retention: 1 day(s)
---------------------
CLOUD POOL: 1_DAY_CLOUD_OVH
---------------------
- Pool Type: Repository Cloud
- Retention: 1 day(s)
---------------------
CLOUD POOL: 1_DAY_CLOUD_SWARM
---------------------
- Pool Type: Repository Cloud
- Retention: 1 day(s)
+---------------------------------------------------------------------+
DEDUPLICATION POOL(S)
+---------------------------------------------------------------------+
+---------------------------------------------------------------------+
ENHANCED DISK STORAGE POOL(S)
+---------------------------------------------------------------------+
---------------------
ENHANCED DISK STORAGE POOL: 1_DAY_XDCS
---------------------
- Pool Type: Repository Enhanced Disk Storage
- Retention: 1 day(s)
```

#### tina\_daemon

tina\_daemon is Tina’s main process. It is initiated when a machine starts. It must be running on the server as well as on network machines controlled by Tina.

> **Note**: Only the root user (on Unix) and users with at least the backup operator rights (on Windows) can run this command.

**Syntax**

```bash
tina_daemon [-reset][-tina][-tina_service_name]
[-tina_service_tcp_num][tina_service_udp_num]
```

| Option                          | Description                                 |
| ------------------------------- | ------------------------------------------- |
| **\[-reset]**                   | Specifies the cache space reinitialization. |
| **\[-tina]**                    | Specifies the working environment name.     |
| **\[-tina\_service\_name]**     | Specifies the service name.                 |
| **\[-tina\_service\_tcp\_num]** | Specifies the TCP service number.           |
| **\[-tina\_service\_udp\_num]** | Specifies the UDP service number.           |

**tina\_daemon Processes**

Several **tina\_daemon** processes can run simultaneously, each of them having a specific function.

> **Important:**\
> Some **tina\_daemon** processes are critical for they imply a mapping of the Tina catalog. Such critical processes must not be killed under any circumstances.

The **tina\_daemon** number is the value of the `-td_op` option displayed when:

* **On Unix.** Running the `ps -elf | grep tina_daemon` command.
* **On Windows.** Using the Process Explorer utility. Go to the [http://www.sysinternals.com](http://www.sysinternals.com/) web site.

This table provides the list of all **tina\_daemon** processes along with their **tina\_daemon** number:

| tina\_daemon | Function                                                                                                                              | Critical                 |
| ------------ | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ |
| **0**        | Temporary process on Unix: appears briefly when starting the Tina daemon. On Windows, the process is permanent.                       | No on UnixYes on Windows |
| **1**        | Father process. Waits for requests and launches child processes. Handles the connections between clients and servers.                 | No on UnixYes on Windows |
| **2**        | Manages network requests. Such requests include mounting a cartridge, sending or receiving a file, etc.                               | Yes                      |
| **3**        | On Windows, manages identities when connecting with an identity other than NTAuthoritySystem.                                         | Yes                      |
| **4**        | Manages the catalog, for instance, allocation and release of cache resources, catalog shutdown, etc.                                  | Yes                      |
| **5**        | Allocates resources (drives, cartridges) to job. Launches newly created jobs or jobs that are retried.                                | Yes                      |
| **6**        | Manages I/O data streams from the server to the drives.                                                                               | Yes                      |
| **7**        | Manages group streams.                                                                                                                | Yes                      |
| **8**        | Performs actual I/O data streams, for instance for multiple writing backups, two sessions write the same data on two different media. | Yes                      |
| **9**        | Purges the Tina events (every hour at 35).                                                                                            | No                       |
| **10**       | Unused                                                                                                                                |                          |
| **11**       | Runs catalog maintenance jobs (everyday at 12:00)                                                                                     | Yes                      |
| **12**       | Unused                                                                                                                                |                          |
| **13**       | Handles NDMP connection requests.                                                                                                     | No                       |
| **14**       | Handles NDMP requests.                                                                                                                | No                       |
| **15**       | Temporary process: provides the Tina client protocol version to the server.                                                           | No                       |
| **16**       | Unused                                                                                                                                |                          |
| **17**       | Runs job duplication.                                                                                                                 | Yes                      |
| **18**       | Manages licenses                                                                                                                      | No                       |

| tina\_daemon | Function                                                       | Critical |
| ------------ | -------------------------------------------------------------- | -------- |
| **19**       | Runs collection jobs for Atempo-Tina Reporter User’s Guide     | Yes      |
| **20**       | Sends the events received by tina\_daemon\_1 to the event file | No       |
| **21**       | Handles job scheduling and management                          | Yes      |

**Example.**

*Unix:*

```bash
[root@aria tina38]# ps -elf | grep tina_daemon

root 27227 1 0 75 0 - 3437 schedu Apr14 ? 00:02:28
/usr/tina38/Bin/tina_daemon -td_op 1 -tina tina38 -tina_service_name tina38-com

root 32177 27227 1 75 0 - 8868 schedu 08:49 ? 00:00:00
/opt/tina38/Bin/tina_daemon -td_op 2 -td_fnet 5 -td_snet 7 -td_reason 1 -tina ti
```

*Windows:*

```bash
"C:\Program Files\Atempo\tina\Bin\tina_daemon.exe" -td_op 1 -tina_service_tcp_num 2525 -tina_service_udp_num 2526 -comm_by_pipe YES

"C:\Program Files\Atempo\tina\Bin\tina_daemon.exe" -td_op 2 -td_fnet 696 -td_snet 680 -td_reason 1 -tina_service_tcp_num 2525 -tina_service_udp_num 2526 -comm_by_pipe YES
```

#### tina\_del

The **tina\_del** command allows you to delete file versions from the Tina catalog.

With this command, versions can be deleted either recursively or interactively.

Deleting a version is a final operation (unless you have a catalog backup containing the version).

**Rights**

This command must be run on the Tina server as **root** on Unix systems or as **administrator** on Windows systems.

**Syntax**

```bash
tina_del -path_folder path [-folder folder] [-r]|[-i] [-strat A|B|C|D] [-catalog_only] [-catalog catalog] [-identity user:passwd] [-help]
```

<table><thead><tr><th width="278.33331298828125">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>-path_folder path</strong></td><td>Specifies the absolute path of the object to delete (directory or file). It is not allowed to delete the root of the tree (<code>/</code>).The syntax of the <code>-path_folder</code> option corresponds to that used by the operating system of the local machine (ex: <code>/usr</code> for Unix, <code>c:\users</code> for Windows).However, if you use the option <code>-catalog_only</code> the syntax of <code>-path_folder</code> is the posix syntax, not that of the operating system of the local machine.</td></tr><tr><td><strong>[-folder folder]</strong></td><td>Specifies the backup or archive folder.If the option is not specified, the default folder name is the host folder name.In the case of a backup folder, you must specify if the folder belongs to a host <code>[-folder host.&#x3C;host_name>]</code> or to an application <code>[-folder appl.&#x3C;application_name>]</code>.</td></tr><tr><td><strong>[-r]</strong></td><td>Allows you to delete all versions of the selected objects. If <code>tina_del -r</code> is used on a directory that defines a backup selection, all versions in the directory are deleted, including the backup selection. To avoid deleting a backup selection, do not use <code>tina_del -r</code> on the directory that defines the backup selection. If this parameter is not specified, the default deletion is interactive <code>-i</code>.</td></tr><tr><td><strong>[-i]</strong></td><td>Allows you to select the version to delete. This option does not apply to directories.</td></tr><tr><td><strong>[-strat A|B|C|D]</strong></td><td>Lists all the versions of a file in the selected strategy (whereas in standard configuration, the list displays a single version per time phase).</td></tr><tr><td><strong>[-catalog_only]</strong></td><td>This option lets you directly delete versions in the catalog, without connecting to the platform where the object was backed up or archived. As a result the path you provide with the option <code>-path_folder</code> must use the posix syntax, not the syntax of the platform operating system. Deleting time should be shorter when you use <code>-catalog_only</code>.<code>-catalog_only</code> was formerly named <code>-past</code>.</td></tr><tr><td><strong>[-catalog catalog]</strong></td><td>Specifies the working catalog. This parameter is mandatory if there are several catalogs.</td></tr><tr><td><strong>[-identity user:passwd]</strong></td><td>See <em>Specific Parameters.htm</em>.</td></tr></tbody></table>

**Example. tina\_del use**

The `tina_del` command can be used to free up space in the catalog or to delete an object.

This execution interactively deletes from the catalog a version of the file `aff.c` located in the directory `/usr/dbase/src`.

When the command line is entered, the list of versions of this file is displayed. Just choose the versions you want to delete.

```bash
tina_del -path_folder /usr/dbase/src/aff.c -folder host.asterix -i

+----------------------+
DELETING VERSIONS
Time Navigator
version 4.2
+----------------------+

FOLDER: host.asterix FILE: /usr/dbase/src/aff.c
(0) exit
(2) -rw-r--r-- dbase atempo 28929 Mon Sep 23 14:28:32 2002 aff.c
(3) -rw-r--r-- dbase atempo 31929 Mon Sep 23 16:08:00 2002 aff.c
choice> 2

(2) deleted.

choice> 0

end.
```

On Unix platforms, this execution recursively deletes from the catalog the directory `/src` and all the versions it contains.

```bash
tina_del -path_folder /usr/dbase/src -folder host.asterix -r

Object "/usr/dbase/src" deleted
```

This execution does not find the file `aff.c` because all the versions of the file `aff.c` have been previously deleted.

```bash
tina_del -path_folder /usr/dbase/src/aff.c -folder host.asterix -i

tina_del: Object "/usr/dbase/src/aff.c" not found
```

#### tina\_drive\_control

The **tina\_drive\_control** command allows you to test a drive.

**Rights**

This command must be run on the Tina server as **root** on Unix systems or as **administrator** on Windows systems.

**Syntax**

```bash
tina_drive_control -drive drive_name [-host_access host_name] [-test] [-catalog catalog] [-identity identity]
```

<table><thead><tr><th width="281">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>-drive drive_name</strong></td><td>Specifies the name of the drive on which to operate.</td></tr><tr><td><strong>[-host_access host_name]</strong></td><td>Specifies the name of the host used to access the drive on which to operate. This option is very useful in SAN environments.It can be used only if the <code>-drive</code> option is used.</td></tr><tr><td><strong>[-test]</strong></td><td>Executes the drive test. It can be used only if the <code>-drive</code> option is used.</td></tr></tbody></table>

| Option                       | Description                                                                               |
| ---------------------------- | ----------------------------------------------------------------------------------------- |
| **\[-catalog catalog]**      | Specifies the working catalog. This parameter is mandatory if there are several catalogs. |
| **\[-identity user:passwd]** | See *Specific Parameters.htm*.                                                            |

#### tina\_event

The **tina\_event** command allows you to view the `event` file through the command line. Information contained in the file is sent to the standard output of the entered command.

> **Note:**\
> Any user can execute this command.

The **tina\_daemon** process must be running on the host where the `event` file to view is located, except if these two conditions are met:

* You are connected as **root** (Unix) or **backup operator** or **administrator** (Windows).
* You are viewing the `event` file of the local machine (option `[-target_host host]` not specified).

When you enter the command without any options, these fields are displayed by default:

* The `Severity` field: specifies the event severity level.
* The `Date` field: specifies the event date.
* The `Message` field: specifies the event text.

These default severity levels are displayed:

* `alarm_critical`
* `alarm_major`
* `alarm_minor`
* `fatal`
* `info`

> **Note:**\
> The process used to redirect events has been modified (date format). If you use scripts with redirected files, you must use the Version 3.7.0.2 Event Redirection Compatibility tunable (`old_event_output_compatible`) for compatibility reasons. For more information, see the Atempo-Tina Tunables documentation.

**Syntax**

```bash
tina_event [-v_development] [-v_ad_cell_obj] [-v_class] [-v_pid]
[-v_job_id] [-v_program] [-v_host] [-v_user] [-v_catalog] [-v_server]
[-v_log_date] [-severity_full] [-f_date YYYYMMDDHHmm YYYYMMDDHHmm]
[-f_pid pid] [-f_job_id jobid [jobid2]...] [-f_program program]
[-f_host hostname] [-f_user username] [-f_catalog catalog] [-f_server server] [-f_severity alarm_critical alarm_major alarm_minor fatal error warning info acct debug] [-f_log_date YYYYMMDDHHmm YYYYMMDDHHmm] [-all_event] [-output_format text|csv] [-csv_separator csv_separator] [-file file] [-output_file output_file] [-split_by_catalog] [-max_line number_line] [-catalog catalog] [-target_host hostname] [-help]
```

**Display Options**

<table><thead><tr><th width="230">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-v_development]</strong></td><td>Specifies the display of the <code>Development</code> field containing information useful for solving a problem.</td></tr><tr><td><strong>[-v_ad_cell_obj]</strong></td><td>Specifies the display of the <code>ad_cell_obj</code> field indicating the catalog identifier of the involved object.</td></tr><tr><td><strong>[-v_class]</strong></td><td>Specifies the display of the <code>Class</code> field indicating the backup selection involved in the event.</td></tr><tr><td><strong>[-v_pid]</strong></td><td>Specifies the display of the <code>Pid</code> field indicating the process identification number involved in the event.</td></tr><tr><td><strong>[-v_job_id]</strong></td><td>Specifies the display of the <code>Job_id</code> field indicating the ID of the job involved in the event.</td></tr><tr><td><strong>[-v_program]</strong></td><td>Specifies the display of the <code>Program</code> field indicating the program involved in the event.</td></tr><tr><td><strong>[-v_host]</strong></td><td>Specifies the display of the <code>Host</code> field indicating the host involved in the event.</td></tr><tr><td><strong>[-v_user]</strong></td><td>Specifies the display of the <code>User</code> field indicating the user involved in the event.</td></tr><tr><td><strong>[-v_catalog]</strong></td><td>Specifies the display of the <code>Catalog</code> field indicating the catalog involved in the event.</td></tr><tr><td><strong>[-v_server]</strong></td><td>Specifies the display of the <code>Server</code> field indicating the server involved in the event.</td></tr><tr><td><strong>[-v_log_date]</strong></td><td>Specifies the display of the event log date in the event file.</td></tr></tbody></table>

<table><thead><tr><th width="234.6666259765625">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-v_severity_full]</strong></td><td>Specifies the display of the full text of the error severity.</td></tr><tr><td><strong>[-all_event]</strong></td><td>Specifies the display of all severities and all fields for all events.</td></tr></tbody></table>

**Filter Options**

<table><thead><tr><th width="247.00006103515625">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-f_date YYYYMMDDHHmm YYYYMMDDHHmm]</strong></td><td>Specifies a filter for the <code>Date</code> field.</td></tr><tr><td><strong>[-f_pid pid]</strong></td><td>Specifies a filter for the <code>Pid</code> field.</td></tr><tr><td><strong>[-f_job_id job_id]</strong></td><td>Specifies a filter for the <code>Job_ID</code> field. May contain a list.</td></tr><tr><td><strong>[-f_program program]</strong></td><td>Specifies a filter for the <code>Program</code> field.</td></tr><tr><td><strong>[-f_host hostname]</strong></td><td>Specifies a filter for the <code>Host</code> field.</td></tr><tr><td><strong>[-f_user username]</strong></td><td>Specifies a filter for the <code>User</code> field.</td></tr><tr><td><strong>[-f_catalog catalog]</strong></td><td>Specifies a filter for the <code>Catalog</code> field.</td></tr><tr><td><strong>[-f_server server]</strong></td><td>Specifies a filter for the <code>Server</code> field.</td></tr><tr><td><strong>[-f_severity alarm_critical alarm_major alarm_minor fatal error warning info acct debug]</strong></td><td>Specifies a filter for the <code>Severity</code> field.You can choose among these severity levels:<code>alarm_critical (C)</code> <code>error (E)alarm_major (M)</code> <code>warning (W)alarm_minor (m)</code> <code>info (I)fatal (F)</code> <code>acct (A)debug (D)</code></td></tr><tr><td><strong>[-f_log_date]</strong></td><td>Specifies a filter for the event log date in the event file.</td></tr><tr><td><strong>Other Options</strong></td><td></td></tr></tbody></table>

<table><thead><tr><th width="267.66668701171875">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-output_format]</strong></td><td>Specifies the display format command result. Possible values are <code>text</code> and <code>csv</code>. Default value is <code>text</code>.</td></tr><tr><td><strong>[-csv_separator cvs_separator]</strong></td><td>Specifies the separator used by the <code>csv</code> format.</td></tr><tr><td><strong>[-file file]</strong></td><td>Specifies the name of the input file.</td></tr><tr><td><strong>[-output_file output_file]</strong></td><td>Specifies the name of the output file. If the option is not specified, the standard output is used. The output file format is UTF8. The file name can be concatenated with other information if the <code>-split_by_catalog</code> and <code>-max_line</code> options are used.</td></tr><tr><td><strong>[-split_by_catalog]</strong></td><td>The output file name (OutputFile) is processed as a prefix to which the "catname" catalog name is added. The "OutputFile_catname" file is used as output file for the "catname" catalog events (events that are not attached to a catalog will be written in OutputFile).</td></tr><tr><td><strong>[-max_line number_line]</strong></td><td>Specifies the maximum number of lines to be written in a file. When this limit is reached, another OutputFile_XY name is used (where XY is the file number). If the <code>-split_by_catalog</code> option is used, the file name includes the catalog name (ex: OutputFile_catname_XY).</td></tr><tr><td><strong>[-catalog catalog]</strong></td><td>Specifies the working catalog. The parameter is mandatory if there are several catalogs.</td></tr><tr><td><strong>[-target_host hostname]</strong></td><td>Specifies the host where the file <code>event</code> to view is located.If the option is not specified, the viewed file is that of the local machine.</td></tr></tbody></table>

**Example. tina\_event use**

The `Severity`, `Date` and `Message` fields are always displayed. In this example, the display of the `Pid`, `Program` and `Host` fields is specified. The `Host` field is filtered in order to display only the events applying to the host `olive`. As no filter is specified for the `Severity` field, default severity levels are displayed (`alarm_critical`, `alarm_major`, `alarm_minor`, `fatal` and `info`).

```bash
tina_event -v_pid -v_program -v_host -f_host olive
```

```
Sev Pid Program Date Host Message

I 8665 tina_daemon Wed Jan 10 17:52:21 2001 olive "Service opened"
I 8665 tina_daemon Wed Jan 10 18:17:04 2001 olive "Service closed"
I 10172 tina_init Thu Jan 11 07:54:02 2001 olive "Start tina_init"
I 10172 tina_init Thu Jan 11 07:57:29 2001 olive "New catalog initialized."
I 10197 tina_daemon Thu Jan 11 07:59:48 2001 olive "Checking cache and catalog
"demo" sessions"
I 10196 tina_daemon Thu Jan 11 07:59:48 2001 olive "Service opened"
I 11714 tina_daemon Thu Jan 11 16:09:03 2001 olive "Extension of
"BackupA"
cartridge pool"
F 12970 tina_adm Thu Jan 11 19:20:34 2001 olive "XIOErrorHdler"
I 10196 tina_daemon Fri Jan 12 10:21:48 2001 olive "Service closed"
I 1070 tina_daemon Fri Jan 12 10:57:26 2001 olive "Checking cache
and catalog
"demo" sessions"
I 3446 tina_daemon Wed Jan 17 09:34:17 2001 olive "Service opened"
F 4633 tina_alpha Wed Jan 17 14:37:16 2001 olive "TNCommandExecute failed:
rc = TNErrRequest"
I 3446 tina_daemon Wed Jan 17 15:29:09 2001 olive "Service closed"
I 5353 tina_init Wed Jan 17 15:30:05 2001 olive "Start tina_init"
I 5353 tina_init Wed Jan 17 15:32:56 2001 olive "New catalog
initialized."
I 5365 tina_daemon Wed Jan 17 15:33:05 2001 olive "Checking cache
and catalog
"demo" sessions"
I 5364 tina_daemon Wed Jan 17 15:33:05 2001 olive "Service opened"
I 5390 tina_daemon Wed Jan 17 15:36:20 2001 olive "Extension of
"BackupA"
cartridge pool"
M 14641 tina_adm Tue Jan 23 09:05:30 2001 olive "Error initiating
backup"
I 14791 tina_daemon Tue Jan 23 09:22:47 2001 olive "Extension of
"BackupA"
cartridge pool"
F 14994 tina_daemon Tue Jan 23 09:50:07 2001 olive "Error reserving
catalog"
I 14532 tina_daemon Tue Jan 23 09:50:22 2001 olive "Service closed"
F 14997 tina_daemon Tue Jan 23 09:50:25 2001 olive "Error reserving
catalog"
I 15000 tina_init Tue Jan 23 09:50:36 2001 olive "Start tina_init"
I 15000 tina_init Tue Jan 23 09:54:33 2001 olive "New catalog
initialized."
I 15006 tina_daemon Tue Jan 23 09:54:50 2001 olive "Checking cache
and catalog
"demo" sessions"
```

> **Note**: You can also use the Monitoring-Event Viewer command in Web Administration to display the list of events. For more information on the event file, see the "event File" topic of Tina Administration Documentation.

#### tina\_event\_viewer

The tina\_event\_viewer binary opens Event Viewer.

**Syntax**

```bash
tina_event_viewer [-catalog catalog] [-file file]
[-language language] [-no_refresh] [-jobid id] [-all_events] [-help]
```

<table><thead><tr><th width="255">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-catalog catalog]</strong></td><td>Specifies the catalog to which the application is connected. Not compatible with <code>-file</code>.</td></tr><tr><td><strong>[-file file]</strong></td><td>Specifies the <code>event</code> file to which the application is connected. Not compatible with <code>-catalog</code>.</td></tr><tr><td><strong>[-no_refresh]</strong></td><td>Disables the automatic update of the displayed events.</td></tr><tr><td><strong>[-jobid id]</strong></td><td>Filters the events concerning only the job corresponding to the <code>job_id</code> value.</td></tr><tr><td><strong>[-all_events]</strong></td><td>Displays all the events of the catalog or file.</td></tr></tbody></table>

**Example. Usage of the tina\_event\_viewer binary.**

In this example, Event Viewer is opened in French and displays all the events of the `Demo` catalog.

```bash
tina_event_viewer -catalog Demo -all_events -language French
```

#### tina\_export

The **tina\_export** command enables you to select and copy the data of a backup or a standard archive folder at a given date. By default, this command exports the last complete backup available for the folder (i.e., the last full backup plus any incremental backups that followed). Data is transferred on the network.

The **tina\_export** creates these two jobs:

* A first job that exports data (i.e., in the source catalog, it reads the data from media).
* A second job that imports data (i.e., in the destination catalog, it writes the data on tape).

**Source and Destination Types**

You can export files within the same catalog or into another catalogs, provided that the operating systems are compatible (i.e., from Unix to Unix or from Windows to Windows).

In accordance to both the source and destination types of the exported object, you can specify different destinations for the `tina_export` command:

* This table describes the destinations that you can specify in accordance to the source type:

<table><thead><tr><th width="262">Source</th><th>Destination</th></tr></thead><tbody><tr><td><strong>A backup folder</strong></td><td><p>These are the possible destinations for the exported files:</p><ul><li>An archive folder.</li><li>Itself. In such a case, you obtain the same result as if you perform a full synthetic backup.</li><li>Another backup folder.</li></ul></td></tr><tr><td><strong>An archive folder</strong></td><td><p>These are the possible destinations for the exported files:</p><p>-Itself.</p><p>-Another archive folder</p></td></tr><tr><td><strong>A strategy</strong></td><td>Another strategy.</td></tr></tbody></table>

This table describes the destinations that you can specify in accordance to the backup folder destination type:

<table><thead><tr><th width="336.6666259765625">Data produced by</th><th>Can only be exported into</th></tr></thead><tbody><tr><td><strong>Host backups</strong></td><td>A host backup folder, a file system application, or an archive.</td></tr><tr><td><strong>A file system application</strong></td><td>A host backup folder, a file system application, or an archive.</td></tr><tr><td><strong>A backup of another application type</strong></td><td>An application folder of the same type.</td></tr></tbody></table>

* In accordance to the archive folder destination type, the only destination that you can specify is an archive, whether it is itself or another archive.

**Drives**

Exporting data within the same catalog requires the presence of two drives, while exporting data between different catalogs requires the presence of one drive per catalog. Tina automatically searches for the server name associated with the destination catalog in the `catalogs` file.

**Source and Destination Formats**

The `tina_export` command uses the server cache to move the data and only supports the `TiNa` or `tar` backup formats.

When performing an export, you can modify the data format (i.e., `TiNa` or `tar`) that then becomes the strategy format in the destination folders in these ways:

* From `TiNa` into `tar`.
* From `tar` into `TiNa`.

The keywords and the description of an archive folder are kept during export.

**Rights**

You must run the `tina_export` command on the Tina server in this way:

* **Unix.** As `root`.
* **Windows.** As `administrator`.

**Syntax**

```bash
tina_export -folder folder [-path_folder path1 [path2]...]
[-date yyyymmddhhmm] [-date_dest date] [-strat A|B|C|D] [-catalog_dest catalog]
-folder_dest folder [-update] [-strat_dest A|B|C|D] [-path_folder_dest archive_path] [-full]|[-incr] [-catalog catalog] [-help]
```

<table><thead><tr><th width="248.33331298828125">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>-folder folder</strong></td><td>Source folder to export (backup or archive folder).For a backup folder, you must specify if the folder belongs to a host <code>-folder host.&#x3C;host_name></code> or to an application <code>-folder appl.&#x3C;application_name></code></td></tr><tr><td><strong>[-path_folder path]</strong></td><td>This parameter uses the Unix syntax (e.g., <code>/usr</code> or <code>/c/users</code>).The parameter accepts a path list; however, you cannot specify two paths where one is included in the other.<strong>Example.</strong> The <code>-path_folder /usr/people/user1 /usr/people/user2</code> syntax is correct.However, the <code>-path_folder /usr/people /usr/people/user2</code> syntax is not correct since <code>user2</code> is included in <code>people</code>.</td></tr><tr><td><strong>[-date yyyymmddhhmm]</strong></td><td>Date of the versions of the source folder to export.If the <code>-date</code> option is not set, the default date is the present.</td></tr><tr><td><strong>[-date_dest date]</strong></td><td>Performs a synthetic backup in the past. It represents the backup date of the exported objects. By default, it is the current date.</td></tr><tr><td><strong>[-strat A|B|C|D]</strong></td><td>Strategy associated with the source folder. This option applies to backup folders.If the <code>-strat</code> option is not set, the default strategy is the standard strategy (all strategies defined on the host).</td></tr><tr><td><strong>[-catalog_dest dest_catalog]</strong></td><td>Destination catalog.If the <code>-catalog_dest</code> option is not set, the default catalog is the source catalog.</td></tr></tbody></table>

<table><thead><tr><th width="281.66668701171875">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>-folder_dest folder</strong></td><td>Destination folder (backup or archive folder).For a backup folder, you must specify if the folder belongs to a host <code>-folder_dest host.folder</code> or to an application <code>-folder_dest appl.folder</code>.</td></tr><tr><td><strong>[-update]</strong></td><td>Updates the description and the keywords in the destination folder. This option applies to archive folders.</td></tr><tr><td><strong>[-strat_dest A|B|C|D]</strong></td><td>Strategy associated with the destination folder. This option applies to backup folders and is mandatory.</td></tr><tr><td><strong>[-path_folder_dest archive_path]</strong></td><td>Archive absolute path in the destination folder. This option applies to archive folders.If the <code>-path_folder_dest</code> option is not set, the objects contained in the source folder are copied in the destination archive folder root.The syntax of the <code>-path_folder_dest</code> parameter corresponds to the POSIX syntax (e.g., <code>/archive</code>).</td></tr><tr><td><strong>[-full]</strong></td><td>Specifies a full export at a given date (all folder objects).The default export is a full export.</td></tr><tr><td><strong>[-incr]</strong></td><td>Specifies an incremental export. The <code>tina_export</code> command only backs up the folder objects that have been modified compared to the given path and strategy in the destination folder.If the <code>-incr</code> option is not set, the default exportation is the full exportation.</td></tr><tr><td><strong>[-catalog catalog]</strong></td><td>Source catalog. The parameter is mandatory if there are several catalogs.</td></tr></tbody></table>

**Examples. Usage of the tina\_export command.**

* To export from a backup folder into another backup folder with the same name.

In this example, only the objects in the `source` backup folder of the `asterix` host that have been modified since the last export and which are located in the `/usr` directory are exported to the destination backup folder with the same name.

Objects are exported from the `SRC` source catalog to the `DEST` destination catalog.

The exported objects of the source backup folder are those that were backed up with strategy `A`. They will be associated with strategy `B` in the destination backup folder.

```bash
./tina_export -catalog SRC -folder host.asterix -path_folder /usr -strat A -catalog_dest DEST -folder_dest host.asterix -incr -strat_dest B
```

* To export from a backup folder into an archive folder.

In this example, all the objects of the source backup folder of the `oradb` application backed up with strategy `A` are exported to the `Archiveoradb` archive folder, in the `/archive1` archive.

```bash
./tina_export -folder appl.oradb -strat A -folder_dest Archiveoradb -full -path_folder_dest /archive1
```

#### tina\_find

The **tina\_find** command allows you to search for objects (directories and/or files):

* Either on a given date (present or past).
* Or in a given time navigation period.

If searching is performed in the present and with no time navigation value, in other words on the disk, it is not necessary to specify the settings `-lost_files`, `-strat` and `-all` which apply to objects backed up in the catalog.

If searching is performed in the past, in other words in the catalog, you can search for:

* Objects which have disappeared in a selected time interval using the parameter `-lost_files`
* Any backup version using the option `-catalog_only`.

The user can also search for objects in archive folders using the parameter `-folder`.

> **Note:**\
> In order to use `tina_find` on applications, you must have the application Tina software library installed on the machine where you perform the `tina_find` operation. This library must be in the same path as on the machine where the application is running.

> **Note:**\
> To use `tina_find` across all applications or/and hosts, add the `*` wildcard character after `-host` or `-applications`.

**Rights**

Users with these rights in Tina can launch this command:

* If no target is specified, no right is needed

**OTHERWISE**

* Open backup folders if the target folder is of backup type\
  **Or**
* View folders if the target folder is of archive type

For more information on users and access rights, see the Tina Administration Documentation.

**Syntax**

```bash
tina_find [-path_folder search_path] [-pattern "pattern"]
[-host host1 [host2]...]|[-application application1 [application2]...]|
[-folder archive_folder] [-depth valueUNIT] [-lost_files] [-strat A|B|C|D]
[-all] [-long] [-display_cart] [-nfs] [-date yyyymmddhhmm] [-no_r]
[-output_format text|csv] [-catalog_only]|[-user user]|[-password password]
[-csv_separator csv_separator] [-catalog catalog] [-identity user:passwd]
[-help]
```

<table><thead><tr><th width="271.6666259765625">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-path_folder search_path]</strong></td><td>Specifies the directory from which the search is performed.If the option is not specified, the search is performed from the root (<code>/</code>).On macOS platforms, the option <code>-path_folder</code> is not case sensitive, even if the directory is located in a case sensitive file system.</td></tr><tr><td><strong>[-pattern "pattern"]</strong></td><td>Specifies a list of special characters separated by spaces used for the search. The list must be written into quotation marks.If the option is not specified, the list of special characters contains all objects (symbol <code>*</code>).</td></tr><tr><td><strong>[-host [host1] [host2]...]</strong></td><td>Specifies the list of hosts onto which searching is performed.If the option is not specified, searching is performed on the local host.If the option is used without the arguments <code>[host1] [host2]...</code>, searching is performed on all the hosts declared in the catalog.If the directory specified in the option <code>[-path search_path]</code> is not found on a host with the settings specified on the command line, the message <code>Object not found</code> is displayed and the search continues on other hosts.</td></tr><tr><td><strong>[-application [application1] [application2]...]</strong></td><td>Specifies the list of applications onto which searching is performed. If the option is used without the arguments <code>[application1] [application2]...</code>, searching is performed on all the applications declared in the catalog.</td></tr><tr><td><strong>[-folder archive_folder]</strong></td><td>Specifies the archive folder into which the search is performed.</td></tr><tr><td><strong>[-depth valueUNIT]</strong></td><td>Specifies a time navigation period. This option possible value format is <code>valueUNIT</code>, where <code>value</code> is an integer and <code>UNIT</code> is the time unit corresponding to:<code>S</code>: seconds<code>m</code>: minutes<code>H</code>: hours<code>D</code>: days<code>W</code>: weeks<code>M</code>: month<code>Y</code>: year</td></tr></tbody></table>

<table><thead><tr><th width="246.33331298828125">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-lost_files]</strong></td><td>Specifies the search only for objects disappeared in the activated time navigation period (symbol <code>*</code> to the left of the disappeared object).If the option is not specified, all objects are searched (disappeared or not).</td></tr><tr><td><strong>[-strat A|B|C|D]</strong></td><td>Specifies the backup strategy of the searched objects (<code>A</code>, <code>B</code>, <code>C</code> or <code>D</code>).If the option is not specified, the default strategy is that to which the user has access.</td></tr><tr><td><strong>[-all]</strong></td><td><p>Specifies the display of all versions of the searched objects.If the option is not specified, only the latest version of searched objects is displayed. The object date displayed varies as follows:</p><ul><li>If the object is displayed in the present, on the disk, the displayed date is the object last modification date.</li><li>If the object is displayed in the past (i.e., the object is in the catalog) the displayed date is the object latest version date.By default, the time navigation period is infinite. You can set a time navigation value with the option <code>-depth</code>.</li></ul></td></tr><tr><td><strong>[-long]</strong></td><td>Specify the display of both the backup date and the last modification date. If the object is not backed up, the backup date is replaced by the mention <code>Object on disk</code>.</td></tr><tr><td><strong>[-display_cart]</strong></td><td>Displays the name of the cartridge containing the backed up files.</td></tr><tr><td><strong>[-nfs]</strong></td><td>Specifies to go through the NFS mount points during searching.If the option is not specified, the Going through NFS Mount Points option is activated.</td></tr><tr><td><strong>[-date yyyymmddhhmm]</strong></td><td>Specifies the search date.If the option is not specified, searching is performed in the present.</td></tr><tr><td><strong>[-no_r]</strong></td><td>Specifies that the search is limited to the current directory and is not recursive.</td></tr><tr><td><strong>[-output_format text|csv]</strong></td><td>Specifies the output format of the search result. The possible values are <code>text</code> or <code>csv</code>, the default value is <code>text</code>.</td></tr><tr><td><strong>[-catalog_only]</strong></td><td>This option lets you search for objects in the catalog instances, without connecting to the platform where the object was backed up or archived. As a result <code>-catalog_only</code> cannot be used in the present. The information returned may differ from a search with connection to the platform since it is not interpreted by the platform operating system. For instance, a path appears as a posix path even for windows platforms.</td></tr></tbody></table>

| Option                                | Description                                                                                                                                                                                        |
| ------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **\[-user user]**                     | To be used with the `-host` parameter. Specifies the user’s name of the host to be searched, if required.                                                                                          |
| **\[-password password]**             | To be used with the `-host` parameter. Specifies the user’s password of the host to be searched, if required.                                                                                      |
| **\[-csv\_separator csv\_separator]** | This option is useful if the `-output_format` option has been set to `csv`. It lets you set the character or character string to be used as a separator. The default value is the semicolon `";"`. |
| **\[-catalog catalog]**               | Specifies the working catalog. The parameter is mandatory if there are several catalogs.                                                                                                           |
| **\[-identity user:passwd]**          | See *Specific Parameters.htm*.                                                                                                                                                                     |

**Example. tina\_find use**

In this example, all objects consisting of four characters (`????`) or having the extension `.c` (`*.c`) or beginning with the letter b (`b*`) are searched from the directory `/usr` on the local host (`olive`). A two-week time navigation period is activated (`2W`) from the present. Two files have disappeared in the selected time interval (symbol `*`).

```bash
tina_find -path_folder /usr -pattern "???? *.c b*" -depth 2W
```

```
-path
Scanning olive...
file     tina   atempo   1642 Fri Jan 12 15:34:50 2001   /usr/MakeDoc.c
file     tina   atempo    980 Fri Jan 12 15:34:50 2001   /usr/MakeTime.c
file     tina   atempo  19916 Fri Jan 12 15:34:50 2001   /usr/TXTtoPS.c
directory tina   atempo     0 Fri Dec 15 08:54:01 2000   /usr/Snmp
file     tina   atempo   1553 Fri Dec 15 08:54:58 2000   /usr/Snmp/test.c
file     tina   atempo    254 Mon Jan 29 14:08:31 2001   /usr/Snmp/big.c
file     tina   atempo   1981 Wed Nov 15 17:26:20 2000   /usr/Snmp/rcv.c
file     tina   atempo    302 Wed Nov 15 08:14:50 2000   /usr/Kit/system.c
file     tina   atempo   7712 Fri Jan 12 15:36:17 2001 * /usr/Tunes/binary
file     tina   atempo   1310 Tue Dec 26 15:36:17 2000 * /usr/Tunes/link
file     tina   atempo   1940 Fri Jan 12 15:17:42 2001   /usr/Tunes/logs

Total : 11
```

In this example, the display is modified by the presence of the parameter `-all`. All the versions of searched objects are displayed. One object is fuzzy (`?` symbol).

```bash
tina_find -path /usr -pattern "???? *.c b*" -depth 2W -all
```

```
Scanning olive...

file tina atempo 1642 Fri Jan 12 15:34:50 2001 Object on disk /usr...
file tina atempo 1642 Fri Jan 12 15:34:50 2001 Wed Jan 17 15:36:17 2001 /usr...
file tina atempo 1642 Fri Jan 12 15:34:50 2001 Tue Jan 16 11:54:01 2001 /usr...

file tina atempo 980 Fri Jan 12 15:34:50 2001 Object on disk /usr...
file tina atempo 980 Fri Jan 12 15:34:50 2001 Wed Jan 17 15:36:17 2001 /usr...
file tina atempo 980 Fri Jan 12 15:34:50 2001 Tue Jan 16 11:54:01 2001 /usr...

file tina atempo 19916 Fri Jan 12 15:34:50 2001 Object on disk /usr...
file tina atempo 19916 Fri Jan 12 15:34:50 2001 Wed Jan 17 15:36:17 2001 /usr...
file tina atempo 19916 Fri Jan 12 15:34:50 2001 Tue Jan 16 11:54:01 2001 /usr...
```

```
directory tina atempo    0 Fri Dec 15 08:54:01 2000 Object on disk /usr...
file      tina atempo 1553 Fri Dec 15 08:54:58 2000 Object on disk /usr...
file      tina atempo 1553 Fri Dec 15 08:54:58 2000 Wed Jan 17 15:36:17 2001 /usr...
file      tina atempo 1553 Fri Dec 15 08:54:58 2000 Tue Jan 16 11:54:01 2001 /usr...

file      tina atempo  254 Mon Jan 29 14:08:31 2001 Object on disk /usr...
file      tina atempo  254 Mon Jan 29 14:08:31 2001 Wed Jan 17 15:36:17 2001 /usr...
file      tina atempo  254 Mon Jan 29 14:08:31 2001 Tue Jan 16 11:54:01 2001 /usr...

file      tina atempo 1981 Wed Nov 15 17:26:20 2000 Object on disk /usr...
file      tina atempo 1981 Wed Nov 15 17:26:20 2000 Wed Jan 17 15:36:17 2001 /usr...
file      tina atempo 1981 Wed Nov 15 17:26:20 2000 Tue Jan 16 11:54:01 2001 /usr...

file      tina atempo  302 Wed Nov 15 08:14:50 2000 Object on disk /usr...
file      tina atempo  302 Wed Nov 15 08:14:50 2000 Wed Jan 17 15:36:17 2001 /usr...
file      tina atempo  302 Wed Nov 15 08:14:50 2000 Tue Jan 16 11:54:01 2001 /usr...

file      tina atempo 7712 Fri Jan 12 15:34:50 2001 Object on disk /usr...
file      tina atempo 7712 Fri Jan 12 15:34:50 2001 Wed Jan 17 15:36:17 2001 /usr...
file      tina atempo 7712 Fri Jan 12 15:34:50 2001 Tue Jan 16 11:54:01 2001 /usr...

file      tina atempo 1310 Tue Dec 26 13:54:17 2000 Object on disk /usr...
file      tina atempo 1310 Tue Dec 26 13:54:17 2000 Wed Jan 17 15:36:17 2001 * /usr...
file      tina atempo 1310 Tue Dec 26 13:54:17 2000 Tue Jan 16 11:54:01 2001 * /usr...

file      tina atempo 1940 Fri Jan 12 15:17:42 2001 Object on disk /usr...
file      tina atempo 1940 Fri Jan 12 15:17:42 2001 Wed Jan 17 15:36:17 2001 /usr...
file      tina atempo 1940 Fri Jan 12 15:17:42 2001 Tue Jan 16 11:54:01 2001 /usr...

Total : 31
```

#### tina\_folder\_control

> **Important:**\
> This binary must be used with the assistance of the Atempo Customer Support.

The `tina_folder_control` binary lets you perform operations on a catalog folder.

To set a folder in maintenance status, use the `-maintain_folder` option of `tina_init` or `tina_odbsave` binaries. See `tina_init` and `tina_odbsave`.

> **Note:**\
> Any privileged user can execute this command.

**Syntax**

```bash
tina_folder_control [-end_folder_maintenance folder1 [folder2]...] [-import_folder folder1 [folder2]...] [-file catalog_backup] [-keep_platform_disabled] [-catalog catalog][-list_folder][-list_maint_folder][-help]
```

<table><thead><tr><th width="269">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>-end_folder_maintenance folder</strong></td><td>If a folder cannot be repaired and there is no previous valid catalog backup available, the maintenance can be ended explicitly on that folder using <code>-end_folder_maintenance</code> option. This leaves the folder empty and without previous backup selections that are lost.Be careful: all instances will be lost.</td></tr><tr><td><strong>-import_folder folder</strong></td><td>Specifies the list of folders to import in the existing catalog. Import is performed for listed folders which are in maintenance state.It restores metadata in the folders and implicitly ends folder maintenance.To import a folder, it must first be set in maintenance status using the <code>-maintain_folder</code> option of <code>tina_init</code> or <code>tina_odbsave</code> binaries. See <code>tina_init</code> and <code>tina_odbsave</code>.To use this option, the catalog must be stopped.In case of import failure because the catalog backup used for the import was also corrupted, just freeze again the folder in maintenance state and import the folder from another catalog backup.If the folder cannot be repaired and there is no previous valid catalog backup available, the maintenance can be ended explicitly on that folder using the <code>-end_folder_maintenance</code> option. This leaves the folder empty and without previous backup selections that are lost.</td></tr><tr><td><strong>-file catalog_backup</strong></td><td>Specifies the catalog backup file from which the folders will be imported.It can be used only if <code>-import_folder</code> option is used.</td></tr><tr><td><strong>-keep_platform_disabled</strong></td><td>Let corresponding platforms disabled for both operations, i.e., <code>import_folder</code> and <code>end_folder_maintenance</code>.</td></tr><tr><td><strong>-catalog catalog</strong></td><td>Specifies the name of the catalog.</td></tr><tr><td><strong>-list_folder</strong></td><td>Lists all catalog folders.</td></tr><tr><td><strong>-list_maint_folder</strong></td><td>Lists only folders in maintenance.</td></tr></tbody></table>

#### tina\_help

The `tina_help` binary displays help about objects specified in command line (e.g., Alarm ID, Tunable, etc.).

> **Note:**\
> Any user can execute this command.

**Syntax**

```bash
tina_help [-alarm id ID] [-parameter_list]
[-parameter tunable_name] [-envvar_list] [-envvar envvar_name]
```

<table><thead><tr><th width="251.33331298828125">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>-alarm_id ID</strong></td><td>Displays the help message of the alarm associated with the specified alarm.</td></tr><tr><td><strong>-parameter_list</strong></td><td>Retrieves the known tunable list.</td></tr><tr><td><strong>-parameter tunable_name</strong></td><td>Specifies the tunable name.</td></tr><tr><td><strong>-envvar_list</strong></td><td>Retrieves the known environment variables list.</td></tr><tr><td><strong>-envvar envvar_name</strong></td><td>Specifies the environment variable name.</td></tr><tr><td><strong>-app_type appli_type</strong></td><td>Specifies the application type.</td></tr><tr><td><strong>-alarm_list</strong></td><td>Displays the help message for all known alarms.</td></tr></tbody></table>

**Example. Usage of the `tina_help` binary.**

In this example, the alarm help message associated with the alarm ID `10001` is displayed. The alarm help message is composed of these three fields:

* **Alarm ID**. Identification number of the alarm.
* **CAUSE**. Cause of the problem.
* **ACTION**. Action to perform to solve the problem.

```bash
tina_help -alarm_id 10001

Alarm ID: TN_ALARM_ID010001
CAUSE:
The creation of a shared memory segment for cache failed.

ACTION:
- Check that the required size and number of shared memory segments are authorized on your host.
- Contact the system administrator if necessary.
```

For more information on alarm management, see the Alarms description of the Tina Administration Documentation.

#### tina\_init

The `tina_init` command allows you to initialize Tina, to create and size the catalog and cache space. It can also be used to restore a backed up catalog and to modify the server information.

Two modes exist for this command:

* The interactive mode is used for creating, modifying, or restoring the catalog and is accompanied by a questionnaire used to set the configuration of the catalog operation to be performed.
* The non-interactive mode does not include the questionnaire. It is used to:
  * restore a catalog, using the `tina_init -file`, `tina_init -boot`, or `tina_init -pipe` options.
  * create or edit a catalog, using the `tina_init -create` or `tina_init -edit` options together with `-property_file`. The catalog is created or edited based on an XML file containing all the required properties.

> **Note:** Only the `root` user can execute this command on Linux systems.\
> Only a user with at least the `backup_operator` rights can execute this command on Windows systems.

> **Important:** The `tina_init` process generated by the `tina_init` command must not be killed under any circumstances because it implies a mapping of the Tina catalog.

**Syntax**

```bash
tina_init [-disable] [-config][[-folder folder1 [folder2]...][-skip_folder folder1 [folder2]...]][-maintain_folder folder] [-close_cart] [-size size_MB] [-nb_instance number] [-boot boot_file] [-file file] [-index index1 [index2]...] [-memory_cache_only cache_size (MB)] [-pipe pipe] [-path path] [-force_reinit] [-no_reinit] [-catalog_name catalog_name] [-boot_restore_index] [-file_size file_size] [-max_catalog_size max_catalog_size] [-help] [-create][-edit] [-property_file parameter_file]
```

**Interactive Mode**

<table><thead><tr><th width="303.3333740234375">Command</th><th>Description</th></tr></thead><tbody><tr><td><code>tina_init</code> without any parameter</td><td>Interactive mode, a questionnaire appears to define the catalog configuration to create restore or modify.</td></tr></tbody></table>

**Non-Interactive Mode to Restore a Catalog**

<table><thead><tr><th width="271">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-disable]</strong></td><td>Specifies that the catalog’s platforms must be disabled on the first connection after the <code>tina_init</code> is executed.</td></tr><tr><td><strong>[-config]</strong></td><td>Specifies the restore of the catalog configuration only.</td></tr><tr><td><strong>[-close_cart]</strong></td><td>Allows to close all cartridges in the catalog when restoring it to avoid overwriting data backed up between the last catalog backup and the catalog restore.</td></tr><tr><td><strong>[-size size_MB]</strong></td><td>Specifies the catalog size in MB.</td></tr><tr><td><strong>[-nb_instance number]</strong></td><td>Specifies the maximum number of instances to be restored for each object. The default is all versions.</td></tr><tr><td><strong>[-boot boot_file]</strong></td><td>Restores the catalog from a boot file created with the Catalog application. See Tina Administration Documentation for details.</td></tr></tbody></table>

<table><thead><tr><th width="240.33331298828125">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-file file]</strong></td><td>Specifies the file from which the catalog will be restored.</td></tr><tr><td><strong>[-index index]</strong></td><td>Specifies the path of the Advanced Indexing Database, the PostgreSQL database engine of Tina for Exchange Server 2013 that allows for the search through message attributes (such as subject, sender, recipient, received date, etc.).If this option is not specified, the Advanced Indexing Databases are not restored.</td></tr><tr><td><strong>[-memory_cache_only cache_size (MB)]</strong></td><td>This option can be used only if the <code>-file</code> option is used. It allows to restore a catalog without the disk cache originally defined for the catalog, and in addition, it allows to specify the amount in MB of the memory cache to be assigned to the restored catalog. The actual memory cache size will be the closer multiple of 32 MB to the value you provide. If you enter 0, the cache will be 32 MB.</td></tr><tr><td><strong>[-pipe pipe]</strong></td><td>Specifies the pipe from which the catalog will be restored.</td></tr><tr><td><strong>[-maintain_folder folder]</strong></td><td>Specifies the list of folders to restore empty and in maintenance state, other folders are restored as usual. This is useful if you want to temporarily skip a damaged folder. The corresponding administrative objects (media, platforms) are frozen and platforms are disabled until the repaired folder is imported from another catalog backup. If the folder cannot be repaired quickly, a correct previous catalog backup can be used for the import instead of waiting for a repaired catalog backup provided by the Atempo Technical Support.Be careful: advanced option for temporary partial restore.This option allows to set the folders of the list to maintenance state, and not restore metadata associated to these folders. For these folders, the automatic recycling of media is frozen, and backed up data are temporarily skipped since they need to be repaired.Setting a folder in maintenance state prevents from:running jobs related to that folder,allocate cartridges related to that folder for writing,automatically recycle cartridges related to that folder,automatic recycling of HyperVision Deduplication Storage instances related to that folder,viewing the content of jobs and cartridges, when related to that folder,creating a backup selection on that folder,enabling the corresponding platform.To import a folder from another catalog, see <a href="#tina_folder_control"><code>tina_folder_control</code></a>.This option cannot be used with the <code>-skip_folder</code> and <code>-folder</code> options.</td></tr></tbody></table>

<table><thead><tr><th width="291">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-folder folder]</strong></td><td><strong>Advanced option only for definitive partial catalog restore.</strong> Allows to restore a catalog that will contain only the backup folders specified in the option. Use this option only in non-interactive mode with either <code>-file</code> or <code>-pipe</code>.This option is useful if you need to rapidly recreate your catalog to restore specific folders. You should perform a complete catalog restore as soon as possible thereafter.In the case of a backup folder, you must specify if the folder belongs to a host <code>[-folder host.&#x3C;host_name>]</code> or to an application <code>[-folder appl.&#x3C;application_name>]</code>.This option cannot be used with the <code>-skip_folder</code> and <code>-maintain_folder</code> options.</td></tr><tr><td><strong>[-skip_folder folder]</strong></td><td><strong>Advanced option only for definitive partial catalog restore.</strong> Specifies a list of folders NOT to restore.This option cannot be used with the <code>-folder</code> and <code>-maintain_folder</code> options.</td></tr><tr><td><strong>[-path path]</strong></td><td><strong>Advanced option only for partial catalog restore.</strong> Allows to restore a catalog that will contain only the directory specified in the option. Use this option only in non-interactive mode with either <code>-file</code> or <code>-pipe</code>.This option is useful if you need to rapidly recreate your catalog to restore a specific directory. You should perform a complete catalog restore as soon as possible thereafter.</td></tr><tr><td><strong>[-force_reinit]</strong></td><td>Non barcode libraries only. Specifies to perform a read-label reinitialization as part of the catalog restore process.</td></tr><tr><td><strong>[-no_reinit]</strong></td><td>Indicates that no libraries reinitialization is performed when restoring the catalog.</td></tr><tr><td><strong>[-catalog_name catalog_name]</strong></td><td>Specifies the catalog name. The parameter is mandatory if <code>-file</code> or <code>-pipe</code> are used.</td></tr><tr><td><strong>[-boot_restore_index]</strong></td><td>Used with the <code>-boot</code> option to indicate that you want to restore the indexes contained in the catalog.</td></tr><tr><td><strong>[-file_size file_size]</strong></td><td>Specifies the odb file size in MB. The default size is 1024 MB, the maximum size is 4096 MB.</td></tr></tbody></table>

<table><thead><tr><th width="296.3333740234375">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-max_catalog_size max_catalog_size]</strong></td><td>Specifies the maximum catalog size, up to 1024 GB. The maximum size depends upon the <code>-file_size</code> parameter, as there cannot be more than 256 odb files, to reach the maximum catalog size of 1024 GB you must set the <code>-file_size</code> to 4096 MB. The maximum size cannot exceed the available space on disk.The value you enter is by default in MB. If you want to use GB, you must add a G after the value, for instance:<code>-max_catalog_size 256G</code></td></tr></tbody></table>

**Non Interactive Mode to Create or Modify a Catalog**

<table><thead><tr><th width="260.3333740234375">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>-create</strong></td><td>Indicates that you want to create a catalog. The catalog configuration to be created must be specified with the option <code>-property_file</code>.</td></tr><tr><td><strong>-edit</strong></td><td>Indicates that you want to modify a catalog. The catalog configuration to be modified must be specified with the option <code>-property_file</code>.</td></tr><tr><td><strong>[-property_file parameter_file]</strong></td><td>This option is used with <code>-create</code> and <code>-edit</code>to specify the path of an xml file containing the configuration of the catalog to create or modify. See <strong>Sample XML Configuration File</strong> for details. If you do not specify a user and password for the catalog administrator, the default will be admin with no password.</td></tr></tbody></table>

**Example. `tina_init` in interactive mode**

For examples of catalog initialization or backed up catalog restore in command line with `tina_init`, see [<mark style="color:blue;">Catalog Manual Procedures.</mark>](#catalog-manual-procedures)

**Example. `tina_init` in non-interactive mode to create a catalog**

```bash
tina_init -create -property_file "D:\catalog_configuration.xml"
```

**Sample XML Configuration File:**

```xml
<!-- This is a sample XML file to create a catalog from CLI in unattended mode
== Linux
./usr/Atempo/TimeNavigator/tina/.tina.sh
/usr/Atempo/TimeNavigator/tina/Bin/tina_init -create -property_file
/fullpath/catalogs.xml
== Windows
Click Start -> All Programs -> Tina -> Utilities -> Command Line Interface.
tina_init -create -property_file "C:\catalogs.xml"
-->
<?xml version="1.0" encoding="UTF-8"?>
<settings>

<!-- Size units available: "TB", "GB", "MB", "kB" -->
<!-- Time units available: "years", "months", "days", "hours", "minutes", "seconds" -->

<!--
Catalog parameters (name, default user and password)
Overwrite existing catalog (use with caution, can result in data loss)
-->
<catalog name="catalog" user="admin" password="YOURS3cureP@ssw0rd" overwrite="0" avg_
no_of_backup_versions="2">
<size unit="MB">1024</size> <!-- Initial size of the catalog -->
<max_size unit="GB">256</max_size> <!-- Maximum size of the catalog -->
<file_size unit="GB">4</file_size> <!-- Size of each catalog file -->
</catalog>
<cache memory_cache_container_size="4" disk_cache_container_size="4">
<memory unit="MB">64</memory> <!-- Memory cache size -->
<!-- <disk path="g:\cat\disk1">32</disk> --> <!-- Optional: Disk cache (unit is set by
cache_mb_unit tunable) -->
<!-- <disk path="g:\cat\disk2">64</disk> --> <!-- Optional: Second disk cache (unit is
set by cache_mb_unit tunable) -->
</cache>
<server name="Server-HostName"/> <!-- Must match the server hostname -->
<!-- Optional section. Overrides default password policy values. Example values are
the default ones. -->
<password_policy>
<!-- All parameters inside password policy section are mandatory -->
<!-- Values: complexity: 0x1, lockdown: 0x2, lifetime: 0x4, reuse control: 0x8 -->
<!-- Ex: To activate complexity and lockdown: 0x3 -->
<!-- Ex: To activate complexity, lockdown, and reuse control: 0xB -->
<activation>0xF</activation>
<!-- Complexity requirements -->
<min_total_size>12</min_total_size>
<min_uppercase>1</min_uppercase>
<min_lowercase>1</min_lowercase>
<min_digit>1</min_digit>
<min_special>1</min_special>
<!-- User lockout -->
<max_tries>4</max_tries><!-- Maximum retries before account lockout -->
<lock_duration unit="minutes">30</lock_duration> <!-- Duration of account lockout -->
<!-- Password expiration -->
<min_lifetime unit="days">0</min_lifetime> <!-- Minimum duration between two password
changes, between 0 (disabled) and 7 days -->
<max_lifetime unit="days">365</max_lifetime> <!-- Duration before password expiration,
at least 30 days -->
<!-- Password history -->
<nb_reuse_control>1</nb_reuse_control> <!-- Number of last passwords that cannot be
reused, between 1 and 5 -->
</password_policy>
</settings>

```

**Description of Cache Tags**

#### `<cache></cache>`

Optional subsection related to cache. Either memory section or disk cache section is required. Both of them can also be specified. If this subsection is not specified, default memory cache of 32 MB will be used.

* **memory\_cache\_container\_size**: Parameter specifying in MB the size of the memory cache container, if memory cache is specified. Otherwise it is not required. If this parameter is not specified, the default value is taken: it is calculated according to available disk space.
* **disk\_cache\_container\_size**: Parameter specifying in MB the size of the disk cache container, if disk cache is specified. Otherwise it is not required. If this parameter is not specified, the default value is taken: it is calculated according to available disk space.

#### `<memory></memory>`

* **unit**: Parameter specifying the memory cache size in the specified unit.

#### `<disk></disk>`

Parameter specifying the size of the disk cache. The unit for this parameter depends on the value you set if you use the `cache_mb_unit` tunable.

* **cache\_mb\_unit**:
  * If you set the tunable to `no` (default value), you need to enter a value in GB (minimum expected value is 1 GB).
  * If you set the tunable to `yes`, you need to enter a value in MB (minimum expected value is 32 MB).
* **path**: Parameter specifying the absolute path of each disk cache segment.

> **Important:** For catalog creation, this parameter becomes mandatory if disk cache section (`<disk></disk>`) is specified.

**Table of Units for the Size of Disk Cache and Disk Cache Segments**

The table below lists the units to specify when defining the size of disk cache and disk cache segments in the non-interactive mode of the `tina_init` command. Several cases are presented, taking into account several parameters, such as the activation/deactivation of the `cache_mb_unit` tunable, if the disk cache already exists, etc.

| Case # | tina\_init command (creating/modifying a catalog) | cache\_mb\_unit tunable defined? | Disk cache already exists? | If disk cache exists, is its value divisible by 1024? | Unit for disk cache size | Is the specified size of the default disk cache segment divisible by 1024? | Unit for disk cache segment size to specify in the XML file |
| ------ | ------------------------------------------------- | -------------------------------- | -------------------------- | ----------------------------------------------------- | ------------------------ | -------------------------------------------------------------------------- | ----------------------------------------------------------- |
| 1      | Create                                            | Not defined                      | N/A                        | N/A                                                   | GB                       | N/A                                                                        | GB                                                          |
| 2      | Create                                            | Defined to yes                   | N/A                        | N/A                                                   | MB                       | N/A                                                                        | MB                                                          |
| 3      | Create                                            | Defined to no                    | N/A                        | N/A                                                   | GB                       | N/A                                                                        | MB                                                          |
| 4      | Modify                                            | Not defined                      | No                         | N/A                                                   | GB                       | No                                                                         | MB                                                          |
| 5      | Modify                                            | Defined to yes                   | No                         | N/A                                                   | MB                       | No                                                                         | MB                                                          |
| 6      | Modify                                            | Defined to no                    | No                         | N/A                                                   | GB                       | No                                                                         | MB                                                          |
| 7      | Modify                                            | Not defined                      | No                         | N/A                                                   | GB                       | Yes                                                                        | GB                                                          |
| 8      | Modify                                            | Defined to yes                   | No                         | N/A                                                   | MB                       | Yes                                                                        | MB                                                          |
| 9      | Modify                                            | Defined to no                    | No                         | N/A                                                   | GB                       | Yes                                                                        | GB                                                          |
| 10     | Modify                                            | Not defined                      | Yes                        | No                                                    | MB                       | No                                                                         | MB                                                          |
| 11     | Modify                                            | Defined to yes                   | Yes                        | No                                                    | MB                       | No                                                                         | MB                                                          |
| 12     | Modify                                            | Defined to no                    | Yes                        | No                                                    | MB                       | No                                                                         | MB                                                          |
| 13     | Modify                                            | Not defined                      | Yes                        | No                                                    | MB                       | Yes                                                                        | MB                                                          |

| Case # | tina\_init command (creating/modifying a catalog) | cache\_mb\_unit tunable defined? | Disk cache already exists? | If disk cache exists, is its value divisible by 1024? | Unit for disk cache size | Is the specified size of the default disk cache segment divisible by 1024? | Unit for disk cache segment size to specify in the XML file |
| ------ | ------------------------------------------------- | -------------------------------- | -------------------------- | ----------------------------------------------------- | ------------------------ | -------------------------------------------------------------------------- | ----------------------------------------------------------- |
| 14     | Modify                                            | Defined to yes                   | Yes                        | No                                                    | MB                       | Yes                                                                        | MB                                                          |
| 15     | Modify                                            | Defined to no                    | Yes                        | No                                                    | MB                       | Yes                                                                        | MB                                                          |
| 16     | Modify                                            | Not defined                      | Yes                        | Yes                                                   | GB                       | No                                                                         | MB                                                          |
| 17     | Modify                                            | Defined to yes                   | Yes                        | Yes                                                   | MB                       | No                                                                         | MB                                                          |
| 18     | Modify                                            | Defined to no                    | Yes                        | Yes                                                   | GB                       | No                                                                         | MB                                                          |
| 19     | Modify                                            | Not defined                      | Yes                        | Yes                                                   | GB                       | Yes                                                                        | GB                                                          |
| 20     | Modify                                            | Defined to yes                   | Yes                        | Yes                                                   | MB                       | Yes                                                                        | MB                                                          |
| 21     | Modify                                            | Defined to no                    | Yes                        | Yes                                                   | GB                       | Yes                                                                        | GB                                                          |

#### tina\_job

The `tina_job` binary opens Job Manager. The list gathers backup, archiving, restore and duplication sessions.

> **Note:** Any user can execute this command.

**Syntax**

```bash
tina_job [-catalog catalog] [-language language] [-identity user:passwd] [-job_polling_period period] [-help]
```

| Option                              | Description                                                                                                     |
| ----------------------------------- | --------------------------------------------------------------------------------------------------------------- |
| **\[-catalog catalog]**             | Specifies the working catalog. The parameter is mandatory if there are several catalogs.                        |
| **\[-identity user:passwd]**        | See [`Specific Parameters.htm`](#specific-parameters).                                                          |
| **\[-job\_polling\_period period]** | Specifies the period, in seconds, of the displayed information update. Its value can vary from 3 to 60 seconds. |

**Example. `tina_job` use**

In this example, Job Manager is running for the catalog `Demo`.

```bash
tina_job -catalog Demo
```

For more information on job management, see the [Jobs ](https://documentation.atempo.com/tina-4.9.5/tina-4.9.5-en/administration-guide/monitoring/backup-jobs.md)section of the Tina Administration Documentation.

#### tina\_job\_control

The `tina_job_control` command allows you to perform operations on jobs:

* Cancelling jobs.
* Pausing jobs.
* Restarting jobs.
* Changing job priority.
* Duplicating jobs.

> **Note:** This command applies to a single catalog.

**Rights**

Users with these rights in Tina can launch this command:

* General Supervision Tasks (Use Web Administration, Supervision Console...) (**READ only**)

**Or**

* Job Operator (cancel, restart, etc.)

For more information on users and access rights, see the Tina Administration Documentation.

**Syntax**

```bash
tina_job_control -jobid job_id -cancel|-pause|-restart|-duplicate|-change_priority top|up|down|bottom [-no_wait] [-pool pool_name] [-close_cart] [-empty_cart] [-continue_on_error] [-view] [-catalog catalog] [-identity user:passwd] [-help]
```

<table><thead><tr><th width="257.33331298828125">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>-jobid job_id</strong></td><td>Specifies the job corresponding to the <code>job_id</code> value.</td></tr><tr><td><strong>-cancel</strong></td><td>Cancels the specified job.</td></tr><tr><td><strong>-pause</strong></td><td>Pauses the specified job.</td></tr></tbody></table>

<table><thead><tr><th width="256.33331298828125">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>-restart</strong></td><td>Restarts the specified job that was previously cancelled or paused.</td></tr><tr><td><strong>-duplicate</strong></td><td>Duplicates the specified job.</td></tr><tr><td><strong>-change_priority top|up|down|bottom</strong></td><td>Allows to modify job priority. The job priority can be either moved Up by one, moved Down by one, or moved all the way to the Top or the Bottom of the list.</td></tr><tr><td><strong>[-no_wait]</strong></td><td>Specifies to end the command without waiting for the operation to be completed. Only available with the <code>-duplicate</code> parameter.</td></tr><tr><td><strong>[-pool pool_name]</strong></td><td>Specifies the name of the cartridge pool that will be used for the job duplication. If not used, the original cartridge pool of the duplicated job will be used. Only available with the <code>-duplicate</code> parameter.</td></tr><tr><td><strong>[-close_cart]</strong></td><td>Allows to close the duplicated cartridges. Only available with the <code>-duplicate</code> parameter.</td></tr><tr><td><strong>[-empty_cart]</strong></td><td>Specifies that only empty cartridges will be used for job duplication. Only available with the <code>-duplicate</code> parameter.</td></tr><tr><td><strong>[-continue_on_error]</strong></td><td>Specifies that job duplication will not stop due to data errors. Only available with the <code>-duplicate</code> parameter.</td></tr><tr><td><strong>[-view]</strong></td><td>Allows to view the job details.Displays the father job id, or the list of child job ids separated by a comma (if any).</td></tr><tr><td><strong>[-catalog catalog]</strong></td><td>Specifies the working catalog. The parameter is mandatory if there are several catalogs.</td></tr><tr><td><strong>[-identity user:passwd]</strong></td><td>See <a href="#specific-parameters"><code>Specific Parameters.htm</code>.</a></td></tr></tbody></table>

**Example. `tina_job_control` use**

The job 4056 is cancelled:

```bash
tina_job_control -catalog atempo -jobid 4056 -cancel
```

The job 4056 is paused:

```bash
tina_job_control -catalog atempo -jobid 4056 -pause
```

The job 4056 is restarted:

```bash
tina_job_control -catalog atempo -jobid 4056 -restart
```

The priority of the job 4056 is moved to the Top of the list:

```bash
tina_job_control -catalog atempo -jobid 4056 -change_priority top
```

The priority of the job 4056 is moved Up by one:

```bash
tina_job_control -catalog atempo -jobid 4056 -change_priority up
```

The priority of the job 4056 is moved Down by one:

```bash
tina_job_control -catalog atempo -jobid 4056 -change_priority down
```

The priority of the job 4056 is moved to the Bottom of the list:

```bash
tina_job_control -catalog atempo -jobid 4056 -change_priority bottom
```

The job 4056 is duplicated on empty cartridges without stopping on eventual data errors and the duplicated cartridges will be closed:

```bash
tina_job_control -catalog atempo -jobid 4056 -duplicate -pool pool1 -continue_on_error -empty_cart -close_cart
```

For more information on job management, see the Jobs section of the Tina Administration Documentation.

#### tina\_library

The `tina_library` binary opens Library Manager.

> **Note:** Any user can execute this command.

**Syntax**

```bash
tina_library [-catalog catalog] [-library library] [-language language] [-identity user:passwd] [-help]
```

| Option                       | Description                                               |
| ---------------------------- | --------------------------------------------------------- |
| **\[-catalog catalog]**      | Specifies the working catalog.                            |
| **\[-identity user:passwd]** | See `Specific Parameters.htm`.                            |
| **\[-library library]**      | Specifies the library to be displayed in Library Manager. |

**Example. `tina_library` use**

In this example, Library Manager is running in English for the `Documentation` catalog and the `DocLib` library.

```bash
tina_library -catalog Documentation -library DocLib
```

For more information on the Library Management application, see the "Managing Libraries" section of the Tina Administration Documentation.

#### tina\_library\_control

The `tina_library_control` command allows you to initiate reinitialization operations on a library, for example when the library is inconsistent, and to bring cartridges on and off line. Displaying lists of cartridges filtered according to certain criteria in order to detect which cartridges could be put offline.

> **Note:** Any user can execute this command.

**Syntax**

```bash
tina_library_control -library library -reinit_status|-reinit_read_label|-reinit_barcode|-reinit_full_inventory|-offline|-online|-list|-content [-retry_mbox_full] [-label cartridge_label]]|[-barcode bar_code]|[-pool pool_label] [-output_format text|csv] [-short]|[-long] [-do_not_check_data_integrity] [-offline_ready] [-csv_separator csv_separator] [-no_wait] [-retention valueUNIT] [-status_filter status_filter1 [status_filter2]...] [-known_cart] [-catalog catalog] [-help]
```

<table><thead><tr><th width="232.33331298828125">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>-library library</strong></td><td>Specifies the library name.</td></tr><tr><td><strong>-reinit_status</strong></td><td>Specifies that the mention "Reinit" in <code>tina_adm</code> main window is removed.</td></tr><tr><td><strong>-reinit_read_label</strong></td><td>Performs a reinitialization with label reading after a library inconsistency.</td></tr><tr><td><strong>-reinit_barcode</strong></td><td>Performs a reinitialization with bar code reading after a library inconsistency. The library must support barcodes.</td></tr><tr><td><strong>-reinit_full_inventory</strong></td><td>Performs a library full inventory after a library inconsistency.</td></tr><tr><td><strong>-offline</strong></td><td>Indicates that you want to put one or several cartridges offline. You must provide either a cartridge label to unload a single cartridge, with the <code>-label</code> option, or a pool to unload all the cartridges in a pool, with the <code>-pool</code> option.</td></tr><tr><td><strong>-online</strong></td><td>Brings the cartridges located in the in mailbox(es) or the in/out mailbox(es) online. This option is not available for library without mailbox.</td></tr></tbody></table>

<table><thead><tr><th width="236.3333740234375">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>-list</strong></td><td>Displays the list of the cartridges known to the catalog inside the library with this information: name, barcode, volume, status, location and retention period (in seconds). By default, the cartridges are sorted by <code>recycling_date</code>, the cartridges that will be recycled sooner coming first. If you add the <code>-short</code> option, only the name and barcode information is displayed.</td></tr><tr><td></td><td>Perform a library reinitialization prior to using this option to make sure that the results will be correct.</td></tr><tr><td><strong>-content</strong></td><td>Allows to list all the slot found in the library, their type, their status and their contents.</td></tr><tr><td><strong>[-retry_mbox_full]</strong></td><td>Allows to retry bringing a cartridge off line if the library mailbox is full when the request is issued. Retries continue until the mailbox becomes free.</td></tr><tr><td><strong>[-label cartridge_label]</strong></td><td>Label of the cartridge to be put offline or online, depending on the option specified. Only one label can be specified. This option can only be used if the <code>-offline</code> or <code>-online</code> options are used.</td></tr><tr><td><strong>[-barcode bar_code]</strong></td><td>Barcode of the cartridge to put offline or online, depending on the option specified. Only one barcode can be specified. This option can only be used if the <code>-offline</code> or <code>-online</code> options are used.</td></tr><tr><td><strong>[-known_cart]</strong></td><td>Specifies that among the cartridges located in the mailbox, only the cartridges known to the catalog will be put online. This option can only be used if the <code>-online</code> option is used.</td></tr><tr><td><strong>[-pool pool_label]</strong></td><td>Label of the pool to be put offline. To be used when all cartridges in a pool are to be put offline.</td></tr><tr><td><strong>[-output_format text|csv]</strong></td><td>Specifies the display format of the <code>-list</code> option result. The possible values are <code>text</code> and <code>csv</code>. The default value is <code>text</code>.</td></tr><tr><td><strong>[-short]</strong></td><td>Specifies the short display of the <code>-list</code> option result (name and barcode).</td></tr><tr><td><strong>[-long]</strong></td><td>Specifies the detailed display of the <code>-list</code> option result.</td></tr><tr><td><strong>[-do_not_check_data_integrity]</strong></td><td>Do not check data integrity of each listed cartridge. Can be used only if the <code>-list</code> option is used.</td></tr></tbody></table>

<table><thead><tr><th width="282.66668701171875">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-offline_ready]</strong></td><td>Displays the list of online cartridges that are:</td></tr><tr><td></td><td>• Full, closed, or closed on error</td></tr><tr><td></td><td>• That are not required for data integrity reasons (media containing the only existing copy of a backup)</td></tr><tr><td></td><td>• That are non recyclable (belonging to a pool with infinite retention period, or not yet recyclable), and thus can be put offline.</td></tr><tr><td></td><td>This option must always come with the <code>-list</code> option.</td></tr><tr><td><strong>[-csv_separator csv_separator]</strong></td><td>Specifies the separator used by the <code>csv</code> format.</td></tr><tr><td><strong>[-no_wait]</strong></td><td>This option is obsolete.</td></tr><tr><td><strong>[-retention]</strong></td><td>Displays the list of online cartridges that will be recyclable in more time than specified. This option possible value format is <code>valueUNIT</code>, where <code>value</code> is an integer and <code>UNIT</code> is the time unit corresponding to:</td></tr><tr><td></td><td>• <code>S</code>: seconds</td></tr><tr><td></td><td>• <code>m</code>: minutes</td></tr><tr><td></td><td>• <code>H</code>: hours</td></tr><tr><td></td><td>• <code>D</code>: days</td></tr><tr><td></td><td>• <code>W</code>: weeks</td></tr><tr><td></td><td>• <code>M</code>: months</td></tr><tr><td></td><td>• <code>Y</code>: years</td></tr><tr><td></td><td>This option must always come with the <code>-list</code>, <code>-offline_ready</code> and <code>-status_filter recyclable</code> options.</td></tr><tr><td><strong>[-status_filter]</strong></td><td>Specifies the status of the cartridges displayed by the <code>-list</code> option. Values can be <code>"closed"</code>, <code>"closed_on_error"</code>, <code>"recyclable"</code>, <code>"full"</code> and <code>"partly filled"</code> used in a list. The default value is <code>closed closed_on_error full</code>.</td></tr><tr><td><strong>[-catalog catalog]</strong></td><td>Specifies the working catalog. The parameter is mandatory if there are several catalogs.</td></tr></tbody></table>

**Example: `tina_library_control` use**

In this example, reinitialization with bar code reading is required for the library\
Library connected to the host hercule.

```bash
tina_library_control -library Lib -library_host hercule -reinit_barcode
```

**Example: Detecting cartridges to be put offline**

In this example, `tina_library_control` draws the list of online cartridges that are closed on error, closed, full or partly filled and that will not be recyclable before two weeks.

```bash
tina_library_control -list -offline_ready -status_filter recyclable -retention 2W
```

**Example: `tina_library_control` use for listing the library slots and their content**

```bash
tina_library_control -content -library robi
```

**Sample Output**

```
d0_robi Drive 0 Disabled
d1_robi Drive 1 Enabled
m0 Mailbox 0 Enabled
m1 Mailbox 1 Enabled
Picker 0 Enabled
s0 Slot robi_0 lab100002 0 Enabled
s1 Slot robi_1 ????? 1 Enabled
s2 Slot robi_2 spare00003 2 Enabled
s3 Slot robi_3 ????? 3 Enabled
s4 Slot robi_4 ????? 4 Enabled
s5 Slot robi_5 ????? 5 Enabled
s6 Slot robi_6 ????? 6 Disabled
s7 Slot robi_7 ????? 7 Disabled
s8 Slot robi_8 ????? 8 Enabled
```

#### tina\_listcart

The `tina_listcart` command allows you to display the list of all objects (directories and/or files) located on a given cartridge.

> **Note:** Only the `root` user can execute this command on Unix systems.\
> Only a user with at least the `backup operator` rights can execute this command on Windows systems.

> **Note:** This command must be run on the server.

**Syntax**

```bash
tina_listcart -label label \
[-output_format text|csv] \
[-csv_separator csv_separator] \
[-listjob] \
[-v_type] \
[-v_path] \
[-v_backup_date] \
[-v_modification_date] \
[-v_info_cart] \
[-v_folder] \
[-v_default] \
[-data_integrity_check] \
[-catalog catalog] \
[-identity user:password] \
[-help]
```

**Parameters**

<table><thead><tr><th width="273.00006103515625">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>-label label</strong></td><td>Specifies the label of the cartridge on which the list of files to display is located.</td></tr><tr><td><strong>[-output_format text|csv]</strong></td><td>Specifies the output format of the command result. The possible values are <code>text</code> or <code>csv</code>, the default value is <code>text</code>.</td></tr><tr><td><strong>[-csv_separator csv_separator]</strong></td><td>This option is useful if the <code>-output_format</code> option has been set to <code>csv</code>. It allows to set the character or character string to be used as a separator. The default value is the semicolon <code>";"</code>.</td></tr><tr><td><strong>[-listjob]</strong></td><td>Displays the list of jobs located on a cartridge.</td></tr></tbody></table>

| Option                         | Description                                                                                                                                                             |
| ------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **\[-v\_type]**                | Displays a column containing the type of the objects                                                                                                                    |
| **\[-v\_path]**                | Displays a column containing the name of the objects                                                                                                                    |
| **\[-v\_backup\_date]**        | Displays a column containing the backup dates of the objects                                                                                                            |
| **\[-v\_modification\_date]**  | Displays a column containing the last modification date of the objects                                                                                                  |
| **\[-v\_info\_cart]**          | Displays a column containing cartridge information for the objects                                                                                                      |
| **\[-v\_folder]**              | Displays a column containing the folder name of the objects                                                                                                             |
| **\[-v\_default]**             | Displays these columns: `-v_info_cart`, `-v_backup_date`, `-v_folder`, `-v_modification_date`, `-v_path`                                                                |
| **\[-data\_integrity\_check]** | If a cartridge cannot be recycled due to a data integrity issue, this option displays information about the relevant job: platform name, strategy name and backup date. |
| **\[-catalog catalog]**        | Specifies the working catalog. The parameter is mandatory if there are several catalogs.                                                                                |

**Example: `tina_listcart` use**

In this example, the list of the directories and files backed up on the cartridge `TAK00001` of the `cat_40_tak` catalog is displayed.

```bash
./tina_listcart -label TAK00001 -catalog cat_40_tak
```

**Sample Output**

```
File Backup Backup Last Modification Backed up
Information Date Folder Date File
---------------------------------------------------------------

(1,304,1171660) Thu May 12 10:00:05 2005 host.elliot Tue Nov 09 12:36:26 2004 d:\reno_files\ nath_nus_bis\chant de la liberation.mp3

(1,1173444,575) Thu May 12 10:00:05 2005 host.elliot Tue Nov 16 14:45:17 2004 d:\reno_files\ nath_nus_bis\lenfantetlafleur.zip

(1,1174371,169154) Thu May 12 10:00:05 2005 host.elliot Tue Nov 09 12:30:22 2004 d:\reno_files\ nath_nus_bis\st_meard.mp3

(1,1344013,0) Thu May 12 10:00:05 2005 host.elliot Wed May 04 09:20:09 2005 d:\reno_files\ nath_nus_ter

(1,1344317,3891404) Thu May 12 10:00:05 2005 host.elliot Tue Nov 09 12:36:26 2004 d:\reno_files\ nath_nus_ter\chant de la liberation.mp3

(1,5239857,575) Thu May 12 10:00:05 2005 host.elliot Tue Nov 16 14:45:17 2004 d:\reno_files\nath_nus_ter\ lenfantetlafleur.zip
```

**Example: `tina_listcart` use with object type information**

In this example, the list of the directories and files backed up on the cartridge `TAK00001` of the `cat_40_tak` catalog is displayed, including the object type information.

```bash
./tina_listcart -label TAK00001 -catalog cat_40_tak -v_type
```

**Sample Output**

```
File Backup Backup Last Modification Type Backed up
Information Date Folder Date File
--------------------------------------------------------------------------

(1,304,1171660) Thu May 12 10:00:05 2005 host.elliot Tue Nov 09 12:36:26 2004 file d:\reno_files\ nath_nus_bis\chant de la liberation.mp3

(1,1173444,575) Thu May 12 10:00:05 2005 host.elliot Tue Nov 16 14:45:17 2004 file d:\reno_files\ nath_nus_bis\lenfantetlafleur.zip

(1,1174371,169154) Thu May 12 10:00:05 2005 host.elliot Tue Nov 09 12:30:22 2004 file d:\reno_files\ nath_nus_bis\st_medard.mp3

(1,1344013,0) Thu May 12 10:00:05 2005 host.elliot Wed May 04 09:20:09 2005 dir d:\reno_files\ nath_nus_ter

(1,1344317,3891404) Thu May 12 10:00:05 2005 host.elliot Tue Nov 09 12:36:26 2004 file d:\reno_files\ nath_nus_ter\chant de la liberation.mp3

(1,5239857,575) Thu May 12 10:00:05 2005 host.elliot Tue Nov 16 14:45:17 2004 file d:\reno_files\ nath_nus_ter\lenfantetlafleur.zip

(1,5240784,169154) Thu May 12 10:00:05 2005 host.elliot Tue Nov 09 12:30:22 2004 file d:\reno_files\ nath_nus_ter\st_medard.mp3

(2,228,0) Thu May 12 16:11:40 2005 host.elliot Thu Jan 01 01:00:00 1970 dir d:\

(2,468,0) Thu May 12 16:11:40 2005 host.elliot Wed May 11 14:06:40 2005 dir d:\reno_files

(2,728,0) Thu May 12 16:11:40 2005 host.elliot Tue Nov 16 14:46:02 2004 dir d:\reno_files\nath_nus

(2,1028,3891404) Thu May 12 16:11:40 2005 host.elliot Tue Nov 09 12:36:26 2004 file d:\reno_files\nath_nus\chant de la liberation.mp3
```

#### Sample Output

```
(2,3896564,659) Thu May 12 16:11:40 2005 host.elliot Tue Nov 16 14:45:17 2004 file d:\reno_files\ nath_nus\lenfantetlafleur.zip
(2,3897571,169154) Thu May 12 16:11:40 2005 host.elliot Tue Nov 09 12:30:22 2004 file d:\reno_files\ nath_nus\t_medard.mp3
(2,4067213,0) Thu May 12 16:11:40 2005 host.elliot Wed May 04 09:19:36 2005 dir d:\reno_files\ nath_nus_bis
```

The file information provides these three items of information (**A, B, C**):

* **A** is the number of the tape file where the file is written,
* **B** is the file offset on the tape,
* and **C** is the file size (this size is 0 when the file is a directory).

#### tina\_listjob

The `tina_listjob` command allows you to display the list of all objects (directories and/or files) processed by a specific job.

The information displayed for each object depends on the column options you choose. By default, if no column option is selected, at least this information appears:

* Name of the media where the object is located
* Type of the object
* Backup dates of the object
* Object size
* Object path

**Rights**

This command must be run on the Tina server as `root` on Unix systems or as `administrator` on Windows systems.

**Syntax**

```bash
tina_listjob -jobid jobid [-force] [-max_obj max_obj] [-all]
             [-output_format format]
             [-csv_separator separator]
             [-v_size]
             [-volume_unit unit]
             [-v_path]
             [-v_type]
             [-v_backup_date]
             [-v_last_access_date]
             [-v_modification_date]
             [-v_info_cart]
             [-v_barcode]
             [-v_host]
             [-v_strat]
             [-v_sess]
             [-v_default]
             [-catalog catalog]
             [-help]
```

**-jobid**

Specifies the ID of the job for which you want to list objects.

**\[-force]**

Specifies that the list must be displayed even if jobs are running, which could divert some needed resources from the jobs.

If this option is not selected, Tina does not generate the job list if there are jobs in progress.

**\[-max\_obj max\_obj]**

Specifies the maximum number of objects to be retrieved by a request.

<table><thead><tr><th width="231.66668701171875">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-all]</strong></td><td>Specifies to display all object versions processed by all sessions of the specified job. This option is only useful for multiple writing sessions. It allows to see each version of the object whereas you only see a single version per object if you do not use it.</td></tr><tr><td><strong>[-output_format Format]</strong></td><td>Specifies the format used to display the data. Possible values are <code>text</code> or <code>csv</code>. The default value is <code>text</code>.</td></tr><tr><td><strong>[-csv_separator separator]</strong></td><td>Specifies the character used as a separator when you choose <code>csv</code> as the output format. The default value is <code>;</code>.</td></tr><tr><td><strong>[-v_size]</strong></td><td>Displays a column containing the size of the objects.</td></tr><tr><td><strong>[-volume_unit unit]</strong></td><td>Allows to specify the size unit of the object processed by the job. By default the size is in bytes. Possible values are: <code>byte</code>, <code>kilo</code>, <code>mega</code>, <code>giga</code>, <code>tera</code> and <code>best</code>; if you choose <code>best</code>, Tina uses the unit that fits the size best.</td></tr><tr><td><strong>[-v_path]</strong></td><td>Displays a column containing the path of the objects.</td></tr><tr><td><strong>[-v_type]</strong></td><td>Displays a column containing the type of the objects.</td></tr><tr><td><strong>[-v_backup_date]</strong></td><td>Displays a column containing the backup dates of the objects.</td></tr><tr><td><strong>[-v_last_access_date]</strong></td><td>Displays a column containing the date the file was last accessed.</td></tr><tr><td><strong>[-v_modification_date]</strong></td><td>Displays a column containing the date the file was last modified.</td></tr><tr><td><strong>[-v_info_cart]</strong></td><td>Displays a column containing the media information of the objects.</td></tr><tr><td><strong>[-v_barcode]</strong></td><td>Displays a column containing the barcode of the media where the objects backup is located.</td></tr><tr><td><strong>[-v_host]</strong></td><td>Displays a column containing the name of the host where the objects is located.</td></tr><tr><td><strong>[-v_strat]</strong></td><td>Displays a column containing the letter of the strategy of the objects.</td></tr><tr><td><strong>[-v_sess]</strong></td><td>Displays a column containing a session id for each object. This allows you to discriminate between versions of the same object backed up in two sessions in the same job. This option is useful if <code>tina_listjob</code> is launched with the <code>-all</code> option, permitting display of all the job sessions.</td></tr></tbody></table>

<table><thead><tr><th width="224.6666259765625">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-v_default]</strong></td><td>Displays the default columns in the default order; <code>-v_info_cart</code>, <code>-v_type</code>, <code>-v_backup_date</code>, <code>-v_size</code>, <code>-v_path</code>. This option is useful if you want to display the default columns plus one or more columns, you do not have to enter the 5 default columns options one by one.</td></tr><tr><td><strong>[-catalog catalog]</strong></td><td>Specifies the working catalog. This option is mandatory if several catalogs are present on the Tina server.</td></tr></tbody></table>

**Example. Generating a job content list in text format**

```bash
tina_listjob -catalog test -jobid 177
```

```
lab100006(2,228,0) dir Tue Oct 19 17:49:49 2004
0 d:\
lab100006(2,468,0) dir Tue Oct 19 17:49:49 2004
0 d:\reno_files
lab100006(2,744,20684) file Tue Oct 19 17:49:49 2004
20684 d:\reno_files\api_cnt.doc
lab100006(2,21772,20684) file Tue Oct 19 17:49:49 2004
20684 d:\reno_files\api_cnt.doc_save1
lab100006(2,42796,24268) file Tue Oct 19 17:49:49 2004
24268 d:\reno_files\cartridge.doc
lab100006(2,67412,24268) file Tue Oct 19 17:49:49 2004
24268 d:\reno_files\cartridge.doc_save1
lab100006(2,92020,23756) file Tue Oct 19 17:49:49 2004
23756 d:\reno_files\cartridges.doc
lab100006(2,116124,23756) file Tue Oct 19 17:49:49 2004
23756 d:\reno_files\cartridges.doc_save1
lab100006(2,140216,25804) file Tue Oct 19 17:49:49 2004
25804 d:\reno_files\Copy.doc
lab100006(2,166364,25804) file Tue Oct 19 17:49:49 2004
25804 d:\reno_files\Copy.doc_save1
lab100006(2,192500,70860) file Tue Oct 19 17:49:49 2004
70860 d:\reno_files\CV.doc
lab100006(2,263764,70860) file Tue Oct 19 17:49:49 2004
70860 d:\reno_files\CV.doc_save1
lab100006(2,335024,45260) file Tue Oct 19 17:49:49 2004
45260 d:\reno_files\CV98.doc
lab100006(2,380656,45260) file Tue Oct 19 17:49:49 2004
45260 d:\reno_files\CV98.doc_save1
lab100006(2,426288,45260) file Tue Oct 19 17:49:49 2004
45260 d:\reno_files\CVphoto.doc
lab100006(2,471924,45260) file Tue Oct 19 17:49:49 2004
45260 d:\reno_files\CVphoto.doc_save1
lab100006(2,517560,1135) file Tue Oct 19 17:49:49 2004
1135 d:\reno_files\encoded-file.coded
lab100007(1,276,14028) file Tue Oct 19 17:49:49 2004
14028 d:\reno_files\ModeleSpec.doc
```

```
lab100007(1,14652,14028) file Tue Oct 19 17:49:49 2004
14028 d:\reno_files\ModeleSpec.doc_save1
lab100007(1,29032,184) file Tue Oct 19 17:49:49 2004
184 d:\reno_files\New Document text.txt
lab100007(1,29576,184) file Tue Oct 19 17:49:49 2004
184 d:\reno_files\New Document text.txt_save1
lab100007(1,30096,258) file Tue Oct 19 17:49:49 2004
258 d:\reno_files\~$CV98.doc
lab100007(1,30698,258) file Tue Oct 19 17:49:49 2004
258 d:\reno_files\~$CV98.doc_save1
```

**Example. Generating a job content list in csv format**

```bash
D:\TINA_3~4>tina_listjob -catalog test -jobid 177 -force -output_format csv
```

```
lab100667(4,228,0);dir;2004-10-22 14:33;0;d:\;
lab100667(4,468,0);dir;2004-10-22 14:33;0;d:\reno_files;
lab100667(4,744,20684);file;2004-10-22 14:33;20684;d:\reno_files\api_crt.doc;
lab100667(4,21772,20684);file;2004-10-22 14:33;20684;d:\reno_files\api_crt.doc_save1;
lab100667(4,42800,20684);file;2004-10-22 14:33;20684;d:\reno_files\api_crt.doc_save2;
lab100667(4,63824,24268);file;2004-10-22 14:33;24268;d:\reno_files\cartridge.doc;
lab100667(4,88440,24268);file;2004-10-22 14:33;24268;d:\reno_files\cartridge.doc_save;
lab100667(4,113048,23756);file;2004-10-22 14:33;23756;d:\reno_files\cartridges.doc;
lab100667(4,137152,23756);file;2004-10-22 14:33;23756;d:\reno_files\cartridges.doc_sa
lab100667(4,161244,25804);file;2004-10-22 14:33;25804;d:\reno_files\Copy.doc;
lab100667(4,187392,25804);file;2004-10-22 14:33;25804;d:\reno_files\Copy.doc_save1;
lab100667(4,213540,10956);file;2004-10-22 14:33;10956;d:\reno_files\Copy.doc_save2;
lab100667(4,224840,25804);file;2004-10-22 14:33;25804;d:\reno_files\Copy.doc_save3;
lab100667(4,250976,70860);file;2004-10-22 14:33;70860;d:\reno_files\CV.doc;
lab100667(4,322240,70860);file;2004-10-22 14:33;70860;d:\reno_files\CV.doc_save1;
lab100667(4,393500,45260);file;2004-10-22 14:33;45260;d:\reno_files\CV98.doc;
lab100667(4,439132,45260);file;2004-10-22 14:33;45260;d:\reno_files\CV98.doc_save1;
```

#### tina\_odbcheck

The `tina_odbcheck` command allows you to verify the state of free cells in your catalog.

> **Note:** Only the `root` user can execute this command on Unix systems.\
> Only a user with `administrator’s` rights can execute this command on Windows systems.

**Syntax**

```bash
tina_odbcheck [-reset] [-opcode opcode] [-catalog catalog] [-help]
```

<table><thead><tr><th width="293.33331298828125">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>-reset</strong></td><td>This option should only be used under the supervision of Atempo’s customer service.</td></tr><tr><td><strong>-opcode opcode</strong></td><td>Set this option to <code>1</code>, it specifies to verify the state of free cells in the catalog.</td></tr><tr><td><strong>[-catalog catalog]</strong></td><td>Specifies the catalog in which the verification should be performed. This parameter is mandatory if there are several catalogs.</td></tr></tbody></table>

**Example. `tina_odbcheck` use**

```bash
elektra# ./tina_odbcheck -opcode 1
Check operation 1 in progress ...
Check operation 1 done.
```

If `"Check operation 1 done"` displays, it indicates that nothing unusual was detected during the `tina_odbcheck`.

In addition, this information can be found in the logs:

```
2|7|check_all_free_cell|1|1|3|1117113821|1117113821|4401|tina_odbcheck|elektra|~|root|~|tmy|elektra|Checking empty segments...|0|~|
2|7|check_all_free_cell|7|1|3|1117113821|1117113821|4401|tina_odbcheck|elektra|~|root|~|tmy|elektra|Checking used segments...|0|~|
2|7|check_all_free_cell|3|1|3|1117113821|1117113821|4401|tina_odbcheck|elektra|~|root|~|tmy|elektra|Checking full segments...|0|~|
```

#### tina\_odbfree

The `tina_odbfree` command allows you to delete backup versions from the catalog based either on the folder they belong to, according to a number of versions; or on the media they are located on, according to a retention time.

It also enables you to delete instances of a deduplication strategy in a folder.

> **Note:** Only the `root` user can execute this command on Unix systems.\
> Only a user with at least the `backup operator` rights can execute this command on Windows systems.

**Syntax**

```bash
tina_odbfree [-folder folder1 [folder2]...] [-dedup_strat strat_num]
             [-keep_full n] [-invert] [-label label]
             [-retention days] [-jobid jobid] [-batch]
             [-catalog catalog] [-help]
```

<table><thead><tr><th width="300.66668701171875">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-folder folder1 [folder2]...]</strong></td><td>Specifies the backup folder in which the versions to delete are located. By default, all folders are purged. In the case of a backup folder, you must specify if the folder belongs to a host <code>[-folder host.&#x3C;host_name>]</code> or to an application <code>[-folder appl.&#x3C;application_name>]</code>.</td></tr><tr><td><strong>[-dedup_strat strat_num]</strong></td><td>Enables you to delete the instances of a given deduplication strategy in a folder. This option can only be used with the <code>-folder</code> option. This option cannot be used with the <code>-keep_full</code> option.</td></tr><tr><td><strong>[-keep_full n]</strong></td><td>Specifies the number of full backup to keep in the catalog. This option can only be used with the <code>-folder</code> option. This option handles the parallel backups as a single job. This option cannot be used with the <code>-dedup-strat</code> option.</td></tr><tr><td><strong>[-invert]</strong></td><td>It must be used with <code>[-keep_full n]</code> to specify the number of full backups to delete from catalog.</td></tr><tr><td><strong>[-label label]</strong></td><td>Specifies the label of the media on which the versions to delete are located.</td></tr><tr><td><strong>[-retention days]</strong></td><td>Specifies the age, in days, beyond which the backup versions will be deleted from the media. This option can only be used with the <code>-label</code> option.</td></tr><tr><td><strong>[-jobid jobid]</strong></td><td>Specifies the ID of the job to delete.</td></tr><tr><td><strong>[-batch]</strong></td><td>Lets you postpone the catalog purge until the next scheduled maintenance job (by default every day at 12:00pm).</td></tr><tr><td><strong>[-catalog catalog]</strong></td><td>Specifies the catalog in which the versions to delete are located. This parameter is mandatory if there are several catalogs.</td></tr></tbody></table>

**Using `tina_odbfree`**

This example deletes all the backup versions older than seven days on the cartridge `Bck00007`.

```bash
tina_odbfree -label Bck00007 -retention 7
```

#### tina\_odbgc

The `tina_odbgc` command allows you to delete the contents of the garbage collector created by the recycling of media and to synchronize the catalog jobs with the corresponding HyperStream Servers.

> **Note:** Only the `root` (Unix) or `administrator` (Windows) user can execute this command.

**Syntax**

```bash
tina_odbgc [-purge] [-hss_sync] [-sync] [-catalog catalog] [-help]
```

<table><thead><tr><th width="245.33331298828125">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-purge]</strong></td><td>Empties the garbage collector created by the recycling of media.</td></tr><tr><td><strong>[-hss_sync]</strong></td><td>Synchronizes the jobs of the Tina catalog with the corresponding HyperStream Servers.</td></tr><tr><td><strong>[-sync]</strong></td><td>Waits for the end of the catalog maintenance job and lets you run this job as pre-processing for another job.</td></tr><tr><td><strong>[-catalog catalog]</strong></td><td>Specifies the catalog for which the actions (purge and synchronization) are performed. This parameter is mandatory if there are several catalogs.</td></tr></tbody></table>

#### tina\_odbsave

The `tina_odbsave` command allows you to back up the catalog.

* Used without option, `tina_odbsave` sends the catalog backup file to the `stdout` standard output. The program output may then be redirected to a file or a named pipe.
* Used with the `-dir_dest` option, `tina_odbsave` creates one catalog backup file named `catalog_save`. The compression format is a native format: `cod`. A tool, `tina_cod`, is delivered to compress and uncompress `.cod` files. Use the `[-no_compress]` option to prevent backup files from being compressed.\
  If backup files already exist when the command `tina_odbsave` is running, they are deleted, then recreated.

> **Note:** Only the `root` user can execute this command on Unix systems.\
> Only a user with at least the `backup_operator` rights can execute this command on Windows systems.

> **Note:** The command `tina_odbsave` does not accept internationalized values.

**Syntax**

```bash
tina_odbsave [-no_compress] [-dir_dest destination_directory]
             [-check] [-maintain_folder folder1 [folder2]...]
             [-folder folder1 [folder2]...]
             [-skip_folder folder1 [folder2]...]
             [-config] [-no_job] [-prefix prefix]
             [-file odbsave_file]
             [-pipe odbsave_pipe]
             [-index_dir index_directory]
             [-catalog catalog]
             [-help]
```

<table><thead><tr><th width="229">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-no_compress]</strong></td><td>Specifies not to compress the catalog backup if the <code>-dir_dest</code> option is used. By default, the compression is automatically performed.</td></tr></tbody></table>

<table><thead><tr><th width="233.66668701171875">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-dir_dest destination_directory]</strong></td><td>Specifies the absolute path of the destination directory. This directory must already exist. The syntax corresponds to that used by the operating system of the local machine (ex: <code>/usr/tina/Savetina</code> for Unix and <code>d:\Savetina</code> for Windows).</td></tr><tr><td><strong>[-check]</strong></td><td>This option allows you to test the reliability of the catalog backup you are about to perform. If the command returns an error, you will not be able to restore your catalog if you back it up in its present state. You should use the last correct catalog backup to restore your catalog.</td></tr><tr><td><strong>[-maintain_folder folder_list]</strong></td><td>Specifies the list of folders to be saved empty and in maintenance state. This is useful if you want to temporarily skip a damaged folder, in particular when the damaged folder prevents from backing up the catalog. The corresponding administrative objects (media, platforms) are frozen and platforms are disabled until the repaired folder is imported from another catalog backup. If the folder cannot be repaired quickly, a correct previous catalog backup can be used for the import instead of waiting for a repaired catalog backup provided by the Atempo Technical Support. Be careful: advanced option for partial backup. This option lets you set the folders in the list to maintenance state, and not back up metadata associated to these folders. For these folders, the automatic recycling of media is frozen, and backed up data are temporarily deleted as they need to be repaired. Setting a folder in maintenance state prevents from: running jobs related to that folder,allocate cartridges related to that folder for writing,automatically recycle cartridges related to that folder,automatic recycling of HyperVision Deduplication Storage instances related to that folder,viewing the content of jobs and cartridges, when related to that folder,creating a backup selection on that folder,enabling the corresponding platform. To import a folder from another catalog, see <mark style="color:blue;"><code>tina_folder_control</code>.</mark> This option cannot be used with the <code>-skip_folder</code> and <code>-folder</code> options.</td></tr><tr><td><strong>[-folder folder1 [folder2]...]</strong></td><td>Specifies the list of the backup or archive folders to back up. In the case of a backup folder, you must specify if the folder belongs to a host <code>[-folder host.&#x3C;host_name>]</code> or to an application <code>[-folder appl.&#x3C;application_name>]</code>. This option cannot be used with the <code>-skip_folder</code> and <code>-maintain_folder</code> options.</td></tr></tbody></table>

<table><thead><tr><th width="283.33331298828125">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-skip_folder folder1 [folder2]...]</strong></td><td>Specifies a list of folders NOT to be saved. This option cannot be used with the <code>-maintain_folder</code> and <code>-folder</code> options.</td></tr><tr><td><strong>[-config]</strong></td><td>Specifies that only the catalog’s configuration is backed up.</td></tr><tr><td><strong>[-no_job]</strong></td><td>This option can only be used along with the <code>-config</code> option. It indicates that job information is excluded from the catalog configuration backup.</td></tr><tr><td><strong>[-prefix prefix]</strong></td><td>The <code>-prefix</code> option used with the <code>-dir_dest</code> option, allows you to replace the <code>"catalog_save"</code> part of the catalog backup file name with a name of your choice.</td></tr><tr><td><strong>[-file odbsave_file]</strong></td><td>Specifies the name and path of the catalog backup file.</td></tr><tr><td><strong>[-pipe odbsave_pipe]</strong></td><td>Allows the backup to be directed to a pipe.</td></tr><tr><td><strong>[-index_dir index_directory]</strong></td><td>Specifies the absolute path of the directory where you want to back up indexes. If this option is not specified, indexes are not backed up.</td></tr><tr><td><strong>[-catalog catalog]</strong></td><td>Specifies the name of the catalog to be backed up. This parameter is mandatory if there are several catalogs.</td></tr></tbody></table>

**Example. `tina_odbsave` use**

For an example of a catalog backup using `tina_odbsave`, see *Catalog Manual Procedures*.

#### tina\_operator

The `tina_operator` binary opens Media Request Console.

> **Note:** Any user can execute this command.

**Syntax**

```bash
tina_operator [-catalog catalog] [-language language]
              [-identity user:passwd]
              [-help]
```

| Option                       | Description                                                                              |
| ---------------------------- | ---------------------------------------------------------------------------------------- |
| **\[-catalog catalog]**      | Specifies the working catalog. The parameter is mandatory if there are several catalogs. |
| **\[-identity user:passwd]** | See *Specific Parameters.htm*.                                                           |

**Example. `tina_operator` use**

In this example, Media Request Console is running in French for the catalog `Demo`.

```bash
tina_operator -catalog Demo -language French
```

> **Note:** You can also use the **Monitoring > Media Request Console** menu in Web Administration to access Media Request Console.

For more information on processing operators requests, see the *Media Request Console* topic of the Tina Administration Documentation.

#### tina\_ping

The `tina_ping` command allows you to test whether a Tina service or daemon is started on a machine.

> **Note:** Any user can execute this command.

**Syntax**

```bash
tina_ping -host host
          [-tina_service_tcp_num tcp_port_number]
          [-tina_service_name service_name]
          [-bonjour]
          [-no_icmp_ping]
          [-register_bonjour]
          [-verbose]
          [-help]
```

| Option                                            | Description                                                                                                                                                                    |
| ------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **-host host**                                    | Specifies the system where the test is performed.                                                                                                                              |
| **\[-tina\_service\_tcp\_num tcp\_port\_number]** | Specifies the TCP port number associated to the tested service or daemon.                                                                                                      |
| **\[-tina\_service\_name service\_name]**         | Specifies the name of the service tested on the targeted machine.                                                                                                              |
| **\[-bonjour]**                                   | Lists all the catalogs present on the local network using the `bonjour` protocol.                                                                                              |
| **\[-no\_icmp\_ping]**                            | During the `tina_ping` command, lets you skip the ICMP ping test on hosts that do not allow the ICMP ping function.                                                            |
| **\[-register\_bonjour]**                         | Registers the local machine in the `bonjour` protocol by simulating the presence of a catalog. This option is useful to troubleshoot issues related to the `bonjour` protocol. |
| **\[-verbose]**                                   | Used with any other option, displays more detailed information.                                                                                                                |

#### tina\_report

The `tina_report` command produces reports concerning the data backed up, either globally for all the catalogs involved, or in a more detailed fashion. The reports are invoice-oriented, allowing...

users to be billed depending on the volume processed.

**Rights**

Users with this right in Tina can launch this command:

* General Supervision Tasks (Use Web Administration, Supervision Console, etc.)

For more information on users and access rights, see the Tina Administration Documentation.

**Syntax**

```bash
tina_report [-customer_id customer_id]
            [-start_date YYYYMMDDHHmm]
            [-end_date YYYYMMDDHHmm]
            [-simple_invoice]
            [-detailed_invoice]
            [-v_archives]
            [-volume_unit kilo|mega|giga|tera]
            [-output_format text|xml|csv]
            [-csv_separator csv_separator]
            [-xml_stylesheet_file file]
            [-xml_stylesheet_type stylesheet_type]
            [-file file]
            [decode]
            [-encode]
            [-catalog catalog]
            [-identity identity]
            [-help]
```

<table><thead><tr><th width="299.6666259765625">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-customer_id customer_id]</strong></td><td>Displays the customer ID provided in the report.</td></tr><tr><td><strong>[-start_date YYYYMMDDHHmm]</strong></td><td>Specifies the beginning date for the report. By default, the time period covered by the report is one calendar month prior to the moment the command is launched. For instance, if the report is run on June 10, the default time period is May 1 at 0:00 to May 31 at 23:59.</td></tr><tr><td><strong>[-end_date YYYYMMDDHHmm]</strong></td><td>Specifies the end date for the report. By default, the time period covered by the report is one calendar month prior to the moment the command is launched. For instance, if the report is run on June 10, the default time period is May 1 at 0:00 to May 31 at 23:59.</td></tr><tr><td><strong>[-simple_invoice]</strong></td><td><p>Indicates that the information provided by the report is for all catalogs.</p><ul><li>Maximum number of backed up hosts</li><li>Number of backed up files</li><li>Last protected disk volume (indicates the volume of data that could be restored using the last backup. If the backup was incremental this volume includes data up to the latest full backup performed)</li><li>Backed up volume This option cannot be used with the <code>-detailed_invoice</code> option. <code>-simple_invoice</code> is the default option for the <code>tina_report</code> command.</li></ul></td></tr></tbody></table>

<table><thead><tr><th width="319.66668701171875">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-detailed_invoice]</strong></td><td><p>Indicates that the information provided by the report is sorted by backup selection, for each host, application or archive folder:</p><ul><li>Number of backed up files</li><li>Maximum backed up disk volume This option cannot be used with the <code>-simple_invoice</code> option.</li></ul></td></tr><tr><td><strong>[-v_archives]</strong></td><td>Displays all the archives of each archive folder. It can be used only if the <code>-detailed_invoice</code> option is used.</td></tr><tr><td><strong>[-volume_unit kilo|mega|giga|tera]</strong></td><td>Specifies the volume unit. The default unit is GB.</td></tr><tr><td><strong>[-output_format text|xml|csv]</strong></td><td><p>Specifies the display format:</p><ul><li><code>text</code>: text format, readable with a text editor. This is the default value.</li><li><code>xml</code>: XML format, used with the DTD files provided below.</li><li><code>csv</code>: CSV format. This format can be read with a spreadsheet program such as Microsoft Excel.</li></ul></td></tr><tr><td><strong>[-csv_separator csv_separator]</strong></td><td>Specifies the csv separator used. The default separator is a semicolon.</td></tr><tr><td><strong>[-xml_stylesheet_file file]</strong></td><td>Name of the stylesheet that will be used to display the XML document. See XML reports for details.</td></tr><tr><td><strong>[-xml_stylesheet_type stylesheet_type]</strong></td><td>Type of the stylesheet that will be used to display the XML document. See XML reports for details.</td></tr><tr><td><strong>[-file file]</strong></td><td>Specifies the absolute path of the output file. By default, information is displayed on the standard output.</td></tr><tr><td><strong>[-decode]</strong></td><td>Decrypts an encoded file. It can be used only if the <code>-file</code> option is used.</td></tr><tr><td><strong>[-encode]</strong></td><td>Specifies to create a file containing the report information in an encoded format. This option requires the <code>-file</code> option and creates two files: a file containing the report and a file with a <code>.cod</code> extension, containing the same report in an encoded format.</td></tr><tr><td><strong>[-catalog catalog]</strong></td><td>Specifies the catalogs for which information is displayed. By default all the catalogs present in the <code>Conf/catalogs</code> file are taken into account.</td></tr><tr><td><strong>[-identity user:passwd]</strong></td><td>See <a href="#specific-parameters"><mark style="color:blue;">Specific_Parameters.htm.</mark></a></td></tr></tbody></table>

**XML reports**

You can create XML reports with the `tina_report` commands, using stylesheets. There are two ways to use stylesheets:

1. Generate an HTML page using an XSLT processor like Xalan from the Apache Group. Go to the address:\
   `http://xml.apache.org/xalan-c/index.html`
2. Open the XML file directly in a browser that supports XSL Transformations. You must remove the comments concerning the reference to the stylesheets in the XML reports.

> **Note:** If you use Internet Explorer, you need the `msxml3.dll`.

**Generating an XML report**

Use these options:

* `-output_format xml`
* `-xml_stylesheet_file file`: you can either use your own stylesheet file or use one of the two sample stylesheets located in the `Tools/Tina/xsl` directory of the Tina installation directory:
  * `tina_report_simple.xsl`\
    XSLT stylesheet for the command:

    ```bash
    tina_report -output_format xml -simple_invoice
    ```
  * `tina_report_detailed.xsl`\
    XSLT stylesheet for the command:

    ```bash
    tina_report -output_format xml -detailed_invoice
    ```
* `-xml_stylesheet_type stylesheet_type`: use this option only if your stylesheet is of a format other than `.xsl`, to specify the file extension of the stylesheet.

**Sample XML files**

Along with the sample stylesheet files, you will find this file in the `Tools/Tina/xsl` directory:

* `tina_xsl_conf.xml`\
  Parameter file that contains the language parameter for the stylesheet:

```xml
<language xml:lang="en"/>
```

It specifies the language used to display the data with an ISO639-1 tag. Go to the address:\
`http://lcweb.loc.gov/standards/iso639-2/langhome.html`

* `tina_xsl_messages.xml`\
  XML Dictionary for the stylesheets. Each message is defined as follows:

```xml
<message id="message_id">
    <language xml:lang="en">English translation of the message</language>
    <language xml:lang="fr">French translation of the message</language>
    <language xml:lang="es">Spanish translation of the message</language>
</message>
```

If you need to display your data in another language, you can translate each message and specify this language in the `tina_xsl_conf.xml` file.

Messages must be written using UTF8 encoding. It allows for unicode character display.

**Simple Report DTD file**

```xml
<!DOCTYPE simple_report [
<!ELEMENT simple_report (report_parameters, report)>
<!ELEMENT report_parameters (customer_code, report_date, period_start_date,
period_end_date)>
<!ELEMENT customer_code (#PCDATA)>
<!ELEMENT report_date (#PCDATA)>
<!ATTLIST report_date format CDATA #FIXED "YYYY-MM-DD HH:mm">
<!ELEMENT period_start_date (#PCDATA)>
<!ATTLIST period_start_date format CDATA #FIXED "YYYY-MM-DD HH:mm">
<!ELEMENT period_end_date (#PCDATA)>
<!ATTLIST period_end_date format CDATA #FIXED "YYYY-MM-DD HH:mm">
<!ELEMENT report (catalog_number, scanned_catalog_number, nb_host_max, nb_backedup_files, backuped_volume_max)>
<!ELEMENT catalog_number (#PCDATA)>
<!ELEMENT scanned_catalog_number (#PCDATA)>
<!ELEMENT nb_host_max (#PCDATA)>
<!ELEMENT nb_backedup_files (#PCDATA)>
<!ELEMENT backuped_volume_max (#PCDATA)>
<!ATTLIST backuped_volume_max unit (B | KB | MB | GB | TB) #REQUIRED>
<!ELEMENT backuped_volume_total (#PCDATA)>
<!ATTLIST backuped_volume_total unit (B | KB | MB | GB | TB) #REQUIRED>
]>
```

**Detailed Report DTD file**

```xml
<!DOCTYPE detailed_report [
<!ELEMENT detailed_report (report_parameters, report)>
<!ELEMENT report_parameters (customer_code, report_date, period_start_date,
period_end_date, catalog_number)>
<!ELEMENT customer_code (#PCDATA)>
<!ELEMENT report_date (#PCDATA)>
<!ATTLIST report_date format CDATA #FIXED "YYYY-MM-DD HH:mm">
<!ELEMENT period_start_date (#PCDATA)>
<!ATTLIST period_start_date format CDATA #FIXED "YYYY-MM-DD HH:mm">
<!ELEMENT period_end_date (#PCDATA)>
<!ATTLIST period_end_date format CDATA #FIXED "YYYY-MM-DD HH:mm">
<!ELEMENT catalog_number (#PCDATA)>
<!ELEMENT report (catalog_report+)>
<!ELEMENT catalog_report (platform*, archive_folder*)>
<!ATTLIST catalog_report name CDATA #REQUIRED status (active | unreachable | forbidden) #REQUIRED>
<!ELEMENT platform ((application_type | host_type), class*)>
<!ATTLIST platform name CDATA #REQUIRED type (host | application) #REQUIRED>
<!ELEMENT application_type (#PCDATA)>
<!ELEMENT host_type (#PCDATA)>
<!ELEMENT class (nb_backedup_files, backuped_volume_max)>
<!ATTLIST class path CDATA #REQUIRED>
```

```xml
<!ELEMENT nb_backedup_files (#PCDATA)>
<!ELEMENT backuped_volume_max (#PCDATA)>
<!ATTLIST backuped_volume_max unit (B | KB | MB | GB | TB) #REQUIRED>
<!ELEMENT archive_folder (archive*)>
<!ATTLIST archive_folder name CDATA #REQUIRED>
<!ELEMENT archive (nb_archived_files, archived_volume_max)>
<!ATTLIST archive path CDATA #REQUIRED>
<!ELEMENT nb_archived_files (#PCDATA)>
<!ELEMENT archived_volume_max (#PCDATA)>
<!ATTLIST archived_volume_max unit (B | KB | MB | GB | TB) #REQUIRED>
]>
```

#### tina\_restore

> **Important:** If you want to restore the data of an agent which does not have the same Tina version as the server, run the `tina_restore` command on the agent. You cannot restore from the server.

The `tina_restore` command allows you to restore the contents of a backup or archive folder through the command line.

If a name conflict arises during a restoration, former files are renamed by default, unless specified otherwise with the `[-mode]` option.

> **Note:** Any user can restore data with `tina_restore` depending on its rights and its user profile.

> **Note:** You can restore data in a named pipe with the `tina_restore` command. Specify the named pipe in the `-path_dest` path parameter.

For more information concerning user rights, see the *Users and Access Rights* topic of the Tina Administration Documentation.

**Syntax**

```bash
tina_restore -path_folder path1 [path2]...
             [-file_list file_path]
             [-file_list_dest file_path]
             [-behavior_on_missing_file continue|continue_with_error_code|abort]
             [-ex_path_folder path1 [path2]...]
             [[-ex_file_list file_path]
             [-folder folder]
             [-path_dest path]
             [-folder_dest folder]
             [-drive drive]
             [-strat A|B|C|D]
             [-mode restore_mode]
             [-date yyyymmddhhmm | yyyymmddhhmmss]
             [-depth valueUNIT]
             [-no_rewind]
             [-silent]
             [-offline_mode offline_mode]
             [-all_vers]
             [-user user]
             [-password password]
             [-v_jobid]
             [-error_mode continue|abort|replace_after_reboot]
             [-test_mode test_mode]
             [-do_not_restore_security_attributes]
             [-secure_interactive_password]
             [-secure_session_password_id]
             [-xml_restore_parameters_file]
             [-file_mode interactive_user]
             [-restore_chronological_order]
             [-catalog catalog]
             [-identity user:passwd]
             [-help]
```

<table><thead><tr><th width="286.3333740234375">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>-path_folder path1 [path2]...</strong></td><td>Specifies the absolute paths in the folder of objects (directories and/or files) to be restored (selection list). The syntax corresponds to the syntax of the operating system being used. On macOS platforms, the option <code>-path_folder</code> is case sensitive. To list the contents of a directory, you must provide the exact case of the directory path even if the directory is located in a non-case sensitive file system.</td></tr><tr><td><strong>[-file_list file_path]</strong></td><td>Specifies a file containing the absolute paths (one path per line) of all objects to be restored (selection list). This file accepts that lines remain empty between each absolute path specified. The absolute paths of all objects to be restored must be UTF-8 coded without BOM. You can use Notepad++ and specify Encode/Convert in UTF-8 (without BOM). This parameter is very useful when the number of objects to be restored is high. The Windows syntax is: <code>C:\my_directory\my_file</code> The Unix syntax is: <code>/my_directory/my_file</code></td></tr><tr><td><strong>[-file_list_dest file_path]</strong></td><td>This option can only be used with <code>-file_list</code>. It specifies a file containing the absolute path and name of the object restore destination. The list of objects must correspond to the list specified with <code>-file_list</code>, i.e., one path per line, and the same number of entries in both files.</td></tr><tr><td><strong>[-behavior_on_missing_file continue|continue_with_error_code|abort]</strong></td><td>This sub-option can only be used with <code>-file_list</code> when the sub-option <code>-file_list_dest</code> is used. It specifies the behavior of <code>tina_restore</code> if a file in the file list does not exist at the indicated location. The default behavior is <code>continue</code>, where the process ignores missing files and returns the value <code>0 (OK)</code>. The <code>continue_with_error_code</code> option also skips missing files, but returns the value <code>18 (FileNotFound)</code>. Finally, the <code>abort</code> option ends the process and returns the value <code>40 (Abort)</code>.</td></tr><tr><td><strong>[-ex_path_folder path1 [path2]...]</strong></td><td>Specifies the absolute paths in the folder of objects (directories and/or files) not to be restored (exclusion list). The syntax of the parameters corresponds to the Unix syntax (ex: <code>/archive1/bin</code>).</td></tr><tr><td><strong>[-ex_file_list file_path]</strong></td><td>Specifies a file containing the absolute paths (one path per line) of all objects not to be restored (exclusion list). The parameter is very useful when the number of objects not to be restored is high.</td></tr></tbody></table>

<table><thead><tr><th width="261.6666259765625">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-folder folder]</strong></td><td>Specifies the source backup or archive folder. If this option is not specified, the local machine folder is selected. In the case of a backup folder, you must specify if the folder belongs to a host <code>[-folder host.&#x3C;host_name>]</code> or to an application <code>[-folder appl.&#x3C;application_name>]</code>.</td></tr><tr><td><strong>[-path_dest path]</strong></td><td>Specifies the absolute path of the destination directory (or possibly of the named pipe used to restore objects) on the host. This parameter is mandatory when you restore objects from an archive folder and optional when you restore objects from a backup folder. If the option is not specified in the case of a backup folder, objects are restored in the original directory. The syntax corresponds to that used by the operating system of the local machine (ex: <code>/usr/tina</code> for Unix, <code>c:\users\tina</code> for Windows).</td></tr><tr><td><strong>[-folder_dest folder]</strong></td><td>Specifies the destination backup or archive folder. For a backup folder, if the destination folder is not specified, the default behavior is as follows: If the source folder is an application, the destination folder is the same as the source folder.If the source folder is a host or a Filesystem application, the destination folder is the machine where the <code>tina_restore</code> command was launched. For an archive folder, if the destination is not specified, the local machine folder is selected.</td></tr><tr><td><strong>[-drive drive]</strong></td><td>Specifies the drive of the local machine. This parameter applies to local archive folders only and is mandatory. Do not use it for central archive folders. For Unix, this parameter represents the drive special file: <code>/dev/xxxx</code> For Windows, it represents the cxbytzla drive address.</td></tr><tr><td><strong>[-strat A|B|C|D]</strong></td><td>Specifies the restoration of objects backed up by the specified backup strategy (<code>A</code>, <code>B</code>, <code>C</code> or <code>D</code>). This parameter concerns backup folders and is optional.</td></tr><tr><td><strong>[-mode rename|rename_restored|abort|replace|ignore|ignore_same|ignore_recent]</strong></td><td>Specifies the behavior when a restored file already exists at the destination.</td></tr></tbody></table>

<table><thead><tr><th width="269.00006103515625">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-mode rename|rename_restored|abort|replace|ignore|ignore_same|ignore_recent]</strong></td><td><p>Specifies the objects restoration mode.</p><p>• <code>rename</code>: Renames the files that already exist on disk. A suffix is added at the end of the filename (ex: <code>file.doc</code> is renamed into <code>file.doc_save1</code>).</p><p>• <code>rename_restored</code>: Renames the restored file. A suffix is added to the name of the restored file (ex: <code>file.doc</code> is renamed into <code>file.doc_rest1</code>). The file already present on the disk keeps its original name.</p><p>• <code>abort</code>: Stops the restore if the object exists already.</p><p>• <code>replace</code>: Deletes the object if it exists already. <code>replace</code> is the only available mode to restore from an application backup folder.</p><p>• <code>ignore</code>: Keeps the disk object if it exists already.</p><p>• <code>ignore_same</code>: Keeps the disk object if it exists already and is identical.</p><p>• <code>ignore_recent</code>: Keeps the disk object if it already exists and is more recent.</p></td></tr><tr><td><strong>[-date yyyymmddhhmm]</strong></td><td>Specifies the visualization date in the past (year, month, day, hour and minute). If the option is not specified, the latest version is restored.</td></tr><tr><td><strong>[-depth valueUNIT]</strong></td><td>Specifies a navigation period in the past to select files to restore. UNIT can be <code>S</code> (seconds), <code>m</code> (minutes), <code>H</code> (hours), <code>D</code> (days), <code>W</code> (weeks), <code>M</code> (months) or <code>Y</code> (years). This option is required if you are restoring a missing file, otherwise Tina will not be able to find the file to restore.</td></tr><tr><td><strong>[-no_rewind]</strong></td><td>Specifies that the media used for the restore must not be rewinded at the end of the current restore session.</td></tr><tr><td><strong>[-silent]</strong></td><td>Indicates that the command must be executed silently.</td></tr><tr><td><strong>[-offline_mode offline_mode]</strong></td><td><p>Specifies the operation to perform if the cartridges containing the data to restore is offline:</p><p>• <code>ignore</code>: Ignores the objects which data is not available</p><p>• <code>request</code>: Requests the cartridge from the cartridge operator</p><p>• <code>abort</code>: Stops the restore <code>-offline_mode</code> can only be used with libraries, not with manual drives.</p></td></tr><tr><td><strong>[-all_vers]</strong></td><td>Forces the restore of all the versions of an object according to the date specified.</td></tr></tbody></table>

<table><thead><tr><th width="238.33331298828125">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-user user]</strong></td><td>Specifies the user used to connect to the destination platform. In order to avoid having to type a User/Password at this point, you may set these variables in your environment prior to launching the restore: <code>TINA_USER_REST</code> <code>TINA_PASSWORD_REST</code> Use the command <code>"set"</code> on Windows and <code>"setenv"</code> on Unix to assign a value to these variables. You must choose a user with sufficient permissions to connect to the destination platform and perform the restore.</td></tr><tr><td><strong>[-password password]</strong></td><td>Specifies the password associated to the user.</td></tr><tr><td><strong>[-v_jobid]</strong></td><td>Displays the job ID in CSV format once the restore job is completed.</td></tr><tr><td><strong>[-error_mode continue|abort|replace_after_reboot]</strong></td><td><p>Specifies the behavior to adopt when encountering an error. This option can only be used if the <code>-mode</code> option is set to: <code>rename</code>, <code>ignore_same</code>, or <code>ignore_recent</code>. If this parameter is not specified, the default behavior is <code>"continue"</code>.</p><p>• <code>abort</code>: Stops the restore.</p><p>• <code>continue</code>: Skip the file causing the error and continue restoring.</p><p>• <code>replace_after_reboot</code> (Windows only): This value applies to errors occurring when trying to restore a file already in use. If you select this option, the file is restored but not taken into account until the machine is rebooted</p></td></tr><tr><td><strong>[-test_mode standard|server_only]</strong></td><td><p>Specifies that you want to run a restore test instead of a real restore. The restore test performs all restore operations except for the actual writing of data on disk.</p><p>• <code>standard</code>: Runs a full restore test.</p><p>• <code>server_only</code>: Runs a partial restore test. Backed up data is only sent to the Tina Server and not to the agent. Permissions are not checked. This mode is useless when backing up data without using cache on server.</p></td></tr><tr><td><strong>[-do_not_restore_security_attributes]</strong></td><td>Specifies not to restore security attributes.</td></tr><tr><td><strong>[-secure_interactive_password]</strong></td><td>Enables secure interactive password entry during restore operations.</td></tr></tbody></table>

Enables the interactive mode to ask certificate passwords during the restore of secured data.

This option must not be used if option `[-secure_session_password_id]` is used.

<table><thead><tr><th width="302.33331298828125">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-secure_session_password_id]</strong></td><td>Specifies the names and the passwords of the certificates needed during the restore of secured data. The contents of this option is a coded ID that is created using the <code>tina_scm_control > create password session</code> command. See <code>tina_scm_control</code> for details. This option must not be used if option <code>[-secure_interactive_password]</code> is used.</td></tr><tr><td><strong>[-xml_restore_parameters_file]</strong></td><td>Path to the XML file containing parameters for specific applications.</td></tr><tr><td><strong>[-file_mode_interactive_user]</strong></td><td>Specifies to ask interactively user credentials for file mode restore. It can be used only if option <code>-xml_restore_parameters_file</code> is used.</td></tr><tr><td><strong>[-restore_chronological_order]</strong></td><td>Specifies to restore objects in the same order that they were backed up.</td></tr><tr><td><strong>[-catalog catalog]</strong></td><td>Specifies the working catalog. The parameter is mandatory if there are several catalogs.</td></tr><tr><td><strong>[-identity user:passwd]</strong></td><td>See <code>-identity</code>. If you are performing a cross restore of a Filesystem application on a Windows platform, this option is mandatory.</td></tr></tbody></table>

**Example. `tina_restore` use**

**Example 1:** In this example, data located in the `/bin` directory and backed up with strategy `B` in the backup folder of the `asterix` host is restored in the `/usr` destination directory.

```bash
tina_restore -path_folder /bin -folder host.asterix -strat B -path_dest /usr
```

**Example 2:** In this example, the missing file `myfile` located in `/DIR1/DIR2` that disappeared within the last three days is restored in its original location.

```bash
tina_restore -path_folder /DIR1/DIR2/myfile -depth 3D
```

**Example 3:** In this example, all the archive logs of the Oracle database `DBORA` located in the folder `appl."ora71"` are recovered at their original location.

```bash
tina_restore -path_folder /DBORA/_ARCHIVE_LOGS -folder appl.ora71
```

**Example 5:** This command performs a full restore test. It checks whether the data located in the `/bin` directory and backed up with strategy `B` in the backup folder of the `asterix` host would be successfully restored in the `/usr` destination directory.

```bash
tina_restore -path_folder /bin -folder host.asterix -strat B -path_dest /usr -test_mode standard
```

**Example 6:** These commands perform a restore from an archive folder.

The first command restores the entire archived folder.\
The second command restores a specific file (here it is `event.xls`) in the folder.

Both commands restore from a specific folder which is the archive name, located in a specific path (`path_folder`).

The restored file(s) are sent to a specific destination specified by `path_dest`.

`x:\temp\somefolder` specifies some drive and destination for the restored file(s).

**First command:**

```bash
tina_restore -folder test -path_folder /ar1/ar11/ -path_dest x:\temp\somefolder -event_to_console
```

**Second command:**

```bash
tina_restore -folder test -path_folder /ar1/ar11/event.xls -path_dest x:\temp\somefolder -event_to_console
```

#### tina\_sched

The `tina_sched` binary opens Task Viewer.

**Syntax**

```bash
tina_sched [-catalog catalog]
           [-historic_hours hours]
           [-scheduled_hours hours]
           [-estimation number]
           [-language language]
           [-help]
```

| Option                         | Description                                                                                                                          |
| ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ |
| **\[-catalog catalog]**        | Specifies the working catalog. The parameter is mandatory if there are several catalogs.                                             |
| **\[-historic\_hours hours]**  | Specifies the historical time phase in the backup schedule (past). By default, the time phase is set to 48 hours before the present. |
| **\[-scheduled\_hours hours]** | Specifies the scheduled time phase in the backup schedule (future). By default, the time phase is set to 24 hours after the present. |

| Option                    | Description                                                                                                                                                                                                                                                                                                                                                                                                |
| ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **\[-estimation number]** | Specifies the number of backups used to calculate the average duration of scheduled backups. By default, the duration estimation of scheduled backups is calculated on the latest backup performed. This option is superseded in version 4.1 because once it is set in Task Viewer it is saved and does not need to be set in the command line. However it is retained for reasons of retro-compatibility. |

**Example. Modifying Parameters on the Command Line**

In this example, Task Viewer runs in English.

The backup schedule extends over five days with a view of the backups from the last two days and for the three coming days.

The scheduled backup durations are calculated from the last five performed backups.

```bash
tina_sched -historic_hours 48 -scheduled_hours 72 -estimation 5
```

See the *Task Viewer* topic of the Tina Administration Documentation for additional information.

#### tina\_scm

The `tina_scm` binary opens Security & Compliance Manager.

**Syntax**

```bash
tina_scm [-catalog catalog]
         [-language language]
         [-identity user:passwd]
```

| Option                  | Description                                                                              |
| ----------------------- | ---------------------------------------------------------------------------------------- |
| **\[-catalog catalog]** | Specifies the working catalog. The parameter is mandatory if there are several catalogs. |

**Example. Launching Security & Compliance Manager on the Command Line**

```bash
tina_scm -catalog samba
```

#### tina\_scm\_control

The `tina_scm_control` command allows users to administer certificates, security templates and rules in command mode.

> **Note:** Only users with the appropriate Tina Security permissions can execute this command. See the Atempo-Tina [Security & Compliance Manager](https://documentation.atempo.com/tina-4.9.5/tina-4.9.5-en/version-information/rest-api-reference/security.md) Documentation for details.

**Syntax**

```bash
tina_scm_control [-catalog catalog]
```

| Option                  | Description                                                                              |
| ----------------------- | ---------------------------------------------------------------------------------------- |
| **\[-catalog catalog]** | Specifies the working catalog. The parameter is mandatory if there are several catalogs. |

* To quit the interactive mode, type `q` at the `tina_scm_control` prompt.
* To cancel an operation, enter `c` at the `confirm` prompt.

This table summarizes the operations that can be performed on security objects, depending on the type of object you are administering.

For detailed information concerning each security object, see the *Atempo-Tina Security & Compliance Manager Documentation*.

| Object Name                | Operations             | Command                 | Shortcut | See                                     |
| -------------------------- | ---------------------- | ----------------------- | -------- | --------------------------------------- |
| **Certificate Repository** | Change                 | `change repository`     | `ch re`  | Changing the Certificate Repository     |
|                            | View                   | `view repository`       | `v re`   | Viewing the Certificate Repository      |
| **Certificate Authority**  | Create                 | `create authority`      | `cr a`   | Creating a Certificate Authority        |
| **Certificate**            | Create                 | `create certificate`    | `cr c`   | Creating a certificate                  |
|                            | Install                | `install certificate`   | `in c`   | Installing a certificate                |
|                            | Uninstall              | `uninstall certificate` | `u c`    | Uninstalling a certificate              |
|                            | Import                 | `import certificate`    | `im c`   | Importing a certificate                 |
|                            | Delete                 | `delete certificate`    | `d c`    | Deleting a certificate                  |
|                            | View                   | `view certificate`      | `v c`    | Viewing a certificate                   |
|                            | List                   | `list certificates`     | `l c`    | Listing certificates                    |
|                            | Copy to other catalogs | `push certificate`      | `p c`    | Copying a certificate to other catalogs |
|                            | Export                 | `export certificate`    | `e c`    | Exporting a certificate                 |

| Object Name           | Operations             | Command                    | Shortcut | See                                          |
| --------------------- | ---------------------- | -------------------------- | -------- | -------------------------------------------- |
| **Security Template** | Create                 | `create security template` | `c s`    | Creating a Security template                 |
|                       | Import                 | `import security template` | `i s`    | Importing a security template                |
|                       | Delete                 | `delete security template` | `d s`    | Deleting a security template                 |
|                       | View                   | `view security template`   | `v s`    | Viewing a security template                  |
|                       | List                   | `list security templates`  | `l s`    | Listing security templates                   |
|                       | Copy to other catalogs | `push security template`   | `p s`    | Copying security templates to other catalogs |
|                       | Export                 | `export security template` | `e s`    | Exporting security templates                 |
| **Rule**              | Create                 | `create rule`              | `cr ru`  | Creating a rule                              |
|                       | Delete                 | `delete rule`              | `d r`    | Deleting a rule                              |
|                       | View                   | `view rule`                | `v r`    | Viewing a rule                               |
|                       | List                   | `list rules`               | `l r`    | Listing rules                                |
|                       | Copy to other catalogs | `push rule`                | `p r`    | Copying rules to other catalogs              |
|                       | Export                 | `export rule`              | `e r`    | Exporting rules                              |
| **Password Session**  | Create                 | `create password session`  | `c p`    | Creating a Password Session                  |

#### Changing the Certificate Repository

The certificate files generated at certificate creation are stored in the Certificate Repository. The path of this repository can be modified.

**Example. Changing the certificate repository**

```bash
tina_scm_control>change repository
New certificate repository>(d:\Atempo\Certs) c:\Certs
```

#### Viewing the Certificate Repository

You can view the path of the Certificate Repository, as well as the list of the certificate files contained in the repository.

**Example. Viewing the certificate repository**

```bash
tina_scm_control>view repository
Certificate repository path: d:\Certs
Name NED MED
Atempo *
```

#### Creating a Certificate Authority

To create a Certificate Authority, you need to provide these elements:

* Catalog name (only if you have more than one catalog)
* A parent Certificate Authority name, except if the Certificate Authority is self-signed
* A start date and an expiration date
* A password for the Certificate Authority
* The path of a file where the certificate will be generated.

**Example. Creating the Certificate Authority**

```bash
tina_scm_control>create authority
Name of Certificate Authority>Atempo
Parent certificate name>
Start Date (mm/dd/yy)>(12/05/2006)
End Date (mm/dd/yy)>(12/05/2007)
Certificate password>
Verifying password>
Comment>Certificate Authority for securing our sensitive data
Absolute path of the output certificate file>d:\atempo\secure\CertAut.cert
Install certificate locally once created y/n>(n)
Confirm y/n>(y)
```

#### Performing Certificate Operations

**1. Creating a certificate**

To create a certificate, you need to provide these elements:

* Certificate type: media or network encryption
* Certificate name
* Parent certificate name and password
* Start and expiration dates of the certificate
* A password for the certificate
* The path of the output file where the certificate will be generated.

> **Note:** Install the certificate locally if you want the certificate to secure backup and restore operations for the local host.

**Example. Creating a certificate**

```bash
tina_scm_control>create certificate
Create type
1)certificate for media encryption
2)certificate for network encryption
(1 or 2)>(1)
Certificate name>Finance
```

```bash
Parent certificate name>atempo
Parent certificate password>
Start date (mm/dd/yyyy must be between 12/05/2006 and 12/05/2007)>
(12/05/2006)
Expiration date (mm/dd/yyyy must be between 12/05/2006 and 12/05/2007)>12/05/2007
Certificate password>
Verifying password>
Comment>
Absolute path of the output certificate file>d:\Certs\finance.cert
Install certificate locally once created y/n>y
Confirm y/n/c>(y) y

Object creation done
```

**2. Installing a certificate**

A certificate must be installed on a local machine if you want to use it to secure backup and restore operations for the local host.

To install a certificate, you need to provide these elements:

* Absolute path of the certificate file (located in the certificate repository)
* Certificate password

**Example. Installing a certificate**

```bash
tina_scm_control>install certificate
Absolute path of the certificate file>D:\Atempo\Certs\Engineering.cert
Certificate password>
Change certificate password y/n>(y) y
New certificate password>
Verifying password>
Confirm y/n/c>(y) y
```

**3. Uninstalling a certificate**

A certificate must be uninstalled from the local machine if you no longer want to use it to secure backup and restore operations for the local host.

To uninstall a certificate, you need to provide these elements:

* Name of the certificate

**Example. Uninstalling a certificate**

```bash
tina_scm_control>uninstall certificate
Certificate name>Engineering
Confirm y/n/c>(y) y
```

**4. Importing a certificate**

Import certificates if you want to add to the Tina certificate hierarchy some certificates that were created by another application.

To import a certificate, you need to provide these elements:

* File format of the certificate (either PEM, or PKCS12)
* Absolute path of the certificate file
* Absolute path of the private key file (only if the certificate file is in the PKCS12 format)
* Certificate type: media or network encryption
* Certificate password

> **Note:** If several related external certificates are imported, the import must be done following their hierarchical links, beginning with the highest certificate.

**Example. Importing a certificate**

```bash
tina_scm_control>import certificate
File format
1)PEM
2)PKCS12
(1 or 2)>(1) 1
Absolute path of the certificate file>c:\Temp\Import\import_cert.crt
Absolute path of the private key file>c:\Temp\Import\import_cert
Import type
1)Certificate for media encryption
2)Certificate for network encryption
(1, or 2)>(1) 1
Certificate password>
Change certificate password y/n>(y) y
New certificate password>
Verifying password>
Comment>
Absolute path of the output certificate file>d:\Certs\HR.cert
Install certificate locally once created y/n>n
Confirm y/n/c>(y) y

Certificate "HR.cert" has been created
```

**5. Deleting a certificate**

You can only delete a Certificate Authority if the certificate is present on the local host.

To delete a certificate, you need to provide this information:

* Certificate name

> **Note:** When you delete a certificate, it is only deleted from the catalog, unless you specify that you want to erase it from the disk also.

**Example. Deleting a certificate**

```bash
tina_scm_control>delete certificate
Certificate name>mycert
Erase local certificates y/n>(n) y
Confirm y/n/c>(y) y
Deleting a certificate from catalog is not reversible.
It will delete all child certificates and will no longer allow backup or archiving using those certificates.
Do you want to proceed? y/n>y
Object deletion done
```

**6. Viewing a certificate**

This function allows you to view information concerning a single certificate.

To view a certificate, you need to provide this information:

* Certificate name

**Example. Viewing a certificate**

```bash
tina_scm_control>view certificate
Certificate name>Validation
Name : Validation
Identity : 9d8a955d-78ed5751-3f8b2a8c-80d7be36-13348e82
Creation time : unknown
Status : Active
Start date : Wed Apr 05 02:00:00 2006
End date : Fri Jul 28 02:00:00 2007
Number of use : 2
Comment :
tina_scm_control>
```

**7. Listing certificates**

This function allows you to view the list of all the certificates present in the catalog and on the local machine.

**Example. Listing certificates**

```bash
tina_scm_control>list certificate

Name Catalog NED MED Status Us
Finance * * Active 0
HR * * Active 2
Mycert * * Revoked 0
tina_scm_control>
```

**8. Copying a certificate to other catalogs**

To copy a certificate to another catalog, you need to provide this information:

* Certificate name
* Catalog name(s)

**Example. Copying a certificate to other catalogs**

```bash
tina_scm_control>push certificate
Certificate name>engineering
Select catalogs
1)hermes
Catalog numbers separated by ','>1

Selected catalogs: hermes
Confirm y/n/c>(y)

hermes: done
Operation on other catalogs done
Object push done
```

**9. Exporting a certificate**

To export a certificate, you need to provide this information:

* Certificate name
* File format of the certificate (either PEM, or PKCS12)
* Absolute path of the file where the certificate will be exported
* Absolute path of the private key file (only if the certificate file is in the PKCS12 format)
* Certificate password (for private key export)

**Example. Exporting a certificate**

```bash
tina_scm_control>export certificate
Certificate name>mycert2
File format
1)PEM
2)PKCS12
(1 or 2)>(1) 2
Absolute path of the certificate file>f:\tmp\export_mycert2
Absolute path of the private key file>f:\tmp\export_mycert2.priv
Certificate password>
Change certificate password y/n>(y)
New certificate password
Verifying password>
Confirm y/n/c>(y)
tina_scm_control>

Object export done
```

**Performing Security Template Operations**

**1. Creating a Security template**

To create a security template, you need to provide these elements:

* Security template name
* Reference security template names, if any. If you specify one or several reference templates, only the parameters that are common to all the reference templates will be available
* Media encryption algorithms, hash names, and minimum key length
* Network encryption algorithms, hash names, and minimum key length
* Minimum and maximum retention period
* Signing certificate name and password
* Start and expiration dates

**Example. Creating a security template**

```bash
tina_scm_control>c s
Security template name>Atempo
Security template names to inherit from>
Minimum encryption key length>128
Media encryption algorithms
Select values number separated by ','
1)aes
2)3des
3)blowfish
4)cast
(1, 2, 3, or 4)>(1) 1,2,3
Selected values: aes, 3des, blowfish
Media encryption hash names
Select values number separated by ','
1)sha1
2)sha224
3)sha256
4)sha384
(1, 2, 3, or 4)>(1) 2, 3, 4
Selected values: sha224, sha256, sha384
Minimum encryption key length>128
Network encryption algorithms
Select values number separated by ','
1)aes
2)3des
3)blowfish
4)cast
(1, 2, 3, or 4)>(1) 1,2,3
Selected values: aes, 3des, blowfish
Network encryption hash names
Select values number separated by ','
1)sha1
2)sha224
3)sha256
4)sha384
(1, 2, 3, or 4)>(1) 2,3,4
Selected values: sha224, sha256, sha384
Minimum retention (must be between 0 and infinite)>(32W)
Maximum retention (must be between 0 and infinite)>(infinite)
Start date (mm/dd/yyyy must be between 03/24/2006 and 03/24/2010)>
(03/24/2006)
Expiration date (mm/dd/yyyy must be between 03/24/2006 and 03/24/2010)>
(03/24/2010)
Signing certificate name>Atempo
Signing certificate password>
Comment>comm
Confirm y/n/c>(y) y
Extend operation to other catalogs y/n>(n) n
tina_scm_control>
Object creation done

```

**2. Importing a security template**

To import a security template, you need to provide these elements:

* Security template name and location

**Example. Importing a security template**

```bash
tina_scm_control>import security template
Security template file path>d:\tmp_a_vider\main_template.txt
Security template name>imported_security_template
Confirm y/n/c>(y) y
tina_scm_control>tina_scm_control>
```

**3. Deleting a security template**

To delete a security template, you need to provide this information:

* Security template name

**Example. Deleting a security template**

```bash
tina_scm_control>delete security template
Security template name>Atempo
Confirm y/n/c>(y) y
Extend operation to other catalogs y/n>(n) n
```

**4. Viewing a security template**

This function allows you to view information concerning a security template.

To view a security template, you need to provide this information:

* Security template name

**Example. Viewing a security template**

```bash
tina_scm_control>view security
Security template name>new_security_temp
Name : new_security_temp
Network encryption algorithm : aes, des, 3des
Minimum key length for network encryption : 128
Network encryption hash names : sha384, sha512, whirlpool
Media encryption algorithm : aes, des, 3des
Minimum key length for media encryption : 128
Media encryption hash names : sha384, sha512, whirlpool
Minimum retention : 32W
Maximum retention : infinite
Start date : Thu Mar 24 01:00:00 2005
End date : Wed Mar 24 01:00:00 2010
Certificate : : engineering
tina_scm_control>
```

**5. Listing security templates**

This function allows you to view the list of all the security templates.

This information is provided:

* Security template name
* Network encryption algorithms
* Network encryption hash names
* File encryption algorithms
* File encryption hash names
* Minimum retention
* Maximum retention
* Start date
* End date

> **Note:** If several algorithms are present within the same category, only one algorithm is displayed followed by "`...`".

**Example. Listing security templates**

```bash
tina_scm_control>list security template

new_security_temp aes, ... sha384, ... aes, ... sha384, ... 32W
infinite 03/24/2005 03/24/2010
imported_security_template aes, ... sha1, ... aes, ... sha1, ... 32W
infinite 03/24/2005 03/24/2010
newtemp1 aes sha224 aes sha1 520W
572W 01/01/2005 12/31/2006
lastimportedtemp aes, ... sha1, ... aes, ... sha1, ... 10D
infinite 03/11/2005 03/11/2006
```

**6. Copying security templates to other catalogs**

To copy a security template to another catalog, the signing certificate must be already present in the catalog. You also need to provide this information:

* Security template name
* Catalog name(s)

**Example. Copying a certificate to other catalogs**

```bash
tina_scm_control>push security template
Security template name>atempo
Select catalogs
1)hermes
Catalog numbers separated by ','>1

Selected catalogs: hermes
Confirm y/n/c>(y)

hermes: done
Operation on other catalogs done

Object push done
```

**7. Exporting security templates**

This function allows you to export a security templates to a file. To export a template, you need to provide these elements:

* Security template name
* Absolute path of the file where the template is exported

**Example. Exporting a security template**

```bash
tina_scm_control>export security template
Security template name>exported_security_template
Security template file path>d:\tmp\exp_template.tpl
Confirm y/n/c>(y) y
```

#### Performing Rule Operations

**1. Creating a rule**

A rule must have a unique name in the catalog.

To create a rule, you need to provide these elements:

* Rule name
* Reference security template names
* File encryption algorithms and hash names
* Network encryption algorithms and hash names
* Retention
* Start and expiration dates
* Signing certificate name and password

**Example. Creating a rule**

```bash
tina_scm_control>create rule
Rule name>Internal
Names of the security templates to inherit from>atempo

Media encryption algorithms
1)aes
2)des
3)3des
(1, 2 or 3)>(1) 1

Selected values: aes

Media encryption hash names
1)sha384
2)sha512
3)whirlpool
(1, 2 or 3)>(1) 2

Selected values: sha512

Network encryption algorithms
1)aes
2)des
3)3des
(1, 2 or 3)>(1) 3

Selected values: 3des
```

```bash
Network encryption hash names
1)sha384
2)sha512
3)whirlpool
(1, 2 or 3)>(1) 2

Selected values: sha512

Retention (must be between 0 and infinite)>(0) 1Y
Volume triggering key change (MB)>(0) 100
Signing certificate name>new_main_cert
Signing certificate password>
Start date (mm/dd/yyyy must be between 03/24/2005 and 03/24/2010)>
(03/24/2005)
Expiration date (mm/dd/yyyy must be between 03/24/2005 and 03/24/2010)>
(03/24/2010)
Comment>comment
Confirm y/n/c>(y) y
Extend operation to other catalogs y/n>(n) n

Object creation done
```

**2. Deleting a rule**

To delete a rule, you need to provide these elements:

* Rule name

**Example. Deleting a rule**

```bash
tina_scm_control>delete rule
Rule name>newrule
Confirm y/n/c>(y) y
Extend operation to other catalogs y/n>(n) n
tina_scm_control>
```

**3. Viewing a rule**

To view a rule, you need to provide these elements:

* Rule name

**Example. Viewing a rule**

```bash
tina_scm_control>view rule
Rule name>Internal
Name : Internal
Network encryption algorithm : 3des
Network encryption key length : 24
Network encryption hash names : sha512
Media encryption algorithm : aes
Media encryption key length : 24
Media encryption hash names : sha512
Minimum retention : 34W
Start date : Thu Mar 24 01:00:00 2005
End date : Wed Mar 24 01:00:00 2010
```

```bash
Certificate : Engineering
Comment :
Volume triggering key change : 100MB
tina_scm_control>
```

**4. Listing rules**

This function allows you to view the list of all the rules in the catalog.

This information is provided:

* Rule name
* Network encryption algorithm
* Network encryption key length
* Network encryption hash name
* Media encryption algorithm
* Media encryption key length
* Media encryption hash name
* Minimum retention
* Start date
* End date

**Example. Listing security templates**

```bash
tina_scm_control>l r

Internal 3des 24 sha512 aes 24 sha512 1 years 12/24/2005
03/24/2010
newrule2 aes 16 sha224 aes 16 sha1 1 years 12/12/2005
12/31/2006
tina_scm_control>
```

**5. Copying rules to other catalogs**

To copy a security rule to another catalog, the signing certificate must be already present in the catalog. You also need to provide this information:

* Security rule name
* Catalog name(s)

**Example. Copying a certificate to other catalogs**

```bash
tina_scm_control>push rule
Security template name>Internal
Select catalogs
1)hermes
Catalog numbers separated by ','>1

Selected catalogs: hermes
Confirm y/n/c>(y)

hermes: done
Operation on other catalogs done
```

**6. Exporting rules**

This function allows you to export a security rule to a file. To export a rule, you need to provide these elements:

* Security rule name
* Absolute path of the file where the rule is exported

**Example. Exporting a rule**

```bash
tina_scm_control>export rule
Rule name>exported_rule
Rule file path>d:\tmp\exp_template.rl
Confirm y/n/c>(y) y
Object export done
```

**Creating a Password Session**

The goal of a password session is to provide all the necessary certificate information to restore secured data. To create a password session, you need to provide these elements:

* Certificate name and password (for as many certificates as needed)
* Validity time

**Example. Creating a password session**

```bash
tina_scm_control>create password session
Certificate name>mycert1
Certificate password>
Add another password y/n>(y)
Certificate name>mycert2
Certificate password>
Add another password y/n>(y)n
Session validity time (valueUNIT, S, m, H, D, W, M, Y)>10m
Alternative directory for restore certificates/>d:\Certs

mycert1
mycert2

Session Identity
44~uGsLwQAAAAACAAAAAAgbbh11.8sCcBwta6N6Dr5H0r2m3BLHa6B96yNdutwMUsAA
tina_scm_control>
```

You can now use that session identity to restore secured data using the `tina_restore` command with the `-secure_session_password_id` command. See `tina_restore` for details.

#### tina\_sendmail

The `tina_sendmail` command allows you to send email in command mode.

> **Note:** Any user can use this command.

**Syntax**

```bash
tina_sendmail -server smtp_server
              -to email_address_1 [email_address_2]...
              [-tofile file]
              [-cc email_address_1 [email_address_2]...]
              [-from email_address]
              [-subject subject]
              [-body body_text]
              [-body_file body_file]
              [-attach attachment_list1 [attachment_list2]...]
              [-charset charset]
              [-port port]
              [-user username]
              [-pass password]
              [-help]
```

<table><thead><tr><th width="250.33331298828125">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>-server smtp_server</strong></td><td>Specifies the name of the SMTP server to be used to send the email.</td></tr><tr><td><strong>-to email_address_1 [email_address_2]</strong></td><td>Specifies the recipient(s) addresses(es).</td></tr><tr><td><strong>-tofile file</strong></td><td>Specifies the file containing the address list.</td></tr><tr><td><strong>[-cc email_address_1 [email_address_2]...]</strong></td><td>Specifies the address(es) that should receive a copy of the email.</td></tr><tr><td><strong>[-from email_address]</strong></td><td>Specifies the email address of the sender.</td></tr><tr><td><strong>[-subject subject]</strong></td><td>Specifies the subject of the email.</td></tr><tr><td><strong>[-body body_text]</strong></td><td>Specifies the body of the email.</td></tr><tr><td><strong>[-body_file body_file]</strong></td><td>Specifies the path of the file containing the body of the email.</td></tr><tr><td><strong>[-attach attachment_list1 [attachment_list2]...]</strong></td><td>Specifies the path of the file(s) to be attached to the email.</td></tr><tr><td><strong>[-charset charset]</strong></td><td>Specifies the charset encoding, such as UTF-8 or ISO-8859-1, to be used for the subject and body of the email. The default is US-ASCII.</td></tr><tr><td><strong>[-port]</strong></td><td>Specifies the SMTP server port (default is 25).</td></tr><tr><td><strong>[-user]</strong></td><td>If the smtp server requires a password, specifies the user name.</td></tr><tr><td><strong>[-pass]</strong></td><td>If the smtp server requires a password, specifies the password.</td></tr></tbody></table>

#### tina\_shell

The `tina_shell` command allows you to use the `tina_shell` language, whether in interactive mode or with scripts files.

#### Syntax

```bash
tina_shell [-file script_file]
           [-catalog catalog]
           [-identity user:passwd]
           [-help]
```

<table><thead><tr><th width="274.66668701171875">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>no parameter</strong></td><td>Opens the <code>tina_shell</code> prompt interactive mode.</td></tr><tr><td><strong>[-file script_file]</strong></td><td>Specifies a file containing a sequence of <code>tina_shell</code> commands.</td></tr><tr><td><strong>[-catalog catalog]</strong></td><td>Specifies the working catalog. This parameter is mandatory if several catalogs are involved.</td></tr><tr><td><strong>[-identity user:passwd]</strong></td><td>See<a href="#specific-parameters"> <code>Specific Parameters.htm</code></a></td></tr></tbody></table>

#### tina\_sidf

The `tina_sidf` command allows you to list or extract the contents of media written in the sidf format without the use of the catalog. This command can thus be used to recover some data, for instance a catalog backup, even if the catalog is not available or if you are unable to restore it.

The cartridge containing the files to read or to extract is automatically rewind in order to position anywhere on the tape.

> **Note:** Only the `root` user can execute this command on Unix systems.\
> Only a user with at least the `backup_operator` rights can execute this command on Windows systems.\
> This user is authorized to read media contents and can specify a list of tape files (including their paths).

The command must be entered on the host to which the drive is connected. When executing this command, no access to the catalog, nor connection to the server is involved.

If the drive you want to use is not connected to the local host, use the `[-host]` option to specify the remote host to which the drive is connected.

Since it does not require access to the catalog, the `tina_sidf` command can be used on a system where Tina is not installed. To ensure it works correctly in this case, you must:

* copy the `tina_sidf` binary in a `Bin` directory
* copy the `mess.fc` file in a `Conf` directory, created in the same place as the `Bin` directory
* set the `TINA_HOME` environment variable value to the directory containing the `Bin` and `Conf` directories.

**Prerequisites**

In order to use the `tina_sidf` command to restore data, the drives that are going to read the cartridges, must be configured to work with Tina.

See the Tina Administration Documentation for details on configuring drives automatically, or the *Atempo-Tina Drivers Documentation* for manual configuration information.

#### Syntax

```bash
tina_sidf [-type "dev_type"]
          [-list]
          [-scan]
          [-extract]
          [-scan_nb_obj_to_list nb_objects]
          [-scan_skip_size size_MB]
          [-device device_descriptor]
          [-skip n]
          [-range [device,skip,count] [...]]
          [-files file1 [file2]...]
          [-format sidf|raw]
          [-all]
          [-no_decode]
          [-raw_data]
          [-block_size size]
          [-force_ask_type]
          [-crypt_password password]
          [-key key_file]
          [-host host_name]
          [-catalog]
          [-event_to_console]
```

<table><thead><tr><th width="270.66668701171875">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-type "dev_type"]</strong></td><td>Specifies the type of drive used to read cartridges. <code>"dev_type"</code> must be between double quotes and can take these values: <code>"DAT"</code> <code>"Magneto-Optical"</code>: if you use <code>tina_sidf</code> along with a magneto-optical drive, refer to the related documentation. <code>"Exabyte 2GB"</code> <code>"Exabyte 5GB"</code> <code>"3480"</code> <code>"Mag Tape 6250"</code> <code>"Streamer QIC24"</code> <code>"Streamer QIC150"</code> <code>"CompactTape TK/TZ"</code> <code>"Streamer QIC525"</code> <code>"Exabyte 2GB-C"</code> <code>"Exabyte 5GB-C"</code> <code>"DAT-C"</code> <code>"Disk Drive"</code> <code>"Virtual Drive"</code> <code>"DLT 2000"</code> <code>"DLT 4000"</code></td></tr><tr><td><strong>(continued)[-</strong><br><strong>type "dev_</strong><br><strong>type"]</strong></td><td>"Overland 3480"<br>"Exabyte Mammoth"<br>"DLT 7000"<br>"Tandberg SLR32"<br>"Tandberg SLR50"<br>"IBM Magstar MP"<br>"T9840"<br>"IBM 3590"<br>"Exabyte Mammoth 2"<br>"AIT (35GB)"<br>"Exabyte VXA-1 (ECRIX VXA)"<br>"DLT 8000"<br>"Raw File": tape file extracted from disk.<br>"Tandberg SLR100"<br>"AIT2 (50GB)"<br>"LTO HP Ultrium 1"<br>"LTO IBM Ultrium 1"<br>"LTO Seagate Ultrium 1"<br>"STK T9940"<br>"SuperDLT 220"<br>"EMC Tape Emulator"<br>"DLT1"<br>"Sony DTF2"<br>"Quantum DX series"<br>"AIT3 (100GB)"<br>"Exabyte VXA-2"<br>"SuperDLT 320"<br>"LTO HP Ultrium 2"</td></tr><tr><td><strong>(continued)[-</strong><br><strong>type "dev_</strong><br><strong>type"]</strong></td><td>"LTO IBM Ultrium 2"<br>"VTL Disk Drive"<br>"SAIT (500GB)"<br>"SuperDLT 600"<br>"Tanberg SLR140"<br>"UDO"<br>"DLT VS160"<br>"LTO HP Ultrium 3"<br>"LTO IBM Ultrium 3"<br>"AIT4 (200GB)"<br>"LTO TANDBERG LTO-2"<br>"Fujitsu VTL Drive"<br>"IBM 3592"<br>"AITE Turbo"<br>"AIT1 Turbo"<br>"AIT2 Turbo"<br>"LTO QUANTUM 3"<br>"Exabyte VXA-320 (VXA-3)"<br>"DLT-S4"<br>"DLT-V4"</td></tr></tbody></table>

<table><thead><tr><th width="285">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-type "dev_type"]</strong> <em>(continued)</em></td><td><code>"LTO QUANTUM 2"</code> <code>"DVD-RAM"</code> <code>"DLT VS80"</code> <code>"T10000A"</code> <code>"AIT5 (400 GB)"</code> <code>"IBM Ultrium 4"</code> <code>"HP Ultrium 4"</code> <code>"IBM TS1120"</code> <code>"Null Disk Drive"</code> <code>"UDO2"</code> <code>"NearStor VTL Drive"</code> <code>"IBM TS1130"</code> <code>"TANDBERG LTO-3"</code> <code>"TANDBERG LTO-4"</code> <code>"HyperStream Server"</code> <code>"QUANTUM LTO4"</code> <code>"IBM Ultrium 5"</code> <code>"HP Ultrium 5"</code> <code>"QUANTUM LTO5"</code> <code>"IBM TS1140"</code> <code>"T10000B"</code> <code>"T10000C"</code> <code>"HP Ultrium 6"</code> <code>"IBM Ultrium 6"</code> <code>"QUANTUM LTO 6"</code> <code>"TANDBERG LTO-5"</code> <code>"TANDBERG LTO-6"</code> <code>"T10000D"</code> <code>"IBM TS1150"</code></td></tr><tr><td><strong>[-list]</strong></td><td>Displays the list of backed up files.</td></tr><tr><td><strong>[-scan]</strong></td><td>Allows to rapidly identify the contents of a cartridge: <code>-scan</code> displays the 10 first files of each tape file. This option can be used with the <code>-skip</code> option to specify on which tape file the scanning begins.</td></tr><tr><td><strong>[-extract]</strong></td><td>Extracts the backed up files. Files are restored in the current directory.</td></tr><tr><td><strong>[-scan_nb_obj_to_list nb_objects]</strong></td><td>Specifies the number of files to list before skipping to the next segment.</td></tr><tr><td><strong>[-scan_skip_size size_MB]</strong></td><td>Specifies the file size threshold (MB) to skip to the next segment.</td></tr></tbody></table>

<table><thead><tr><th width="261.66668701171875">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-device device_descriptor] [-skip n]</strong></td><td>Specifies the drive used and the location of the tape file. The device descriptor must specify a <code>"no rewind"</code>, <code>"variable block"</code> device. The first file on the tape corresponds to the label and is numbered <code>0</code>. <strong>Examples</strong> <strong>Unix:</strong> <code>/dev/tape -skip 4</code> with <code>4 = 4th backup (5th tape file)</code> <strong>Windows:</strong> <code>cxbytzla -skip 3</code> with <code>3 = 3rd backup (4th tape file)</code> If you use the option <code>[-all]</code> along with this parameter, the specified number of the tape file is that from which all the tape files on the cartridge are listed or extracted. The device descriptor of a VTL Disk Drive is the absolute path of the cartridge in POSIX format. <strong>Unix:</strong> <code>/bck/DiskDrives/catalog/catalog_vls/full00041</code> <strong>Windows:</strong> <code>/g/bck/DiskDrives/catalog/catalog_vls/full00041</code></td></tr><tr><td><strong>[-range [device, skip, count] [...]]</strong></td><td>Specifies the range(s) of tape files to list or extract. <code>device</code> represents the device descriptor. <code>skip</code> represents the positioning on the tape and <code>count</code> represents the number of tape files to list or extract. If <code>count</code> is not specified, reading continues until the end of the backup session or the end of the tape. This option is useful for backups spread out onto several tape files.</td></tr><tr><td><strong>[-files file1 [file2]...]</strong></td><td>Specifies the files to list or extract either explicitly or using pattern matching characters, for instance: <code>*.doc</code>. If the option is not specified, all the files located on the specified tape file are listed or extracted. On macOS platforms, the option <code>-files</code> is case sensitive. You must use the exact case of the file names to list or extract when using this option.</td></tr><tr><td><strong>[-format sidf|raw]</strong></td><td>Specifies the backup format of the files to list or extract. The default format is <code>sidf</code>.</td></tr><tr><td><strong>[-all]</strong></td><td>Lists or extracts all the tape files located on the cartridge. This option can only be used with a <code>"no rewind"</code> device. The option, used with the parameter <code>-list</code>, is very useful when you want to list all or parts of the cartridge contents. It avoids repeating the required operations (rewind, label reading, media location, etc.). To list the cartridge contents, specify on the command line: <code>bash id="zjsvxa"\n-list -device /dev/tape -skip 1 -all\n</code> To list data from the 7th tape file (6th backup) until the end of the cartridge, specify on the command line: <code>bash id="jglzof"\n-list -device /dev/tape -skip 6 -all\n</code></td></tr></tbody></table>

<table><thead><tr><th width="283.66668701171875">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-no_decode]</strong></td><td>Specifies that the files extracted will not be uncompressed nor decoded.</td></tr><tr><td><strong>[-raw_data]</strong></td><td>For Windows data only: this option must imperatively be used if the data you are extracting is segmented across several tape files. See <em>Segmentation Issues</em> for details.</td></tr><tr><td><strong>[-block_size size]</strong></td><td>Specifies the size of a block: <code>128 KB</code> by default, or <code>64 KB</code>. This option must be used if a file backed up with a Unix machine (<code>128 KB</code>) is restored on a Windows machine (<code>64 KB</code>).</td></tr><tr><td><strong>[-force_ask_type]</strong></td><td>Specifies to ask the user to provide the drive type for each new tape file to list or extract. Useful when several drive types were used for a single backup.</td></tr><tr><td><strong>[-crypt_password password]</strong></td><td>Specifies a password for encryption/decryption.</td></tr><tr><td><strong>[-key key_file]</strong></td><td>Specifies the key needed to decode.</td></tr><tr><td><strong>[-host host_name]</strong></td><td>Specifies the name of the remote host where the drive is located (if you want to restore data with a drive that is not connected to the local machine). The option does not apply to VLS. If you use this option, you must specify a catalog name. See <code>[-catalog]</code>.</td></tr><tr><td><strong>[-catalog]</strong></td><td>This option must be used with the <code>[-host]</code> option and becomes mandatory. Specifies the name of the current catalog. This option is used for security reasons. The catalog can be unavailable or stopped. The catalog you specify must be defined in the <code>Conf/catalogs</code> file of both the local and remote hosts.</td></tr><tr><td><strong>[-event_to_console]</strong></td><td>Sends event to the console.</td></tr></tbody></table>

```bash
Using tina_sidf to list contents
[root@semaphore Bin]# ./tina_sidf -list -type "Disk Drive" -device $TINA_HOME/DiskDrives/ff/ff_vls/vls_0 -skip 1

Time Navigator Enterprise Edition Label:
Name : pool00001
Creation date: Mon Jan 3 16:26:26 2005
Description :
Label format: V5
Recycle date: Tue Jan 4 16:30:18 2005
Owner : pool
Listing tape file #1
Backup time is Tuesday 04 January 16:40:43
rwxrwx--- 0/0 symb Mon Mar 25 09:00:00 1996 /.boot_path -> The TINA_SDB_
BOOT_PATH environment variable is no longer used. Please delete it from your
application environment. Use TINA_SDB_MIRROR_PATH to perform a copy of boot
catalog
rwxr-x--- 0/0 dir Tue Jan 4 16:40:44 2005 / Information
rwxr-x--- 0/0 symb Tue Jan 4 16:40:44 2005 / Information /..appl -> Time
Navigator Enterprise Edition Catalog 4.0.0.0.SP0, App 4.0.0, 1.8
rwxr-x--- 0/0 symb Tue Jan 4 16:40:44 2005 / Information /..host -> Hostname
"semaphore", Dynamic "Linuxlibc62", Compiled Jan 3 2005
rwxr-x--- 0/0 symb Tue Jan 4 16:40:44 2005 / Information /.080 -> Server:
semaphore
rwxr-x--- 0/0 symb Tue Jan 4 16:40:44 2005 / Information /.085 -> Comment:
ff
rwxr-x--- 0/0 symb Tue Jan 4 16:40:44 2005 / Information /.090 -> First
creation time: Monday 03 January 16:15:42
[...]
rw-r--r-- 443/100 14602 Mon Jan 3 10:10:53 2005
/Configuration/Conf/Mess/txt_mess.c
rw-r--r-- 443/100 394987 Mon Jan 3 10:10:53 2005
/Configuration/Conf/Mess/txt_mess.h
rw-r--r-- 443/100 167255 Mon Mar 3 21:25:24 2003
/Configuration/Conf/Mess/txt_mess.h.new
rw-r--r-- 443/100 167255 Mon Mar 3 21:25:25 2003
/Configuration/Conf/Mess/txt_mess.h.old
Session volume is 9 MB (9 MB selected)
Session number of object is 213 (213 object selected)
```

**Example**. Using <kbd>tina\_sidf</kbd> to scan a tape

```bash
[root@semaphore Bin]# ./tina_sidf -scan -type "Disk Drive" -device $TINA_HOME/DiskDrives/ff/ff_vls/vls_0 -skip 1

Time Navigator Enterprise Edition Label:
Name : pool00001
Creation date: Mon Jan 3 16:26:26 2005
Description :
Label format: V5
Recycle date: Tue Jan 4 16:30:18 2005
Owner : pool
Scanning tape file #1
rwxrwx--- 0/0 symb Mon Mar 25 09:00:00 1996 /.boot_path -> The TINA_SDB_
BOOT_PATH environment variable is no longer used. Please delete it from your
application environment. Use TINA_SDB_MIRROR_PATH to perform a copy of boot
catalog
rwxr-x--- 0/0 dir Tue Jan 4 16:40:44 2005 / Information
rwxr-x--- 0/0 symb Tue Jan 4 16:40:44 2005 / Information /..appl -> Time
Navigator Enterprise Edition Catalog 4.0.0.0.SP0, App 4.0.0, 1.8
rwxr-x--- 0/0 symb Tue Jan 4 16:40:44 2005 / Information /..host -> Hostname
"semaphore", Dynamic "Linuxlibc62", Compiled Jan 3 2005
rwxr-x--- 0/0 symb Tue Jan 4 16:40:44 2005 / Information /.080 -> Server:
semaphore
rwxr-x--- 0/0 symb Tue Jan 4 16:40:44 2005 / Information /.085 -> Comment:
ff
rwxr-x--- 0/0 symb Tue Jan 4 16:40:44 2005 / Information /.090 -> First
creation time: Monday 03 January 16:15:42
rwxr-x--- 0/0 symb Tue Jan 4 16:40:44 2005 / Information /.092 -> Last
restore time: Monday 03 January 16:15:42
rwxr-x--- 0/0 symb Tue Jan 4 16:40:44 2005 / Information /.095 -> Last save
time: Tuesday 04 January 11:32:31
... Skip scaning
Segment #1: backup time is Tuesday 04 January 16:40:43
Scanning tape file #2
rw-r--r-- 443/100 394987 Mon Jan 3 10:10:53 2005
/Configuration/Conf/Mess/txt_mess_new.h
rw-r--r-- 443/100 394987 Mon Jan 3 10:10:53 2005
/Configuration/Conf/Mess/txt_mess_old.h
rwxr-xr-x 443/100 dir Mon Apr 26 16:25:16 2004 /Configuration/Conf/SAM
rwxr-xr-x 443/100 dir Tue Apr 27 11:02:22 2004 /Configuration/Conf/SAM/CVS
rw-r--r-- 443/100 349 Tue Apr 27 11:02:22 2004
/Configuration/Conf/SAM/CVS/Entries
rw-r--r-- 443/100 9 Wed Nov 5 18:20:16 2003
/Configuration/Conf/SAM/CVS/Repository
rw-r--r-- 443/100 55 Wed Nov 5 18:20:16 2003
/Configuration/Conf/SAM/CVS/Root
rw-r--r-- 443/100 4 Wed Nov 5 18:20:16 2003 /Configuration/Conf/SAM/CVS/Tag
rwxr-xr-x 443/100 18850 Fri Nov 7 17:40:01 2003
/Configuration/Conf/SAM/OJB.properties
... Skip scaning
Segment #2: backup time is Tuesday 04 January 16:40:43
Scanning tape file #3
rwxrwx--- 0/0 symb Mon Mar 25 09:00:00 1996 /.boot_path -> The TINA_SDB_
BOOT_PATH environment variable is no longer used. Please delete it from your
application environment. Use TINA_SDB_MIRROR_PATH to perform a copy of boot
catalog
rwxr-x--- 0/0 dir Tue Jan 4 16:58:02 2005 / Information
rwxr-x--- 0/0 symb Tue Jan 4 16:58:02 2005 / Information /..appl -> Time
Navigator Enterprise Edition Catalog 4.0.0.0.SP0, App 4.0.0, 1.8
rwxr-x--- 0/0 symb Tue Jan 4 16:58:02 2005 / Information /..host -> Hostname
"semaphore", Dynamic "Linuxlibc62", Compiled Jan 3 2005
rwxr-x--- 0/0 symb Tue Jan 4 16:58:02 2005 / Information /.080 -> Server:
semaphore
rwxr-x--- 0/0 symb Tue Jan 4 16:58:02 2005 / Information /.085 -> Comment:
ff
rwxr-x--- 0/0 symb Tue Jan 4 16:58:02 2005 / Information /.090 -> First
creation time: Monday 03 January 16:15:42
rwxr-x--- 0/0 symb Tue Jan 4 16:58:02 2005 / Information /.092 -> Last
restore time: Monday 03 January 16:15:42
rwxr-x--- 0/0 symb Tue Jan 4 16:58:02 2005 / Information /.095 -> Last save
time: Tuesday 04 January 16:41:34
... Skip scaning
Segment #3: backup time is Tuesday 04 January 16:58:01
Scanning tape file #4
rw-r--r-- 443/100 394987 Mon Jan 3 10:10:53 2005
/Configuration/Conf/Mess/txt_mess_new.h
rw-r--r-- 443/100 394987 Mon Jan 3 10:10:53 2005
/Configuration/Conf/Mess/txt_mess_old.h
rwxr-xr-x 443/100 dir Mon Apr 26 16:25:16 2004 /Configuration/Conf/SAM
rwxr-xr-x 443/100 dir Tue Apr 27 11:02:22 2004 /Configuration/Conf/SAM/CVS
rw-r--r-- 443/100 349 Tue Apr 27 11:02:22 2004
/Configuration/Conf/SAM/CVS/Entries
rw-r--r-- 443/100 9 Wed Nov 5 18:20:16 2003
/Configuration/Conf/SAM/CVS/Repository
rw-r--r-- 443/100 55 Wed Nov 5 18:20:16 2003
/Configuration/Conf/SAM/CVS/Root
rw-r--r-- 443/100 4 Wed Nov 5 18:20:16 2003 /Configuration/Conf/SAM/CVS/Tag
rwxr-xr-x 443/100 18850 Fri Nov 7 17:40:01 2003
/Configuration/Conf/SAM/OJB.properties
... Skip scaning
Segment #4: backup time is Tuesday 04 January 16:58:01
Scanning tape file #5
Scanning stopped because there is an error (end of media ?): TN_ERR_MAG_PHYS
```

**Example. Using `tina_sidf` to extract data**

```bash
[root@semaphore Bin]# ./tina_sidf -extract -type "Disk Drive" -device $TINA_HOME/DiskDrives/ff/ff_vls/vls_0 -skip 1 -format raw

Time Navigator Enterprise Edition Label:
Name : pool00001
Creation date: Mon Jan 3 16:26:26 2005
Description :
Label format: V5
Recycle date: Tue Jan 4 16:30:18 2005
Owner : pool

Extracting tape file #1

Raw file path: /DT/local/lch/FF/Bin/cart_dump_pool00001_file001
```

**Segmentation Issues**

If the files you are trying to extract, list or scan are segmented across several tape files, you need to either use the `-interactive` mode (see *Interactive Mode*), or follow special procedures to restore your data (see *Non-Interactive Mode*).

A tape file consists of several files containing data backed up by Tina and corresponding to a backup session. The maximum size of a tape file is `1 GB`. If the size of a backup is superior to `1 GB`, several tape files of `1 GB` each are written.

When restoring segmented tape files containing data in the TiNa format, each segment receives this suffix: `_SEGMENT_XX`, where `XX` is a two digit number incremented for each restored tape file. Thus, you have to extract the different parts and concatenate them to restore the original file.

To identify the tape files you need to extract, use the `-scan` option that allows to rapidly identify the tape file contents.

**Interactive Mode**

Once you have identified the tape files to extract, launch the `tina_sidf -interactive` command. You may specify some parameters in the command line using the available `tina_sidf` options (semi-interactive mode), or you can simply use the fully interactive mode and provide all parameters as you go. In semi-interactive mode, you are asked to provide only the missing parameters.

```bash
Using tina_sidf in semi-interactive mode 
[lch@semaphore Bin]# tina_sidf -list -device /DT/DiskDrives/fd1/fd1_VLS/VLS000005 -type "Vtl Disk Drive" -skip 1 -interactive
Device type: Vtl Disk Drive (id=46)
Device: /DT/DiskDrives/fdl/fdl_VLS/VLS000005
Skip: 1
Format: 9
Block size: 128 KB
Action: 1
Listing segment #1
Time Navigator® Enterprise Edition Label:
Name : VLS000005
Creation date: Thu Feb 5 14:19:19 2004
Description :
Label format: V5
Recycle date: Thu Feb 5 14:19:19 2004
Owner : VLS
rwxrwxrwx 0/0 dir Thu Feb 5 14:59:51 2004 /DT
rwxr-xr-x 0/0 dir Mon Oct 20 12:16:21 2003 /DT/one
rw-r--r-- 443/100 65536 Thu Jul 18 19:36:21 2002 /DT/one/64k
rwxr-xr-x 443/100 12615680 Tue Nov 12 12:04:36 2002 /DT/one/DATA.SESSION.001
Enter device name (/dev/... on Unix, a full path for Disk Drive and Raw
File)
Device: (/DT/DiskDrives/fdl/fdl_VLS/VLS000005 ) /DT/DiskDrives/fdl/fdl_
VLS/VLS000006
Number of file mark to skip
Label is first file mark. No skip needed on device type "Raw File"
Skip: (1)
Device type: Disk Drive (id=46)
Device: /DT/DiskDrives/fdl/fdl_VLS/VLS000006
Skip: 1
Format: 9
Block size: 128 KB
Action: 1
Listing segment #1
Time Navigator® Enterprise Edition Label:
Name : VLS00006
Creation date: Thu Feb 5 14:19:27 2004
Description :
Label format: V5
Recycle date: Thu Feb 5 14:19:27 2004
Owner : VLS
rw-r--r-- 443/100 228882 Mon Jul 29 21:01:42 2002 /DT/one/ndmpd
rw-r--r-- 443/100 0 Tue Mar 12 12:49:30 2002 /DT/one/ndmpd2
rw-r--r-- 443/100 31 Fri Jul 5 18:42:00 2002 /DT/one/test.txt
rw-r--r-- 443/100 955471 Mon Jul 29 21:02:40 2002 /DT/one/tina.cod
rwxr-xr-x 443/100 0 Thu Feb 28 18:27:49 2002 /DT/one/tina_robot
rw-r--r-- 443/100 0 Thu Jan 1 02:00:00 1970 /DT/one/zero
rw-r--r-- 443/100 0 Fri Jan 1 02:00:00 2038 /DT/one/zero2
rwxrwxrwx 443/100 symb Thu Jul 18 17:07:04 2002 /DT/one/link ->
/DT/one/ndmpd
rw-r--r-- 443/100 fifo Thu Nov 28 20:30:30 2002 /DT/one/fifo
rwxr-xr-x 443/100 dir Mon Apr 8 19:30:52 2002 /DT/one/dir
rw-rw-rw- 0/0 741 Tue Apr 9 15:56:18 2002 /DT/one/dir/gmon.out
```

**Example.** Using `tina_sidf` in full interactive mode

```bash
[root@semaphore Bin]# ./tina_sidf -interactive

(0) DAT (1) Magneto-Optical
(2) Exabyte 2GB (3) Exabyte 5GB
(4) 3480 (5) Mag Tape 6250
(6) Streamer QIC24 (7) Streamer QIC150
(8) CompactTape TK/TZ (9) Streamer QIC525
(10) Exabyte 2GB-C (11) Exabyte 5GB-C
(12) DAT-C (13) Disk Drive
(14) Virtual Drive (15) DLT 2000
(16) DLT 4000 (17) Overland 3480
(18) Exabyte Mammoth (19) DLT 7000
(20) Tandberg SLR32 (21) Tandberg SLR50
(22) IBM Magstar MP (23) T9840
(24) IBM 3590 (25) Exabyte Mammoth 2
(26) AIT (35GB) (27) Exabyte VXA-1 (ECRIX VXA)
(28) DLT 8000 (29) Raw File
(30) Tandberg SLR100 (31) AIT2 (50GB)
(32) HP Ultrium (33) IBM Ultrium
(34) Seagate Ultrium (35) T9940
(36) SuperDLT 220 (37) EMC Tape Emulator
(38) DLT1 (39) Sony DTF2
(40) Quantum DX30 (41) AIT3 (100GB)
(42) Exabyte VXA-2 (43) SuperDLT 320
(44) HP Ultrium 2 (45) IBM Ultrium 2
(46) Vtl Disk Drive (47) SAIT (500GB)
(48) SuperDLT 600 (49) Tandberg SLR140
(50) UDO (51) DLT VS160

Device type: 13

Enter device name (/dev/... for Unix, cbtl for Windows, a full path for Disk Drive and Raw File)
Not: If using a manual drive enter device name only when new media is physically inserted

Device: /DT/local/lch/FF/DiskDrives/ff/ff_vls/vls_0
(1) list objects
(2) extract objects
(3) scan tape file (list the first objects of each tape file)
Select action: 1
Number of tape files to skip
Skip: (1)
Format: sidf is the default format
Format: sidf is the format used when not using the cache on server
Format: raw is used to extract raw data without interpreting the format
Format [sidf|raw]: (sidf) tina
Time Navigator Enterprise Edition Label:
Name : pool00001
Creation date: Mon Jan 3 16:26:26 2005
Description :
Label format: V5
Recycle date: Tue Jan 4 16:30:18 2005
Owner : pool
Listing tape file #1
Backup time is Tuesday 04 January 16:40:43
rwxrwx--- 0/0 symb Mon Mar 25 09:00:00 1996 /.boot_path -> The TINA_SDB_
BOOT_PATH environment variable is no longer used. Please delete it from your
application environment. Use TINA_SDB_MIRROR_PATH to perform a copy of boot
catalog
rwxr-x--- 0/0 dir Tue Jan 4 16:40:44 2005 / Information
rwxr-x--- 0/0 symb Tue Jan 4 16:40:44 2005 / Information /..appl -> Time
Navigator Enterprise Edition Catalog 4.0.0.0.SP0, App 4.0.0, 1.8
rwxr-x--- 0/0 symb Tue Jan 4 16:40:44 2005 / Information /..host -> Hostname
"semaphore", Dynamic "Linuxlibc62", Compiled Jan 3 2005
rwxr-x--- 0/0 symb Tue Jan 4 16:40:44 2005 / Information /.080 -> Server:
semaphore
rwxr-x--- 0/0 symb Tue Jan 4 16:40:44 2005 / Information /.085 -> Comment:
ff
rwxr-x--- 0/0 symb Tue Jan 4 16:40:44 2005 / Information /.090 -> First
creation time: Monday 03 January 16:15:42
rwxr-x--- 0/0 symb Tue Jan 4 16:40:44 2005 / Information /.092 -> Last
restore time: Monday 03 January 16:15:42
rwxr-x--- 0/0 symb Tue Jan 4 16:40:44 2005 / Information /.095 -> Last save
time: Tuesday 04 January 11:32:31
rwxr-x--- 0/0 symb Tue Jan 4 16:40:44 2005 / Information /.100 -> Last check
time: Tuesday 04 January 11:32:37
rwxr-x--- 0/0 symb Tue Jan 4 16:40:44 2005 / Information /.103 -> Number of
times the catalog was recreated/defragmented: 0
rwxr-x--- 0/0 symb Tue Jan 4 16:40:44 2005 / Information /.105 -> Catalog
size: 64 MB
rwxr-x--- 0/0 symb Tue Jan 4 16:40:44 2005 / Information /.110 -> Catalog
free space: 58 %
[...]
.#mess.fd.1.321.2.52.2.959
rwxr-xr-x 443/100 318 Wed Mar 24 15:19:11 2004
/Configuration/Conf/Mess/check_base
rwxr-xr-x 443/100 1649 Fri Jun 7 03:13:14 2002
/Configuration/Conf/Mess/check_mess
rwxr-xr-x 443/100 1759 Tue Mar 18 14:28:40 2003
/Configuration/Conf/Mess/genMessFc
rw-r--r-- 443/100 1574 Tue Mar 18 14:28:40 2003
/Configuration/Conf/Mess/genMessFc.bat
rw-r--r-- 443/100 361 Fri Jun 7 03:13:14 2002 /Configuration/Conf/Mess/get_
empty_file_list
rwxr-xr-x 443/100 1329 Tue Oct 8 00:29:08 2002 /Configuration/Conf/Mess/get_
full_file_list
rwxr-xr-x 443/100 5694 Tue Sep 21 10:59:16 2004
/Configuration/Conf/Mess/get_tree
rwxr-xr-x 443/100 1694 Fri Jun 7 03:13:14 2002
/Configuration/Conf/Mess/list_mess
rw-r--r-- 443/100 245096 Mon Mar 3 21:25:24 2003
/Configuration/Conf/Mess/lug_txt_mess.c.new
rw-r--r-- 443/100 388121 Mon Jan 3 10:10:53 2005
/Configuration/Conf/Mess/lug_txt_mess_new.c
rwxr-xr-x 443/100 402553 Mon Jan 3 10:10:53 2005
/Configuration/Conf/Mess/mess.fc
rw-r--r-- 443/100 661974 Mon Jan 3 10:10:15 2005
/Configuration/Conf/Mess/mess.fd
rwxr-xr-x 443/100 402553 Mon Jan 3 10:10:55 2005
/Configuration/Conf/Mess/mess_sidf.fc
rwxr-xr-x 443/100 402553 Mon Jan 3 10:10:55 2005
/Configuration/Conf/Mess/messodb.fc
rw-r--r-- 443/100 289 Mon Jan 3 10:10:53 2005 /Configuration/Conf/Mess/txt_
lang.c
rw-r--r-- 443/100 227 Mon Jan 3 10:10:53 2005 /Configuration/Conf/Mess/txt_
lang.h
rw-r--r-- 443/100 14602 Mon Jan 3 10:10:53 2005
/Configuration/Conf/Mess/txt_mess.c
rw-r--r-- 443/100 394987 Mon Jan 3 10:10:53 2005
/Configuration/Conf/Mess/txt_mess.h
rw-r--r-- 443/100 167255 Mon Mar 3 21:25:24 2003
/Configuration/Conf/Mess/txt_mess.h.new
rw-r--r-- 443/100 167255 Mon Mar 3 21:25:25 2003
/Configuration/Conf/Mess/txt_mess.h.old
Session volume is 9 MB (9 MB selected)
Session number of object is 213 (213 object selected)
```

**Non-Interactive Mode**

As an alternative to using the `-interactive` option, you can use these procedures:

#### To restore segmented files in non-interactive mode

1. Identify the tape files to be restored.
2. Extract data from both tape files using the `-raw` option to avoid interpreting the data.
3. Concatenate both parts of the segmented file.

**Unix:**

```bash
cat file1 file2 > target_file
```

**Windows:**

```cmd
copy file1/B+file2/B target_file
```

4. Run the `tina_sidf -type "Raw File"` command.

**Example. Using `tina_sidf` in non-interactive mode to extract data**

If the file you want to extract is contained in a single tape file:

```bash
[lch@semaphore Bin]# tina_sidf -type "Vtl Disk Drive" -device /DT/DiskDrives/fd1/fd1_VLS/VLS000017 -skip 2 -extract

Time Navigator® Enterprise Edition Label:
Name : pool00117
Creation date : Mon Jan 19 11:45:06 2004
Description : 370
Label format : V5
Recycle date : Mon Jan 19 11:45:06 2004
Owner : pool

Extracting segment #2

rwxrwxrwx 0/0 dir Mon Jan 12 15:34:49 2004 /DT
rwxr-xr-x 0/0 dir Mon Oct 20 12:16:21 2003 /DT/one
rw-r--r-- 443/100 65536 Thu Jul 18 19:36:21 2002 /DT/one/64k
rwxr-xr-x 443/100 dir Mon Apr 8 19:30:52 2002 /DT/one/dir

[lch@semaphore Bin]# ls -l DT/one
total 72
-rw-r--r-- 1 lch users 65536 jui 18 2002 64k
drwxr-xr-x 2 lch users 4096 avr 8 2002 dir

[lch@semaphore Bin]#
```

If the file you want to extract is spread out on two tape files:

5. List the contents of the tape file:

```bash
[lch@semaphore Bin]# tina_sidf -type "Vtl Disk Drive" -device /DT/DiskDrives/fd1/fd1_VLS/VLS000017 -skip 3 -list

Time Navigator® Enterprise Edition Label:
Name : VLS00017
Creation date : Mon Jan 19 11:45:06 2004
Description : 370
Label format : V5
Recycle date : Mon Jan 19 11:45:06 2004
Owner : VLS

Listing segment #3

rwxrwxrwx 0/0 dir Mon Jan 12 15:34:49 2004 /DT
rwxr-xr-x 0/0 dir Mon Oct 20 12:16:21 2003 /DT/one
rw-r--r-- 443/100 65536 Thu Jul 18 19:36:21 2002 /DT/one/64k
rwxr-xr-x 443/100 12615680 Tue Nov 12 12:04:36 2002 /DT/one/DATA.SESSION.001

Object processing error "/DT/one/DATA.SESSION.001"
Incorrect file reading
```

6. An end of file is detected in the middle of an object indicating that this object is spread on two tape files.

Extract the first tape file in format `"raw"`:

```bash
[lch@semaphore Bin]# tina_sidf -type "Vtl Disk Drive" -device VLS000017 -skip 3 -format raw -extract

Tina returns a message indicating the name and location of the extracted file:

tina_sidf dump file is "/DT/local/37/Bin/cart_dump_VLS000017_file003"
```

7. Extract the second tape file in format `"raw"`:

```bash
[lch@semaphore Bin]# tina_sidf -type "Vtl Disk Drive" -device VLS000018 -skip 1 -format raw -extract

tina_sidf dump file is "/DT/local/37/Bin/cart_dump_VLS000018_file001"
```

8. Repeat steps 3 and 4 until all the tape files you need have been extracted.
9. Concatenate the two (or more) tape files:

```bash
[lch@semaphore Bin]# cat /DT/local/37/Bin/cart_dump_VLS000017_file003 \
/DT/local/37/Bin/cart_dump_VLS000018_file001 \
>/DT/local/37/Bin/cart_dump_ok
```

10. Run the `tina_sidf` command again on the concatenated file.

```bash
[lch@semaphore Bin]# tina_sidf -type "Raw File" -device
/DT/local/37/Bin/cart_dump_ok -extract
Extracting segment #0
rwxrwxrwx 0/0 dir Mon Jan 12 15:34:49 2004 /DT
rwxr-xr-x 0/0 dir Mon Oct 20 12:16:21 2003 /DT/one
rw-r--r-- 443/100 65536 Thu Jul 18 19:36:21 2002 /DT/one/64k
rwxr-xr-x 443/100 12615680 Tue Nov 12 12:04:36 2002 /DT/one/DATA.SESSION.001
rw-r--r-- 443/100 228882 Mon Jul 29 21:01:42 2002 /DT/one/ndmpd
rw-r--r-- 443/100 0 Tue Mar 12 12:49:30 2002 /DT/one/ndmpd2
rw-r--r-- 443/100 31 Fri Jul 5 18:42:00 2002 /DT/one/test.txt
rw-r--r-- 443/100 955471 Mon Jul 29 21:02:40 2002 /DT/one/tina.cod
rwxr-xr-x 443/100 0 Thu Feb 28 18:27:49 2002 /DT/one/tina_robot
rw-r--r-- 443/100 0 Thu Jan 1 02:00:00 1970 /DT/one/zero
rw-r--r-- 443/100 0 Fri Jan 1 02:00:00 2038 /DT/one/zero2
rwxrwxrwx 443/100 symb Thu Jul 18 17:07:04 2002 /DT/one/link ->
/DT/one/ndmpd
rw-r--r-- 443/100 fifo Thu Nov 28 20:30:30 2002 /DT/one/fifo
rwxr-xr-x 443/100 dir Mon Apr 8 19:30:52 2002 /DT/one/dir
rw-rw-rw- 0/0 741 Tue Apr 9 15:56:18 2002 /DT/one/dir/gmon.out
[lch@semaphore Bin]# ls -l DT/one
total 13580
-rw-r--r-- 1 lch users 65536 jui 18 2002 64k
-rwxr-xr-x 1 lch users 12615680 nov 12 2002 DATA.SESSION.001
drwxr-xr-x 2 lch users 4096 jan 19 15:17 dir
prw-r--r-- 1 lch users 0 nov 28 2002 fifo
lrwxrwxrwx 1 lch users 13 jan 19 15:17 link -> /DT/one/ndmpd
-rw-r--r-- 1 lch users 228882 jui 29 2002 ndmpd
-rw-r--r-- 1 lch users 0 mar 12 2002 ndmpd2
-rw-r--r-- 1 lch users 31 jui 5 2002 test.txt
-rw-r--r-- 1 lch users 955471 jui 29 2002 tina.cod
-rwxr-xr-x 1 lch users 0 fév 28 2002 tina_robot
-rw-r--r-- 1 lch users 0 jan 1 1970 zero
-rw-r--r-- 1 lch users 0 jan 1 2038 zero2

```

#### tina\_start\_backup

The `tina_start_backup` command allows you to initiate on demand, the incremental or full backup of any host with the specified strategy, exactly as the **Launch Backup** button of the **Data Management > Strategies** panel in Web Administration.

> **Important:** This command triggers the operation but does not wait until it is completed, unless the `[-sync]` option is used.

**Rights**

Users with these rights in Tina can launch this command:

* Platforms (create, modify, delete) **AND** the corresponding Allowed Strategies\
  **Or**
* Platform use (start backups) **AND** the corresponding Allowed Strategies

For more information on users and access rights, see the Tina Administration Documentation.

**Syntax**

```bash
tina_start_backup -host host|-application application -strat A|B|C|D [-full][-incr] [-sync] [-v_jobid] [-identity user:password] [-catalog catalog] [-help] [-v_job_status] [-return_job_status]
```

<table><thead><tr><th width="245">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>-host host</strong></td><td>Specifies the name of the host to be backed up.</td></tr><tr><td><strong>-application application</strong></td><td>Specifies the name of the application to be backed up.</td></tr><tr><td><strong>-strat A|B|C|D</strong></td><td>Specifies the backup strategy (<strong>A, B, C or D</strong>) to be used.</td></tr><tr><td><strong>[-full]</strong></td><td>Specifies a full backup. By default, the session is a full backup.</td></tr><tr><td><strong>[-incr]</strong></td><td>Specifies an incremental backup. If the option is not specified, the default session is a full backup.</td></tr><tr><td><strong>[-sync]</strong></td><td>Specifies that the <code>tina_start_backup</code> command will end only after the corresponding backup job is complete. This option is only available when backing up an agent which has a version higher than <code>3.7.x.x</code>.</td></tr><tr><td><strong>[-v_jobid]</strong></td><td>Displays the job ID of the backup job in <code>.CSV</code> format. This option is only available when backing up an agent which has a version higher than <code>3.7.x.x</code>.</td></tr><tr><td><strong>[-identity user:password]</strong></td><td>See <em>Specific Parameters.htm</em>.</td></tr><tr><td><strong>[-catalog catalog]</strong></td><td>Specifies the working catalog. This parameter is mandatory if several catalogs are involved.</td></tr><tr><td><strong>[-v_job_status]</strong></td><td>Displays the job status of the backup job in <code>.CSV</code> format.</td></tr></tbody></table>

| Option                      | Description                                                                                                                                                                                                                                                                                                                                                                                  |
| --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **\[-return\_job\_status]** | Returns the job status as a command return code, which can be useful for external schedulers. Available return codes are: `STATUS_JOB_TERMINATED_OK 17` `STATUS_JOB_TERMINATED_ON_STOP 13` `STATUS_JOB_TERMINATED_ON_ERROR 14` `STATUS_JOB_TERMINATED_ON_ABORT 15` `STATUS_JOB_TERMINATED_ON_SUSPEND 16` `STATUS_JOB_TERMINATED_NOT_STARTED 20` `STATUS_JOB_TERMINATED_AGENT_UNREACHABLE 21` |

#### Example. `tina_start_backup` use

In this example, `tina_start_backup` initiates an incremental backup on the `daffy` host with strategy `B`.

```bash
# ./tina_start_backup -host daffy -strat B -incr
```

For more information on the manual triggering of a backup, see the **"Manual Triggering of a Backup"** topic of the Tina Administration Documentation.

#### tina\_stop

The `tina_stop` command allows you to stop Tina. Without the option `[-host host1 [host2]...]`, the program only stops the application on the host from which the command is entered.

> **Note:** Only the `root` user can execute this command on Unix systems.\
> Only a user with at least the `backup_operator` rights can execute this command on Windows systems.

> **Note:** This command can be used for a Unix, Windows, or NetWare client host.

**Syntax**

```bash
tina_stop [-host host1 [host2]...]
```

<table><thead><tr><th width="293.3333740234375">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-host host1 [host2]...]</strong></td><td>Specifies the host(s) onto which the application is stopped. If the option is not specified, the application is stopped on the host from which the command is entered.</td></tr></tbody></table>

**Example. `tina_stop` use**

In this example, Tina is stopped on the `olive` host from the server.

```bash
# ./tina_stop -host olive
```

You must wait for a few seconds before getting the control back.

```bash
tina_stop: Time Navigator stopped on "olive"
```

#### tina\_storage\_ctrl

The `tina_storage_ctrl` command allows you to perform operations on deduplication storage backups:

* List the deduplication pools in the catalog.
* List all or part of the backups in a deduplication pool, displaying job id, backup date, application name, object name, and recyclability information.
* Erase all or part of the backups in a deduplication pool. The actual metadata removal and synchronization with the storage is performed by the maintenance job.

The selection of backups to display or erase can be refined adding selection criteria to the command. Available criteria are:

```
deduplication pool > application name > object name
```

A date selection criterion can be added with a start date and/or end date.

The object name depends on the type of application. For virtualization applications, it is the Virtual Machine name.

The erase operation displays selected backups and, if any non-recyclable backups are involved, requires confirmation. User can confirm, remove only recyclable data, or cancel the operation.

A force option allows silent removal without confirmation of all selected backups, including those that are not recyclable.

**Rights**

Users with administration rights in Tina can launch this command. For more information on users and access rights, see the Tina Administration Documentation.

**Syntax**

```bash
tina_storage_ctrl [-list_pool_content][-list_pools][-erase_pool_content] [-pool pool_name] [-application application_name] [-object object_name] [-start_date yyyymmddhhmmss] [-end_date yyyymmddhhmmss] [-force] [-catalog catalog] [-help]
```

<table><thead><tr><th width="285">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-list_pools]</strong></td><td>Lists all deduplication pools.</td></tr><tr><td><strong>[-list_pool_content]</strong></td><td>Displays recycling information of backups in the selected pool.</td></tr><tr><td><strong>[-erase_pool_content]</strong></td><td>Erases the content of the pool from the catalog. Erasing from deduplication storage will be performed by next maintenance job.</td></tr><tr><td><strong>[-pool pool_name]</strong></td><td>Specifies the pool to which the list or erase operations of the pool content are applied. Can be used only if options <code>-erase_pool_content</code> or <code>-list_pool_content</code> are used.</td></tr><tr><td><strong>[-application application_name]</strong></td><td>Specifies the application to which the list or erase operations are applied for the pool. Can be used only if option <code>-pool</code> is used.</td></tr></tbody></table>

<table><thead><tr><th width="311.66668701171875">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>[-object object_name]</strong></td><td>Specifies the object to which the list or erase operations are applied. Can be used only if option <code>-application</code> is used.</td></tr><tr><td><strong>[-start_date yyyymmddhhmmss]</strong></td><td>Specifies the backup date from which the list and erase operations are applied. Can be used only if option <code>-pool</code> is used.</td></tr><tr><td><strong>[-end_date yyyymmddhhmmss]</strong></td><td>Specifies the backup date up to which the list and erase operations are applied. Can be used only if option <code>-pool</code> is used.</td></tr><tr><td><strong>[-force]</strong></td><td>Forces erase operation. Can be used only if option <code>-erase_pool_content</code> is used.</td></tr><tr><td><strong>[-catalog catalog]</strong></td><td>Catalog name.</td></tr><tr><td><strong>[-help]</strong></td><td>Help for this command. The alias for this option is <code>-h</code>.</td></tr></tbody></table>

**Examples of use cases**

**1. Recycling data of a test VM, or of a VM backed up by mistake**

For integrity reasons, whatever the retention period, there is always at least one instance of a backed-up object in a deduplication storage.

The last instance can be removed either by deleting the entire HVA application, or using `tina_storage_ctrl` as follows:

**a. Check contents**

You need to know the name of the deduplication pool, the name of the Tina application and the name of the VM. In this example, the pool name is `dedup_days`, the application name is `HVvmw` and the VM name is `ipcop`.

```bash
tina_storage_ctrl -catalog tina1 -list_pool_content -pool dedup_days -application HVvmw -object ipcop

Name: Pack 111 for Job ID 202 and delegated object ipcop,
Retention: 4124, Integrity: 1, Type: 1, Job: 202, Application name: HVvmw,
Object name: ipcop, Archive time: 2018 February 22 18:15:21, Recyclable: No,
Reason: retention - integrity

Name: Pack 110 for Job ID 200 and delegated object ipcop,
Retention: 1182, Integrity: 0, Type: 1, Job: 200, Application name: HVvmw,
Object name: ipcop, Archive time: 2018 February 22 17:26:19, Recyclable: No,
Reason: retention
```

Each line describes the state of one backup, with the following fields:

* **Name:** Description of the corresponding backup with its Tina data storage id, job id, and object name.
* **Retention:** Remaining retention time in seconds.
* **Integrity:** Integrity status. Values are:
  * `1`: The backup is the more recent available on this object.
* `0`: There is at least one more recent backup.
  * On HVDS, incremental backups are consolidated into the repository, so any kind of backup (incremental or full) can be the integrity backup.
  * On XDF, there is no consolidation, so the integrity backup is the more recent full backup, plus all following incremental backups.

> **Note:** The media format cannot be `tar` nor `cpio`.

* **Type:** Type of deduplication repository where the job is stored. Values are:
  * `1`: HVDS
  * `2`: XDF
* **Job id:** Id of the backup job.
* **Application name:** Name of the Tina HVA application.
* **Object name:** Name of the object. For Virtualization applications like VMware and Hyper-V, it is the Virtual Machine name.
* **Archive time:** Date and time of the backup.
* **Recyclable:** Yes if it is automatically recyclable, No if not.
* **Reason:** If not recyclable, the reason(s) why it is not recyclable.

**b. Erase contents**

Erase operation will ask confirmation if some of the selected data are protected by integrity. In this example, we decide to keep the data in integrity to show the `-force` option afterward:

```bash
tina_storage_ctrl -catalog tina1 -erase_pool_content -pool dedup_days -application HVvmw -object ipcop

Name: Pack 111 for Job ID 202 and delegated object ipcop,
Retention: 4124, Integrity: 1, Type: 1, Job: 202, Application
name: HVvmw, Object name: ipcop, Archive time: 2018 February
22 18:15:21, Recyclable: No, Reason: retention - integrity

Name: Pack 110 for Job ID 200 and delegated object ipcop,
Retention: 1182, Integrity: 0, Type: 1, Job: 200, Application
name: HVvmw, Object name: ipcop, Archive time: 2018 February
22 17:26:19, Recyclable: No, Reason: retention

WARNING: some selected data are in a retention period or
essential to the integrity of the backup.

Erase all selected packs (y), only packs with no critical
data (n), cancel operation (c). Confirm y/n/c>(n) n

Operation has skipped 1 non-erasable pack(s)

Operation has erased 1 pack(s)
```

If you are certain you want to erase and do not want confirmation, add the `-force` option:

**`tina_storage_ctrl -catalog tina1 -erase_pool_content -pool dedup_days -application HVvmw -object ipcop -force`**

```bash
tina_storage_ctrl -catalog tina1 -erase_pool_content -pool dedup_days -application HVvmw -object ipcop -force

Operation has erased 1 pack(s)
```

This does not list the selected and erased backups, and does not ask for confirmation. It only displays how many backups have been erased.

**2. Listing backups in a determined period of time**

In this example, the pool name is `myDedupPool`, the application name is `HVvmw` and the VM name is `fedmin`.

**a. List all backups for the selected VM**

```bash
tina_storage_ctrl -catalog tina1 -list_pool_content -pool myDedupPool -application HVvmw -object fedmin

Name: Pack 107 for Job ID 194 and delegated object fedmin,
Retention: 0, Integrity: 1, Type: 1, Job: 194, Application
name: HVvmw, Object name: fedmin, Archive time: 2018 February
22 14:44:05, Recyclable: No, Reason: integrity

Name: Pack 106 for Job ID 192 and delegated object fedmin,
Retention: 0, Integrity: 0, Type: 1, Job: 192, Application
name: HVvmw, Object name: fedmin, Archive time: 2018 February
22 14:25:25, Recyclable: Yes

Name: Pack 105 for Job ID 190 and delegated object fedmin,
Retention: 0, Integrity: 0, Type: 1, Job: 190, Application
name: HVvmw, Object name: fedmin, Archive time: 2018 February
22 14:07:22, Recyclable: Yes

Name: Pack 104 for Job ID 188 and delegated object fedmin,
Retention: 0, Integrity: 0, Type: 1, Job: 188, Application
name: HVvmw, Object name: fedmin, Archive time: 2018 February
22 14:03:02, Recyclable: Yes
```

**b. List the backups in the selected period for the selected VM**

```bash
tina_storage_ctrl -catalog tina1 -list_pool_content -pool myDedupPool -application HVvmw -object fedmin -start_date 20180222140500 -end_date 20180222143000

Name: Pack 106 for Job ID 192 and delegated object fedmin,
Retention: 0, Integrity: 0, Type: 1, Job: 192, Application
name: HVvmw, Object name: fedmin, Archive time: 2018 February
22 14:25:25, Recyclable: Yes

Name: Pack 105 for Job ID 190 and delegated object fedmin,
Retention: 0, Integrity: 0, Type: 1, Job: 190, Application
```

#### tina\_stream

The `tina_stream` command allows you to read data flows sent through a named pipe by a variety of operations (`dump`, `cp`, SGBD backups, etc.). Once read, data is archived on a media belonging to the user's media pool.

> **Note:** The media format cannot be `tar` nor `cpio`.

An object `object_name` belonging to the owner `user` is created in the destination archive `archive_dest`.

> **Note:** The `tina_restore` command allows you to perform the opposite operation, i.e., to restore data in a named pipe. Specify the named pipe in the `path_dest path` parameter. See `tina_restore` for details.

**Rights**

Users with this right in Tina can launch this command:

* Archive files

For more information on users and access rights, see the Tina Administration Documentation.

**Syntax**

```bash
tina_stream -pipe pipe -folder folder -archive archive_path [-create_archive] [-keywords keyword1 keyword2] -name object_name -user user [-silent] [-pool p1 [p2]...] [-drive drive] [-sync_cart] [-date yyyymmddhhmm] [-v_jobid] [-catalog catalog] [-help]
```

<table><thead><tr><th width="235">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>-pipe pipe</strong></td><td>Specifies a named pipe. The syntax of the parameter <code>-pipe</code> corresponds to that used by the operating system of the local machine. The path can contain symbolic links and can also be located in any filesystem supporting pipes.</td></tr><tr><td><strong>-folder folder</strong></td><td>Specifies the destination archive folder. In the case of a backup folder, you must specify if the folder belongs to a host <code>[-folder host.&#x3C;host_name>]</code> or to an application <code>[-folder appl.&#x3C;application_name>]</code>. Destination folder using cartridges in either the <code>tar</code> or <code>cpio</code> format are not supported by the <code>tina_stream</code> command.</td></tr><tr><td><strong>-archive archive_path</strong></td><td>Specifies the absolute path of the archive in the destination folder. The syntax of the parameter <code>-archive</code> corresponds to the Unix syntax.</td></tr></tbody></table>

<table><thead><tr><th width="261">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>-create_archive</strong></td><td>Specifies the creation of the destination archive if it does not exist.</td></tr><tr><td><strong>-keywords</strong></td><td>Specifies a list of keywords that will be associated to the archive. Only type keywords chosen from the keyword list of the archive folder.</td></tr><tr><td><strong>-name object_name</strong></td><td>Specifies the created object in the <code>archive</code> destination archive.</td></tr><tr><td><strong>-user user</strong></td><td>Specifies the owner of the <code>object_name</code> created.</td></tr><tr><td><strong>-silent</strong></td><td>Specifies that the command is executed without information display.</td></tr><tr><td><strong>-pool p1 [p2]...[p4]</strong></td><td>Specifies a list of media pools. The list is limited to 4 pools. If it is not specified, the program searches for the pool name in the folder.</td></tr><tr><td><strong>-drive drive</strong></td><td>Specifies the drive of the local machine.</td></tr><tr><td><strong>-sync_cart</strong></td><td>Specifies the end of archiving once data has been written on medias. If the option is not specified, the end of archiving is specified once data has been written in the cache.</td></tr><tr><td><strong>-date yyyymmddhhmm</strong></td><td>Specifies the archiving date (year, month, day, hour and minute). The option allows you to preset the archiving date. If it is not specified, the default date is that of the machine.</td></tr><tr><td><strong>-v_jobid</strong></td><td>Displays the ID of the current job while the command is running.</td></tr><tr><td><strong>-catalog catalog</strong></td><td>Specifies the working catalog. The parameter is mandatory if there are several catalogs.</td></tr></tbody></table>

**Example: Use tina\_stream in a Named Pipe**

In this example, a new object called `vmunix` is archived in the archive `/archive1` of the central folder `folder`. It belongs to `root` and is written on one of the medias of the media pool `pool`.

**To read a data flow with tina\_stream**

1. Create a named pipe (only the `root` user can create a named pipe):

```bash
mknod /dev/tina p
```

2. Create a media pool called `pool` using Web Administration (`Backup Destinations > Media Pools > New Pool`).
3. Associate the pool with a label (`Label textbox`) and drives (`Associated Drives area`).
4. Prelabel one or several medias of the pool using Web Administration or Restore & Archive Manager (`Backup Destinations > Media Pools > Write Label button`).
5. Create an archive folder called `folder` with Restore & Archive Manager (`Archiving > Folders > New`).
6. Create an archive called `/archive1` using the `tina` application (`Archiving > Archives > New menu`).
7. Supply the named pipe:

```bash
cp /vmunix /dev/tina
```

8. Read the named pipe:

```bash
tina_stream -pipe /dev/tina -folder folder \
-archive /archive1 -name vmunix -user root \
-pool pool
```

> **Note:** If an error occurs while reading the pipe (such as `TN_ERR_TIMEOUT`), a major alarm is issued on the job and on the host.

> **Note:** Traditionally, this operation was executed in a Unix script initiated by `cron`. Never use a slash (`/`) in the object name because it is used as a path separator for Unix files. It would then be impossible to access the object.

**Example: Using tina\_stream in a Script**

This script executes the partition dump of Sun machines and assigns names depending on a table contained in the file `hostname.data` specific to each machine. The script, called `dumpsys`, can be executed by `cron` on the first day of each month, at midnight. Add this line in the crontabs of `root`:

```bash
0 0 1 * * dumpsys obelix
file dumpsys
#!/bin/csh -f

if ( $#argv != 1 ) then
echo «usage: $0 fichier_de_donnees»
exit 1
endif

set liste = `cat $1.data`
set i = 1
while ( $i <= $#liste )
set fs = $liste[$i]
@ i++
set name = $liste[$i]
/etc/dump 0usf 100000 - /dev/$fs > /dev/tina&
~tina/tina_stream /dev/tina backup_systeme $1_$name root bckSYS
@ i++
end

exit 0
file hostname.data
sd0a root
sd0g usr
```

#### tina\_synchvds

The `tina_synchvds` command allows you to perform HyperVision Deduplication Storage maintenance tasks.

> **Important:** This command must be used only with Technical Support assistance.

**Rights**

Users with administration right in Tina can launch this command.

For more information on users and access rights, see the Tina Administration Documentation.

**Syntax**

```bash
tina_synchvds [-catalog catalog] [-identity identity] [-catalog_id UUID] \
[-list_clients]|[-client UUID]|[-synchronize mode] \
[-path_to_remove full_path]|[-remove] \
[-config_name config_name]|[-hvds_server server_name] \
[-hvds_port port_num]|[-hvds_user user_name] \
[-hvds_password Password] [-console] [-help]
```

<table><thead><tr><th width="231">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>-catalog catalog</strong></td><td>Catalog name.</td></tr><tr><td><strong>-identity identity</strong></td><td>Catalog identity of the user. Identity format is <code>"user:passwd"</code> or <code>"user"</code>.</td></tr><tr><td><strong>-catalog_id UUID</strong></td><td>ID string of a catalog to operate on. If not provided, the UUID of the catalog used to authenticate will apply.</td></tr><tr><td><strong>-synchronize mode</strong></td><td>`check</td></tr><tr><td><strong>-list_clients</strong></td><td>Lists HVDS clients declared for a catalog.</td></tr><tr><td><strong>-client UUID</strong></td><td><p>UUID of HVDS client. Used to:</p><ul><li>Remove a single file from this client</li><li>Remove this client from HVDS depending on other parameters</li><li>Simply list its content</li></ul></td></tr></tbody></table>

<table><thead><tr><th width="252.33331298828125">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>-path_to_remove full_path</strong></td><td>Full path, including time extension, of the file to remove from client.<strong>Important:</strong> This option must only be used if recommended by Customer Support.Can be used only if <code>-client</code> is used.</td></tr><tr><td><strong>-remove</strong></td><td>Request to remove client from HVDS.<strong>Important:</strong> This option must only be used if recommended by Customer Support.Can be used only if <code>-client</code> is used.</td></tr><tr><td><strong>-config_name config_name</strong></td><td>Configuration to connect to HVDS, as it is known from the catalog.</td></tr><tr><td><strong>-hvds_server server_name</strong></td><td>Name (or IP address) of HVDS server to connect to.Can be used only if <code>-hvds_port</code>, <code>-hvds_user</code>, and <code>-hvds_password</code> are used.</td></tr><tr><td><strong>-hvds_port port_num</strong></td><td>Port number to connect to HVDS server.Can be used only if <code>-hvds_server</code>, <code>-hvds_user</code>, and <code>-hvds_password</code> are used.</td></tr><tr><td><strong>-hvds_user user_name</strong></td><td>User name to authenticate with HVDS server.Can be used only if <code>-hvds_server</code>, <code>-hvds_port</code>, and <code>-hvds_password</code> are used.</td></tr><tr><td><strong>-hvds_password Password</strong></td><td>Password to authenticate user with HVDS server.Can be used only if <code>-hvds_server</code>, <code>-hvds_port</code>, and <code>-hvds_user</code> are used.</td></tr><tr><td><strong>-console</strong></td><td>Specifies output to console mode (implicit when <code>-list_clients</code> or <code>-client</code> are specified).</td></tr><tr><td><strong>-help</strong></td><td>Lists all options. Alias of this option is <code>-h</code>.</td></tr></tbody></table>

#### tina\_synchronization

The `tina_synchronization` command allows you to perform any repository maintenance task.

> **Important:** This command must be used only with Technical Support assistance.

**Rights**

Users with administration right in Tina can launch this command.

#### **tina\_synchronization**

The `tina_synchronization` command allows you to perform any repository maintenance task.

> **Important:** This command must be used only with Technical Support assistance.

**Rights**

Users with administration right in Tina can launch this command.

For more information on users and access rights, see the Tina Administration Documentation.

**Syntax**

```bash
tina_synchronization -type type [-list_clients] \
[-synchronize synchronize] [-remove] [-content] \
[-client_uuid client_uuid] [-rep_config_name rep_config_name] \
[-identity identity] [-catalog catalog] [-help]
```

<table><thead><tr><th width="309.66668701171875">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>-type type</strong></td><td>Specifies the type of the repository to use `[xdcs</td></tr><tr><td><strong>-list_clients</strong></td><td>Lists all clients of the catalog and the repositories.</td></tr><tr><td><strong>-synchronize synchronize</strong></td><td>Specifies the synchronization mode `[normal</td></tr><tr><td><strong>-remove</strong></td><td>Removes a client.Can be used only if the options <code>-client_uuid</code> and <code>-rep_config_name</code> are used.</td></tr><tr><td><strong>-content</strong></td><td>Lists the content of all clients or a specific client in the repository.Can be used only if the options <code>-client_uuid</code> and <code>-rep_config_name</code> are used.</td></tr><tr><td><strong>-client_uuid client_uuid</strong></td><td>Specifies the client UUID on which to execute the action.</td></tr><tr><td><strong>-rep_config_name rep_config_name</strong></td><td>Sets the repository configuration name.</td></tr><tr><td><strong>-identity identity</strong></td><td>Specifies the catalog identity of the user.The identity format is <code>"user:passwd"</code> or <code>"user"</code>.</td></tr><tr><td><strong>-catalog catalog</strong></td><td>Specifies the catalog name.</td></tr><tr><td><strong>-help</strong></td><td>Lists all options. Alias of this option is <code>-h</code>.</td></tr></tbody></table>

#### tina\_tunable\_ctrl

The `tina_tunable_ctrl` command enables you to set, update, or delete a tunable across a list of hosts in a single command.

The list can be provided either in the form of a predefined file containing a list of hosts using the option `-list`, or you can specify the name of each host to which you want to apply the tunable with the option `-hosts`. The tunable is set sequentially on all the hosts you indicate. If a host is unreachable, the command waits until the network timeout is reached, then moves on to the next host in the list.

If the tunable is already set on one of the hosts specified, its value is not changed, unless you use the option `-force` or `-merge` to update the new tunable values. `-force` overwrites the existing values whereas `-merge` adds the new values to the existing ones.

> **Note:** The command does not verify the validity of the tunable. If a host does not behave as expected after running the command, verify the tunable parameters and check the host logs.

**Required Permissions**

Users with the Configuration permission in Tina can launch this command.

**Syntax**

```bash
tina_tunable_ctrl [-verbose] [-catalog catalog] \
[-identity user:passwd] [-file file] [-hosts hosts] \
[-name name] [-comment comment] [-catalogs catalogs] \
[-binaries binaries] [-values values] [-disabled] \
[-force] [-merge] [-remove] [-help]
```

<table><thead><tr><th width="239.6666259765625">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>-verbose</strong></td><td>Displays information on the screen once the command has been executed.</td></tr><tr><td><strong>-catalog catalog</strong></td><td>Specifies the working catalog. The parameter is mandatory if there are several catalogs.</td></tr><tr><td><strong>-identity user:passwd</strong></td><td>See<a href="#specific-parameters"><kbd><mark style="color:blue;"><code>Specific Parameters.htm</code></mark></kbd></a><kbd><mark style="color:blue;">.</mark></kbd></td></tr><tr><td><strong>-file file</strong></td><td>Specifies the name of a text file containing the list of hosts on which you want to set the tunable. If you use both <code>-file</code> and <code>-hosts</code> options, only <code>-file</code> is taken into account.The text file must contain one host per line.</td></tr><tr><td><strong>-hosts hosts</strong></td><td>Specifies the names of the hosts on which you want to set the tunable. The host names must be separated by a space.</td></tr><tr><td><strong>-name name</strong></td><td>Specifies the name of the tunable to set. If you do not specify a name, the command reads and displays the tunables found in the logs on the hosts.</td></tr><tr><td><strong>-comment comment</strong></td><td>Enables you to add a comment.</td></tr><tr><td><strong>-catalogs catalogs</strong></td><td>Specifies the list of catalogs for which the tunable is active. By default the tunable is active on all catalogs.</td></tr><tr><td><strong>-binaries binaries</strong></td><td>Specifies the list of binaries for which the tunable is active. By default the tunable is active on all binaries.</td></tr></tbody></table>

<table><thead><tr><th width="223">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>-values_values</strong></td><td>Specifies the value, or list of values if the tunable is an array, of the tunable to set.</td></tr><tr><td><strong>-disabled</strong></td><td>Specifies to disable the tunable. Use this option if you want to temporarily disable a tunable without removing it from the hosts.</td></tr><tr><td><strong>-force</strong></td><td>When you update an existing tunable, the <code>-force</code> option enables you to overwrite the existing parameters of the tunable.</td></tr><tr><td><strong>-merge</strong></td><td><p>When you update an existing tunable, the <code>-merge</code> option enables you to merge some existing parameters of the tunable as follows:</p><ul><li>Value is overwritten</li><li>Comment is overwritten</li><li>Binaries are merged with the existing</li><li>Catalogs are merged with the existing</li></ul></td></tr><tr><td><strong>-remove</strong></td><td>Specifies to permanently remove the tunable from the hosts.</td></tr></tbody></table>

**Example: Using tina\_tunable\_ctrl to set a tunable**

This command sets the tunable `no_ping` to `Yes` on the hosts `tryphon`. The tunable is active with the catalogs `440_tryphon`, `maaki`, `doc` and `mrkt`.

```bash
tina_tunable_ctrl -hosts tryphon -name no_ping \
-comment "Unavailable host" \
-catalogs 440_tryphon maaki doc mrkt \
-values Yes -verbose
```

And returns this information :

```
Host[0]=tryphon : Trying to insert tunable "no_ping"
Host[0]=tryphon : Unable to find tunable "no_ping"
Host[0]=tryphon : Tunable "no_ping" added in list
Host[0]=tryphon : Tunable "no_ping" set
```

**Example: Using tina\_tunable\_ctrl to update a tunable**

This command updates the lists of catalogs on which the tunable `no_ping` will be active on the host `tryphon`.

```bash
tina_tunable_ctrl -hosts tryphon -name no_ping \
-catalogs newcata -merge
```

**Example: Using tina\_tunable\_ctrl to delete a tunable**

This command deletes the tunable `no_ping` from the host `tryphon`.

```bash
tina_tunable_ctrl -hosts tryphon -name no_ping -remove
```

#### **tina\_user\_info\_cmd**

This agent-side command allows end users to access information relating to On Demand Backups, to launch On Demand Backups, or cancel On Demand Backups in progress. It offers some of the functionalities of the Agent Job Viewer GUI from the command line.

Users have access to this function if they have been given authorization by the administrator.

```bash
tina_user_info_cmd [-output_format text|csv] \
[-csv_separator csv_separator] \
[-start_eub] [-abort_eub] \
[-catalog catalog] [-help]
```

<table><thead><tr><th width="273.66668701171875">Option</th><th>Description</th></tr></thead><tbody><tr><td><strong>-output_format text|csv</strong></td><td>Specifies the format used to export the data to standard output. Default value is <code>text</code>.</td></tr><tr><td><strong>-csv_separator csv_separator</strong></td><td>Specifies the separator used with the CSV format (default value is <code>";"</code>).</td></tr><tr><td><strong>-start_eub</strong></td><td>Starts an On Demand Backup.</td></tr><tr><td><strong>-abort_eub</strong></td><td>Cancels an On Demand Backup already in progress.</td></tr><tr><td><strong>-catalog catalog</strong></td><td>Catalog name.</td></tr><tr><td><strong>-help</strong></td><td>This page. Alias on this option is <code>-h</code>.</td></tr></tbody></table>

**Example: Sample output when used for information (no arguments or only output formatting arguments)**

```
C:\Program Files\Atempo\tina4\Bin>tina_user_info_cmd
---------------------------------------------
HOST: takata
---------------------------------------------
Service is up
Last completed backup: Wed Sep 20 20:00:36 2006
The last known backup started at Thu Sep 21 14:17:37 2006 terminated on error
Next backup: Thu Sep 21 20:00:00 2006
Backup in progress ...
No Restore in progress
On Demand Backup is available
On Demand Backup list for Catalog rabbit :
On Demand Backup Job 297 Running
Started at Thu Sep 21 14:36:22 2006
Platform host.takata
Class : /e/410AutomapTest
On Demand Backup Job 296 Terminated On Error
Started at Thu Sep 21 14:17:37 2006
Platform host.takata
Class : /e/410AutomapTest
```

**Example**

This command stops a backup already in progress on a catalog called `rabbit`:

```bash
tina_user_info_cmd -abort_eub -catalog rabbit
```

## Internationalization

This topic indicates for all commands, the options that accept internationalized characters and the ones that do not accept internationalized characters.

| Command                    | Internationalized Options                                                                                                                                                                                                                                                      | Non Internationalized Options                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **tina**                   | No internationalized options for this command                                                                                                                                                                                                                                  | —                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| **tin@**                   | No internationalized options for this command                                                                                                                                                                                                                                  | —                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| **tina\_acct**             | `[-xml_stylesheet_type stylesheet_type][-file file][-customer_id customer_id]`                                                                                                                                                                                                 | `[-host host1 [host2]...][-platform platform1 [platform2]...][-volume_unit kilo\|mega\|giga][-back_hour hours][-start_date yyyymmddhhmm][-end_date yyyymmddhhmm][-skipped_jobs][-display_active_jobs_only][-v_classes][-v_report_date][-v_period][-v_catalog][-v_platform][-v_jobtype][-v_status][-v_user][-v_description][-v_dates][-v_elapsed][-v_jobid][-v_father_jobid][-v_volume][-v_expected_volume][-v_objects][-v_cart][-v_barcode][-v_folder][-v_properties][-v_duplicated_job_id][-v_vm_name][-output_format text\|xml\|csv][-csv_separator csv_separator][-xml_stylesheet_file file][-catalog catalog][-identity user:passwd][-help]` |
| **tina\_adm**              | No internationalized options for this command                                                                                                                                                                                                                                  | —                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| **tina\_alarm**            | `[-text text]`                                                                                                                                                                                                                                                                 | `-severity severity_level[-catalog catalog][-library library][-host host][-application application][-drive drive][-label label][-alarm_id id][-jobid id][-help]`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| **tina\_alpha**            | No internationalized options for this command                                                                                                                                                                                                                                  | —                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| **tina\_archive**          | `[-folder_dest folder][-archive_dest archive_path]`Note: `-folder_dest` and `-archive_dest` are internationalized only for file system archiving, not for application archiving.`[-file_list file_path][-file_list_dest file_path][-user user][-password password][-keywords]` | `[-host host][-application application][-create_archive][-path path1 [path2]...][-full]\|[-incr][-pool p1 [p2]...][-drive drive][-sync_cart][-v_jobid][-date yyyymmddhhmm][-catalog catalog][-identity user:passwd][-error_mode continue\|abort][-no_r][-help]`                                                                                                                                                                                                                                                                                                                                                                                  |
| **tina\_archive\_control** | `[-folder folder_name][-archive archive_name][-description description][-keywords keyword1 [keyword2]...][-prolog file_path][-epilog file_path][-os_user user_name][-os_group group_name]`                                                                                     | `-create\|-edit\|-remove\|-list\|-statistic\|-view[-remove_keywords][-permission permission1 [permission2]...][-cartridge_format format1 [format2]...][-file_format format1 [format2]...][-through_link yes/no][-pool pool_name1 [pool_name2]...][-host host_name][-manage_acl yes/no][-lanfree yes/no][-remove_archived_file yes/no][-use_empty_archive yes/no][-sync_cart yes/no][-continue_on_error yes/no][-keyword_on_archive yes/no][-propagate][-catalog catalog][-output_format text\|csv][-csv_separator csv_separator][-protected_size][-type][-help]`                                                                                 |
| **tina\_backup**           | `[-user user][-password password][-file_list file_path][-parallel_file_list file_path]`                                                                                                                                                                                        | `[-host host][-application application][-full]\|[-incr][-strat A\|B\|C\|D][-sync_cart][-v_jobid][-date yyyymmddhhmm][-path path1 [path2]...][-encode][-compress][-catalog catalog][-identity user:passwd][-help]`                                                                                                                                                                                                                                                                                                                                                                                                                                |
| **tina\_cache**            | No internationalized options for this command                                                                                                                                                                                                                                  | —                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| **tina\_cart**             | No internationalized options for this command                                                                                                                                                                                                                                  | —                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |

| Command                  | Internationalized Options                     | Non Internationalized Options                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ------------------------ | --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **tina\_cart\_control**  | `[-pool pool_label][-pool_dest pool_label]`   | `[-label label][-drive drive]-close\|-reopen\|-recycle\|-erase\|-delete\|-status\|-create\|-duplicate\|-list[-depth valueUNIT][-before]\|[-after][-all][-no_empty][-online_ready][-nbcart nbcart][-force][[ -range valueUNIT]][-barcode barcode1 [barcode2]...][-output_format text\|csv][-csv_separator separator][-short]\|[-long][-do_not_check_data_integrity][-retention valueUNIT][-status_filter status_filter1 [status_filter2]...][-catalog catalog][-v_name][-v_barcode][-v_volume][-v_unit][-v_tape_file][-v_status][-v_recycling][-v_location][-v_rule][-v_description][-v_creation_date][-v_backup_date][-v_format][-v_wear_level][-v_recyclable][-v_recycle_age][-v_type][-v_pool_label][-v_close_status][-v_fill_status][-identity identity][-help]` |
| **tina\_catalog\_ctrl**  | No internationalized options for this command | —                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| **tina\_clone\_catalog** | `[-boot boot_file][-file file]`               | `[-disable][-size size_MB][-index index][-catalog_name catalog_name][-pipe pipe][-folder folder][-skip_folder folder][-boot_restore_index][-file_size file_size][-max_catalog_size max_catalog_size]`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| **tina\_cod**            | No internationalized options for this command | —                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| **tina\_config**         | `[-encode file][-decode file]`                | `[-html][-catalog catalog][-identity user:password][-help]`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| **tina\_daemon**         | No internationalized options for this command | —                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| **tina\_del**            | `-path_folder path[-folder folder]`           | `[-r]\|[-i][-strat A\|B\|C\|D][-catalog_only][-identity user:passwd][-help]`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |

| Command                 | Internationalized Options                                                                                | Non Internationalized Options                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| ----------------------- | -------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **tina\_event**         | `[-file file][-output_file output_file]`                                                                 | `[-v_development][-v_ad_cell_obj][-v_class][-v_pid][-v_job_id][-v_program][-v_host][-v_user][-v_catalog][-v_server][-v_log_date][-severity_full][-f_date YYYYMMDDHHmm YYYYMMDDHHmm][-f_pid pid][-f_job_id jobid1 [jobid2]...][-f_program program][-f_host hostname][-f_user username][-f_catalog catalog][-f_server server][-f_severity alarm_critical alarm_major alarm_minor fatal error warning info acct debug][-f_log_date YYYYMMDDHHmm YYYYMMDDHHmm][-all_event][-output_format text\|csv][-csv_separator csv_separator][-split_by catalog][-max_line number_line][-target_host hostname][-catalog catalog][-help]` |
| **tina\_event\_viewer** | No internationalized options for this command                                                            | —                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| **tina\_export**        | `-folder folder-folder_dest folder[-path_folder path1 [path2]...][-path_folder_dest archive_path]`       | `[-date yyyymmddhhmm][-date_dest date][-strat A\|B\|C\|D][-catalog_dest catalog][-update][-strat_dest A\|B\|C\|D][-full]\|[-incr][-catalog catalog][-help]`                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| **tina\_find**          | `[-path_folder search_path][-pattern "pattern"][-folder archive_folder][-user user][-password password]` | `[-host host1 [host2]...][-application application1 [application2]...][-depth valueUNIT][-lost_files][-strat A\|B\|C\|D][-all][-long][-display_cart][-nfs][-date yyyymmddhhmm][-no_r][-catalog catalog][-catalog_only][-identity user:passwd][-output_format text\|csv][-csv_separator csv_separator][-help]`                                                                                                                                                                                                                                                                                                             |

| Command                    | Internationalized Options                                                                                                                                                            | Non Internationalized Options                                                                                                                                                                                                                                                             |
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **tina\_folder\_control**  | `[-file catalog_backup]`                                                                                                                                                             | `[-end_folder_maintenance][-import_folder][-keep_platform_disabled][-catalog catalog]`                                                                                                                                                                                                    |
| **tina\_help**             | Displays the localized version of alarm contents                                                                                                                                     | —                                                                                                                                                                                                                                                                                         |
| **tina\_init**             | `[-file file1 [file2]...][-index index1 [index2]...]tina_init also manages the interactive input of internationalized values for the catalog name and password, and the Cache Path.` | `[-disable][-config][-close_cart][-size size_MB][-nb_instance nb][-boot boot_file][-catalog catalog][-pipe pipe][-folder folder1 [folder2]...][-path path][-force_reinit][-boot_restore_index][-max_catalog_size size][-memory_cache_only][-create][-modify][-property_file_path][-help]` |
| **tina\_job**              | No internationalized options for this command                                                                                                                                        | —                                                                                                                                                                                                                                                                                         |
| **tina\_job\_control**     | No internationalized options for this command                                                                                                                                        | —                                                                                                                                                                                                                                                                                         |
| **tina\_library**          | No internationalized options for this command                                                                                                                                        | —                                                                                                                                                                                                                                                                                         |
| **tina\_library\_control** | No internationalized options for this command                                                                                                                                        | —                                                                                                                                                                                                                                                                                         |
| **tina\_listcart**         | No internationalized options for this command                                                                                                                                        | —                                                                                                                                                                                                                                                                                         |
| **tina\_listjob**          | No internationalized options for this command                                                                                                                                        | —                                                                                                                                                                                                                                                                                         |
| **tina\_odbcheck**         | No internationalized options for this command                                                                                                                                        | —                                                                                                                                                                                                                                                                                         |
| **tina\_odbfree**          | No internationalized options for this command                                                                                                                                        | —                                                                                                                                                                                                                                                                                         |

| Command                | Internationalized Options                                                                                                                                    | Non Internationalized Options                                                                                                                                                                                                                                                                                                                                                                                                      |
| ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **tina\_odbgc**        | No internationalized options for this command                                                                                                                | —                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| **tina\_odbsave**      | `[-file odbsave_file][-index_dir destination_directory]`                                                                                                     | `[-no_compress][-max_output_size size_MB][-dir_dest destination_directory1 [destination_directory2]...][-check][-folder folder1 [folder2]...][-config][-no_job][-prefix prefix][-pipe odbsave_pipe][-catalog catalog][-help]`                                                                                                                                                                                                      |
| **tina\_operator**     | No internationalized options for this command                                                                                                                | —                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| **tina\_ping**         | No internationalized options for this command                                                                                                                | —                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| **tina\_report**       | `[-customer_id customer_id][-xml_stylesheet_file file][-file file]`                                                                                          | `[-start_date YYYYMMDDHHmm][-end_date YYYYMMDDHHmm][-simple_invoice]\|[-detailed_invoice][-output_format text\|xml\|csv][-csv_separator csv_separator][-xml_stylesheet_type stylesheet_type][-volume_unit kilo\|mega\|giga\|tera][-encode][-catalog catalog][-identity][-help]`                                                                                                                                                    |
| **tina\_restore**      | `-file_list file_path[-file_list_dest file_path][-ex_path_folder path1 [path2]...][-ex_file_list file_path][-folder folder][-user user][-password password]` | `-path_folder path1 [path2]...[-path_dest path][-folder_dest folder][-drive drive][-strat A\|B\|C\|D][-mode restore_mode][-date yyyymmddhhmm \| yyyymmddhhmmss][-no_rewind][-silent][-offline_mode offline_mode][-v_jobid][-error_mode continue\|abort\|replace_after_reboot][-test_mode test_mode][-secure_interactive_password][-secure_session_password_id][-catalog catalog][-identity user:passwd][-all_vers][-depth][-help]` |
| **tina\_scm**          | No internationalized options for this command                                                                                                                | —                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| **tina\_scm\_control** | No internationalized options for this command                                                                                                                | —                                                                                                                                                                                                                                                                                                                                                                                                                                  |

| Command                             | Internationalized Options                                                                                                                                   | Non Internationalized Options                                                                                                                            |
| ----------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **tina\_sched**                     | No internationalized options for this command                                                                                                               | —                                                                                                                                                        |
| **tina\_sendmail**                  | No internationalized options for this command                                                                                                               | —                                                                                                                                                        |
| **tina\_shell**                     | `[-file script_file]`                                                                                                                                       | `[-catalog catalog][-identity user:password][-help]`                                                                                                     |
| **tina\_sidf**                      | No internationalized options for this command                                                                                                               | —                                                                                                                                                        |
| **tina\_start\_backup**             | No internationalized options for this command                                                                                                               | —                                                                                                                                                        |
| **tina\_stop**                      | No internationalized options for this command                                                                                                               | —                                                                                                                                                        |
| **tina\_stream**                    | `-name object_name-user user[-keywords keyword1 keyword2]-pipe pipe-folder folder-archive archive_path`                                                     | `[-create_archive][-silent][-pool p1 [p2]...][-drive drive][-sync_cart][-date yyyymmddhhmm][-catalog catalog][-help]`                                    |
| **tina\_synchvds**                  | `[-identity identity][-path_to_remove full_path][-hvds_server server_name][-hvds_user user_name][-hvds_password Password]`                                  | `[-catalog catalog][-catalog_id UUID][-list_clients][-client UUID][-synchronize mode][-remove][-config_name config_name][-hvds_port port_num][-console]` |
| **tina\_tunable\_ctrl**             | `[-catalog catalog][-identity user:password][-file file][-hosts hosts]-name name[-comment comment][-catalogs catalogs][-binaries binaries][-values values]` | `[-verbose][-disabled][-force][-merge][-remove][-help]`                                                                                                  |
| **tina\_user\_ info\_cmd**          | No internationalized                                                                                                                                        |                                                                                                                                                          |
| <p><br>options for this command</p> |                                                                                                                                                             |                                                                                                                                                          |

## Additional Information

These topics give you more information on:

* [<mark style="color:blue;">Error Codes</mark>](#error-codes)
* [<mark style="color:blue;">Command Syntax Evolution</mark>](#command-syntax-evolution)
* [<mark style="color:blue;">Catalog Manual Procedures</mark>](#catalog-manual-procedures)

### Error Codes

| Error Name             | Error Code | Description                                                               |
| ---------------------- | ---------- | ------------------------------------------------------------------------- |
| **OK**                 | `0`        | Operation successfully completed                                          |
| **ERR\_PROCESS**       | `2`        | Saturated system, unable to launch a new process                          |
| **ERR\_COMM**          | `6`        | Error in the network connection                                           |
| **ERR\_SERV**          | `7`        | The server was unable to process the request due to an irregular behavior |
| **ERR\_REQ**           | `8`        | The request is incorrect                                                  |
| **ERR\_FATALE**        | `9`        | Abort due to a major inconsistency                                        |
| **ERR\_DISK**          | `10`       | Disk I/O error                                                            |
| **ERR\_ODB**           | `11`       | Major catalog inconsistency                                               |
| **ERR\_MEM**           | `12`       | Not enough memory to perform the operation                                |
| **ERR\_CONFIG**        | `17`       | The environment configuration is incorrect                                |
| **ERR\_FNF**           | `18`       | File not found                                                            |
| **ERR\_CONNECT\_SERV** | `19`       | Unable to connect to the server                                           |
| **ERR\_SERV\_RESS**    | `20`       | Not enough server resource to process request                             |
| **ERR\_PERM**          | `23`       | Unable to process request due to access rights problem                    |
| **ERR\_FS\_FULL**      | `25`       | File system full                                                          |

| Error Name                 | Error Code | Description                                               |
| -------------------------- | ---------- | --------------------------------------------------------- |
| **ERR\_BC**                | `27`       | Error while creating a backup class                       |
| **ERR\_STALE**             | `28`       | The handle is not attached to the object (missing object) |
| **ERR\_MAG\_PHYS**         | `29`       | Drive I/O error                                           |
| **ERR\_MAG\_EOT**          | `31`       | EOT (end of tape) reached                                 |
| **ERR\_ALLOC**             | `34`       | Resource is already allocated                             |
| **ERR\_NOLABEL**           | `35`       | The cartridge is not labeled                              |
| **ERR\_MAG\_FMT**          | `37`       | The cartridge format is incorrect                         |
| **ERR\_MAG\_NOT\_READY**   | `38`       | The drive is not ready or the cartridge is missing        |
| **ERR\_ABORT**             | `40`       | User abort                                                |
| **ERR\_MAG\_CART\_PROT**   | `39`       | The cartridge is write protected                          |
| **ERR\_CONNECT\_REM\_MAG** | `43`       | Unable to connect to the drive host                       |
| **ERR\_FORMAT\_TAR**       | `45`       | tar format error in the header/trailer                    |
| **ERR\_FORMAT\_CPIO**      | `46`       | cpio format error in the header/trailer                   |
| **ERR\_BCNF**              | `47`       | No backup class defined for the object                    |
| **ERR\_SHUTDOWN**          | `49`       | Abort due to a server shutdown                            |
| **ERR\_ROB\_NOT\_READY**   | `51`       | The library is not ready                                  |
| **ERR\_ROB\_REQ**          | `53`       | Unable to process request                                 |
| **ERR\_ROB\_PHYS**         | `54`       | Library I/O error                                         |
| **ERR\_MOUNT\_ABORT**      | `55`       | Mount request aborted                                     |
| **ERR\_ROB\_SRC\_VIDE**    | `58`       | The source location is empty                              |
| **ERR\_ROB\_DST\_PLEIN**   | `59`       | The destination location is already full                  |

| Error Name              | Error Code | Description                                              |
| ----------------------- | ---------- | -------------------------------------------------------- |
| **ERR\_MAG\_BUSY**      | `61`       | The drive is already allocated                           |
| **ERR\_EOF**            | `64`       | EOF (end of file) reached                                |
| **ERR\_CONNECT\_APP**   | `71`       | Unable to connect to the application                     |
| **ERR\_READ\_FILE**     | `73`       | Error while reading file from disk                       |
| **ERR\_WRITE\_FILE**    | `74`       | Error while writing file to disk                         |
| **ERR\_MOUNT\_RESS**    | `76`       | The resource to be mounted is unavailable                |
| **ERR\_CONFLICT\_RESS** | `77`       | Several processes are trying to access the same resource |

### Command Syntax Evolution

This topic summarizes the command syntax evolution between the different versions of Tina.

> **Note:** All commands are written in lower case letters.

#### From version 4.6 SP2 to version 4.6 SP3

The commands listed in this table have been modified:

| Command           | New Options | Modified Options                                           | New Sub-Options                                                       |
| ----------------- | ----------- | ---------------------------------------------------------- | --------------------------------------------------------------------- |
| **tina\_restore** | —           | A new sub-option can be used when `file_list_dest` is used | `-behavior_on_missing_file continue\|continue_with_error_code\|abort` |

#### From version 4.6 SP1 to version 4.6 SP2

The commands listed in this table have been modified:

| Command           | New Options | Modified Options                                           | New Sub-Options                                                       |
| ----------------- | ----------- | ---------------------------------------------------------- | --------------------------------------------------------------------- |
| **tina\_archive** | —           | A new sub-option can be used when `file_list_dest` is used | `-behavior_on_missing_file continue\|continue_with_error_code\|abort` |

#### From version 4.6 SP0 to version 4.6 SP1

New commands:

* **tina\_storage\_ctrl**

The commands listed in this table have been modified:

| Command            | New Options          | Modified Option                                                                                                    |
| ------------------ | -------------------- | ------------------------------------------------------------------------------------------------------------------ |
| **tina\_alarm**    | `-class event_class` | —                                                                                                                  |
| **tina\_init**     | —                    | `-file file`                                                                                                       |
| **tina\_odbsave**  | —                    | The `-max_output_size` option is no more available.The `-dir_dest` option is now available for a single directory. |
| **tina\_synchvds** | —                    | `-synchronize mode normal\|prevent\|force` becomes `-synchronize mode check\|normal\|force`                        |

#### From version 4.5 SP1 to version 4.6 SP0

**New commands :**

* **tina\_drive\_control**

The commands listed in this table have been modified:

| Command                   | New Options                      | Deleted Options |
| ------------------------- | -------------------------------- | --------------- |
| **tina\_folder\_control** | `-list_folder-list_maint_folder` | —               |

#### From version 4.4 SP2 to version 4.5 SP0

**New commands :**

Not applicable.

The commands listed in this table have been modified:

| Command        | New Options   | Deleted Options |
| -------------- | ------------- | --------------- |
| **tina\_help** | `-alarm_list` | —               |

#### From version 4.4 SP1 to version 4.4 SP2

**New commands :**

* **tina\_clone\_catalog**
* **tina\_folder\_control**

The commands listed in this table have been modified :

#### From version 4.4 SP1 to version 4.4 SP2

The commands listed in this table have been modified:

| Command           | New Options                                                       | Deleted Options           |
| ----------------- | ----------------------------------------------------------------- | ------------------------- |
| **tina**          | —                                                                 | `-choose_target_platform` |
| **tina\_init**    | `-maintain_folder folder-skip_folder folder`                      | —                         |
| **tina\_odbsave** | `-maintain_folder folder-skip_folder folder`                      | —                         |
| **tina\_restore** | `-do_not_restore_security_attributes-restore_chronological_order` | —                         |

#### From version 4.4 SP0 to version 4.4 SP1

**New commands :**

* **tina\_synchvds**

The commands listed in this table have been modified:

| Command                | New Options       | Modified Options |
| ---------------------- | ----------------- | ---------------- |
| **tina\_acct**         | `-v_father_jobid` | —                |
| **tina\_job\_control** | —                 | `-view`          |

#### From version 4.3 SP3 to version 4.4 SP0

The commands listed in this table have been modified:

| Command           | New Options              | Modified Options |
| ----------------- | ------------------------ | ---------------- |
| **tina\_odbgc**   | `-hss_sync`              | —                |
| **tina\_odbfree** | `-dedup_strat strat_num` | —                |

#### From version 4.3 SP1 to version 4.3 SP3

**New commands:**

* **tina\_help**

The commands listed in this table have been modified:

| Command        | New Options     | Modified Options |
| -------------- | --------------- | ---------------- |
| **tina\_sidf** | `-host-catalog` | —                |

#### From version 4.2 SP8 to version 4.3 SP1

| Command         | New Options   | Modified Options |
| --------------- | ------------- | ---------------- |
| **tina\_odbgc** | `-sync`       | —                |
| **tina\_cart**  | `-old_format` | —                |

#### From version 4.2 SP7 to version 4.2 SP8

| Command           | New Options                    | Modified Options |
| ----------------- | ------------------------------ | ---------------- |
| **tina\_acct**    | `-v_vm_name`                   | —                |
| **tina\_restore** | `-xml_restore_parameters_file` | —                |
| **tina\_cart**    | `-verbose-offset`              | —                |

#### From version 4.2 SP6 to version 4.2 SP7

| Command           | New Options                 | Modified Options |
| ----------------- | --------------------------- | ---------------- |
| **tina\_archive** | `-file_list_dest file_path` | —                |
| **tina\_cart**    | `-source_data_os_type`      | —                |
| **tina\_odbfree** | `-jobid`                    | —                |
| **tina\_ping**    | `-no_icmp_ping`             | —                |

#### From version 4.2 SP5 to version 4.2 SP6

| Command          | New Options | Modified Options |
| ---------------- | ----------- | ---------------- |
| **tina\_stream** | `-v_jobid`  | —                |

#### From version 4.2 SP4 to version 4.2 SP5

No evolution.

#### From version 4.2 SP3 to version 4.2 SP4

The commands described in this table have been modified:

| Command            | New Options                                                                       | Modified Options |
| ------------------ | --------------------------------------------------------------------------------- | ---------------- |
| **tina\_acct**     | `-v_barcode`                                                                      | —                |
| **tina\_cod**      | `-pipe_in-pipe_out`                                                               | —                |
| **tina\_init**     | `-memory_cache_only-operation-properties`                                         | —                |
| **tina\_listcart** | `-v_type-v_path-v_backup_date-v_modification_date-v_info_cart-v_folder-v_default` | —                |
| **all commands**   | `-long_version`                                                                   | —                |

#### From version 4.2.0 to version 4.2.0 SP3

The commands described in this table have been modified:

| Command            | New Options             | Modified Options                                              |
| ------------------ | ----------------------- | ------------------------------------------------------------- |
| **tina\_export**   | —                       | `-drive_dest` option becomes obsolete                         |
| **tina\_find**     | —                       | `-job_id` becomes `-jobid`, but `-job_id` is kept as an alias |
| **tina\_sendmail** | `-user` and `-password` | —                                                             |

#### From version 4.1.0 to version 4.2.0

**New commands:**

* **tina\_help**

The commands described in this table have been modified:

| Command        | New Options                          | Modified Options |
| -------------- | ------------------------------------ | ---------------- |
| **tina\_acct** | `-platform-display_active_jobs_only` | —                |

| Command                 | New Options                               | Modified Options                                                  |
| ----------------------- | ----------------------------------------- | ----------------------------------------------------------------- |
| **tina\_alarm**         | `-alarm_id-jobid`                         | —                                                                 |
| **tina\_cache**         | `-once`                                   | —                                                                 |
| **tina\_cart\_control** | `-v_columnname`                           | —                                                                 |
| **tina\_init**          | `-max_catalog_size`                       | `-catalog_name` option becomes `-catalog`                         |
| **tina\_job\_control**  | —                                         | `-abort` option becomes `-cancel-suspend` option becomes `-pause` |
| **tina\_listcart**      | `-data_integrity_check`                   | —                                                                 |
| **tina\_listjob**       | `-v_last_access_date-v_modification_date` | —                                                                 |
| **tina\_restore**       | `-all_inst`                               | `-all_inst` option becomes `-all_vers`                            |
| **tina\_export**        | —                                         | `-drive_dest` option becomes obsolete                             |

#### From version 4.1.0 to version 4.1.0 SP2

The commands described in this table have been modified:

| Command           | New Options | Modified Options |
| ----------------- | ----------- | ---------------- |
| **tina\_archive** | `-no_r`     | —                |
| **tina\_restore** | `-depth`    | —                |

#### From version 4.0.1 to version 4.1.0

The commands described in this table have been modified:

| Command            | New Options                 | Modified Options |
| ------------------ | --------------------------- | ---------------- |
| **tina\_acct**     | `-v_priority`               | —                |
| **tina\_alarm**    | `-label`                    | —                |
| **tina\_init**     | `-index-boot_restore_index` | —                |
| **tina\_listcart** | `-listjob`                  | —                |

| Command                    | New Options                                                                                                                                     | Modified Options                                                                         |
| -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
| **`tina_library_control`** | `-retry_mbox_full`                                                                                                                              |                                                                                          |
| **`tina_report`**          |                                                                                                                                                 | `-identity`                                                                              |
| **`tina_sched`**           |                                                                                                                                                 | `-estimation`                                                                            |
| **`tina_scm_control`**     | `change repositoryview repositorycreate authorityrevoke certificateinstall certificateuninstall certificateexport security templateexport rule` | `erase certificate (obsolete)import certificate (obsolete)export certificate (obsolete)` |

#### From version 4.0.0 to version 4.0.1

**New commands introduced**

* `tina_odbcheck`
* `tina_scm`
* `tina_scm_control`
* `tina_sendmail`

The commands described in this table have been modified :

| Command                | New Options                     | Modified Options |
| ---------------------- | ------------------------------- | ---------------- |
| `tina_alpha`           | `-identity`                     |                  |
| `tina_archive`         | `-identity`                     |                  |
| `tina_archive_control` | `-protected_size-type-identity` |                  |
| `tina_backup`          | `-parallel_file_list`           |                  |
| `tina_cart_control`    | `-no_empty`                     |                  |

| Command                | New Options      | Modified Options                                                        |
| ---------------------- | ---------------- | ----------------------------------------------------------------------- |
| `tina_del`             | `-identity`      |                                                                         |
| `tina_find`            | `-identity`      |                                                                         |
| `tina_job_control`     | `-view-identity` |                                                                         |
| `tina_library_control` | `-content`       |                                                                         |
| `tina_report`          |                  | The `Maximum Secured Volume` field becomes `Last protected disk volume` |
| `tina_restore`         | `-identity`      |                                                                         |

#### From version 3.7.0.4 to version 4.0.0

**New commands :**

* `tina_archive_control`
* `tina_job_control`
* `tina_sidf`

The commands described in this table have been modified:

| Command        | New Options                                                                                                                             | Modified Options                                                                                                      |
| -------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
| `tina_acct`    | `-v_folder-v_properties-v_duplicated_job_id`                                                                                            | `-show_all` becomes `-skipped_jobs`                                                                                   |
| `tina_alarm`   | `-host-library-application-drive`                                                                                                       |                                                                                                                       |
| `tina_archive` | This command has been split into two commands: `tina_archive` and `tina_backup`.These options have been added:`-application-error_mode` | `-archive` does not exist any longer`-backup` does not exist any longer. It is replaced by the `tina_backup` command. |
| `tina_cache`   | `-jobs_to_stderr`                                                                                                                       |                                                                                                                       |

| Command                | New Options                                               | Modified Options                                              |
| ---------------------- | --------------------------------------------------------- | ------------------------------------------------------------- |
| `tina_cart`            | `-block_size`                                             | `-raw` becomes `-no_decode-format none` becomes `-format raw` |
| `tina_cart_control`    | `-list-short-online_ready-retention-status_filter`        |                                                               |
| `tina_del`             |                                                           | `-past` becomes `-catalog_only`                               |
| `tina_find`            | `-catalog_only-output_format-csv_separator`               |                                                               |
| `tina_library_control` | `-short-offline_ready-retention-status_filter-known_cart` |                                                               |
| `tina_odbsave`         | `-no_job`                                                 |                                                               |
| `tina_listcart`        | `-output_format-csv_separator`                            |                                                               |
| `tina_listjob`         | `-unit`                                                   |                                                               |
| `tina_restore`         | `-test_mode-all_inst`                                     |                                                               |

#### From version 3.7.0.3 to 3.7.0.4

**New commands :**

* `tina`
* `tina_listjob`

| Command | New Options | Modified Options |
| ------- | ----------- | ---------------- |
| `tina`  |             | `-run_local`     |

| Command                | New Options                                      | Modified Options                |
| ---------------------- | ------------------------------------------------ | ------------------------------- |
| `tina_archive`         | `-file_list_dest file_path]`                     |                                 |
| `tina_cart`            |                                                  | `-files`                        |
| `tina_del`             |                                                  | `-past` becomes `-catalog_only` |
| `tina_find`            | `-catalog_only`                                  |                                 |
| `tina_init`            | `-folder-path`                                   |                                 |
| `tina_library_control` | `-known_cart`                                    |                                 |
| `tina_restore`         | `-file_list_dest file_path-mode rename_restored` |                                 |

#### From version 3.7.0.1 to version 3.7.0.3

The commands described in this table have been modified:

| Command                | New Options                            | Modified Options                                      |
| ---------------------- | -------------------------------------- | ----------------------------------------------------- |
| `tina_library_control` |                                        | `-no_wait` does not exist any longer                  |
| `tina_find`            | `-long`                                |                                                       |
| `tina_ndmp_tape`       | This command does not exist any longer |                                                       |
| `tina_init`            | `-close_cart-force_reinit`             |                                                       |
| `tina_cart`            | `-raw_data`                            | `-format` contains two new formats: `none` and `sidf` |
| `tina_cart_control`    |                                        | `-spare` becomes `-new_spare`                         |
| `tina_odbfree`         | `-batch`                               | `-nb_instance` becomes `-keep_full`                   |
| `tina_acct`            | `-identity`                            |                                                       |
| `tina_catalog_control` | `-identity`                            |                                                       |
| `tina_config`          | `-identity`                            |                                                       |
| `tina_shell`           | `-identity`                            |                                                       |

#### From version 3.6 to version 3.7

**New commands :**

* `tina_cache`
* `tina_catalog_ctrl`
* `tina_event_viewer`
* `tina_odbcheck`
* `tina_odbfree`
* `tina_ping`
* `tina_report` (exists since Tina 3.6.0.2)

The `tina_robot` and `tina_robot_control` command were renamed to `tina_library` and `tina_library_control`.

These commands have been completely renovated, in order to homogenize the Tina command line or to improve features and performances:

* `tina_acct`
* `tina_cod`

The commands described in this table have been modified:

| Command             | New Options                                                             | Modified Options                                    |
| ------------------- | ----------------------------------------------------------------------- | --------------------------------------------------- |
| `tina`              | `-target_app1`                                                          |                                                     |
| `tina_archive`      | `-encode-compress-user-password`                                        | `-path_src` becomes `-path-device` becomes `-drive` |
| `tina_cart`         |                                                                         | `-dev_type` becomes `-type-full` becomes `-all`     |
| `tina_cart_control` | `-nbcart-force-path-chgpath-path_dest-output_format-csv_separator-long` | `-unclose` becomes `-reopen`                        |

| Command       | New Options                                                                                                                                    | Modified Options                                                                                                                                                                                |
| ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `tina_config` |                                                                                                                                                | `-code` becomes `-encode`                                                                                                                                                                       |
| `tina_event`  | `-v_ad_cell_obj-v_class-v_log_date-v_severity_full-f_job_id-f_log_date-output_format-csv_separator-file-output_file-split_by_catalog-max_line` |                                                                                                                                                                                                 |
| `tina_export` |                                                                                                                                                | `-folder_src` becomes `-folder-path_src` becomes `-path-strat_src` becomes `-strat-archive_dest` becomes `-path_folder_dest-up_folder_dest` becomes `-update-device_dest` becomes `-drive_dest` |
| `tina_find`   | `-no_r`                                                                                                                                        | `-path` becomes `-path_folder-unit` and `-value` become `-depth-dimmed` becomes `-lost_files-display_full` becomes `-all`                                                                       |
| `tina_init`   | `-disable-size-config`                                                                                                                         |                                                                                                                                                                                                 |

| Command        | New Options | Modified Options                                                                                              |
| -------------- | ----------- | ------------------------------------------------------------------------------------------------------------- |
| `tina_restore` |             | `-device` becomes `-drive`New value for the `-error_mode` option: `replace_after_reboot`                      |
| `tina_stream`  | `-keywords` | `-fifo` becomes `-pipe-folder_dest` becomes `-folder-archive_dest` becomes `-archive-device` becomes `-drive` |

#### From version 3.5 to version 3.6

It is now possible to use the '-' sign in an option argument.

| Command                | New Options                                                                                 | Modified Options                                                      |
| ---------------------- | ------------------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
| `tina_acct`            | `-simple invoice-detailed invoice-customer_id-start_date-end_date-elapsed-volume_unit-host` |                                                                       |
| `tina_cart_control`    | `-duplicate-pool_dest`                                                                      | `-user` becomes `-pool-drive` now accepts `host:drive` as an argument |
| `tina_library_control` | `-online`                                                                                   | `-out` becomes `-offline`                                             |
| `tina_odbsave`         | `-prefix`                                                                                   |                                                                       |
| `tina_restore`         | `-error_mode`                                                                               |                                                                       |

#### From version 3.1 to version 3.5

`tina_acct2` becomes `tina_acct`.

| Command                      | New Options                                      | Modified Options                                                                                                     |
| ---------------------------- | ------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------- |
| `tina_cart`                  | `-raw`                                           | `-format` arguments are more precise.`-device` new type: Raw file.`-device type:pos` becomes `-device type -skip n`. |
| `tina_cart_control` syntax 1 | `-erase-read`                                    |                                                                                                                      |
| `tina_cart_control` syntax 2 | `-user-drive-create-number`                      |                                                                                                                      |
| `tina_cod`                   | `-v-l-codec-d-t-p-f-c-compress_rate-p-help`      | The new parameters replace version 3.1 parameters.                                                                   |
| `tina_config`                | `-code`                                          |                                                                                                                      |
| `tina_export`                | `-date_dest`                                     |                                                                                                                      |
| `tina_init`                  | `-file\|pipe-catalog_name-boot-help-nb_instance` |                                                                                                                      |

| Command                | New Options                                  | Modified Options                           |
| ---------------------- | -------------------------------------------- | ------------------------------------------ |
| `tina_find`            | `-user-password`                             |                                            |
| `tina_odbsave`         | `-file\|pipe`                                |                                            |
| `tina_operator`        | new command                                  |                                            |
| `tina_library`         | new command                                  |                                            |
| `tina_library_control` | `-out-barcode-label-pool`                    |                                            |
| `tina_sched`           | `-historic_hours-scheduled_hours-estimation` | `-catalog_list catalogn` no longer exists. |

#### From version 3.0 to version 3.1

| Command                    | New Options              | Modified Options |
| -------------------------- | ------------------------ | ---------------- |
| `tina_archive` (archiving) | `-full/incr`             |                  |
| `tina_cod`                 |                          |                  |
| `tina_del`                 | \`-strat A               | B                |
| `tina_event`               | `-all_event`             |                  |
| `tina_job`                 | `-polling_period period` |                  |
| `tina_restore`             | `-no_rewind`             |                  |
| `tina_sched`               | `-catalog_list catalogn` |                  |

### Catalog Manual Procedures

Web Administration lets you perform these operations via a graphical interface:

* Creating a catalog (menu Catalog-Create). See the Tina Administration Documentation.
* Backing up a catalog (Catalog Application). See the Tina Administration Documentation.
* Restoring a catalog (Catalog Application). See the Tina Administration Documentation.

However, these operations can also be performed in command line, as described below.

#### Creating a Tina Catalog

The catalog is a database local to the server which contains all the information required for Tina operations. It is created with the `tina_init` program which makes it possible to:

* Initialize some parameters needed by Tina.
* Create and size the catalog and the cache space.

This program creates up to 256 files named `"odb_x"` (e.g., `odb`, `odb_1`, `odb_2`, etc.). The size of these files cannot exceed 4 GB, but they can be smaller depending on the catalog creation settings.

> **Example:** If the catalog size is 10.5 GB, it will create two files of 4 GB and one file of 2.5 GB.

These files are located in the `Data.catalog_name` directory.

**Prerequisites :**

* You must check that the machine date is correct.
* Make sure you have the necessary license file installed on your server. If not, a temporary 30 days license file is automatically created.

Open Command Line Interface and enter `tina_init`.

This interactive text displays:

```
+------------------------+
CATALOG CONFIGURATION
Time Navigator Enterprise Edition
Version 4.7
+------------------------+

+------------------------+
HOST USED
name : tinasrv
type : PC/Windows NT
+------------------------+
```

`tina_init` is an interactive binary which asks you a number of questions in order to create a catalog. This program is also used to restore or modify a backed up catalog.

You can:

```
1) create a new catalog,
2) restore a backed up catalog,
3) modify catalog configuration.
(1, 2 or 3) > 1
```

If you do not have the necessary license file installed, `tina_init` creates a temporary 30 days license file with this message:

```
WARNING: Catalogs created with an evaluation license file can only be used
with the same evaluation license file or with a standard license file.
No license file found
Do you want to create a temporary evaluation license file? (y(es) / n(o)):
(yes) y
```

A temporary evaluation license file valid for 30 days has been created.

Otherwise `tina_init` uses the license file installed in the `TINA_HOME/Conf` directory.

```
Use Server License? (y(es) / n(o):(yes) y
```

You must provide a catalog administrator name. The catalog administrator is the only user that can grant access rights to other users. He has all the rights to perform any operations on the catalog, except editing the catalog. Editing the catalog can only be performed by root (under Linux) or an administrator (under Windows).

For added security, you can define a password for the catalog administrator once the catalog is created.

Your password must be at least 12 characters long and contains at least:

* 1 upper-case character,
* 1 lower-case character,
* 1 digit,
* 1 special character (punctuation or `-_$` and the like).

> **Note:** To modify the password policy after the catalog creation, you must log in to the Web Administration Console. For more details, see Tina Web Administration Documentation.

```
+------------------------+
CONFIGURATION PARAMETERS
+------------------------+
----------
CATALOG:
----------

Catalog name : tina
Catalog administrator name: (admin)
Catalog administrator password:
Confirm Password :
```

The cache space can be of two types: disk cache or memory cache. You must define at least one type of cache. In order to improve performances, both cache space type can be segmented.

These tables summarize the cache characteristics for each cache type, and the disk cache maximum size according to the catalog size:

**Cache Characteristics**

| Cache type | Characteristic             | Value                                                                           |
| ---------- | -------------------------- | ------------------------------------------------------------------------------- |
| **Memory** | Maximum Size               | 2047 MB                                                                         |
|            | Minimum Size               | 32 MB                                                                           |
|            | Maximum Number of Segments | 32                                                                              |
|            | Minimum Number of Segments | 0 if at least 1 disk cache segment has been defined, otherwise 1                |
|            | Maximum Segment Size       | Linux: 2047 MBWindows: 64 MB except if tunable `max_memory_axes_size` is set    |
|            | Minimum Segment Size       | 32 MB                                                                           |
| **Disk**   | Maximum Size               | 32 GB to 512 GB depending on the catalog size (see **Maximum Disk Cache Size**) |
|            | Minimum Size               | 1 GB                                                                            |
|            | Maximum Number of Segments | 32                                                                              |
|            | Minimum Number of Segments | 0 if at least 1 memory cache segment has been defined, otherwise 1              |
|            | Maximum Segment Size       | (see **Maximum Disk Cache Size**)                                               |
|            | Minimum Segment Size       | 32 MB                                                                           |

**Maximum Disk Cache Size**

| If the catalogue size is ... | ...the maximum disk cache size is... |
| ---------------------------- | ------------------------------------ |
| `< 2 GB`                     | 32 GB                                |
| `>= 2 GB and < 8 GB`         | 128 GB                               |
| `>= 8 GB and < 16 GB`        | 256 GB                               |
| `> 16 GB`                    | 512 GB                               |

> **Note:** Atempo recommends not to locate the catalog and the cache space on the same disk for performance reasons.

> **Note:** The actual cache size of the catalog depends on the number of segments and the size of the cache containers. Tina computes the cache size based on the various information you provide. As a result, the actual cache size can be slightly different from the size you ask for as it is rounded to the nearest multiple of both the number of segments and the container size.

```
------------
CACHE:
------------

You want to create:
1) memory cache only,
2) disk cache only,
3) memory and disk cache.
(1, 2 or 3) > (1) 3

------------
MEMORY CACHE:
------------

Memory cache space size must be between 32 MB and 2047 MB

Current Size (MB) : (32) 64
Number of cache segments (1 to 2): (1)

Number of segments: 1
Segment size: 64 MB
```

Atempo recommends using at least 64 MB of memory cache.

```
------------
DISK CACHE:
------------

Total disk cache size must be between 1 GB and 32 GB

Current Size (GB): 1
Number of cache segments (1 to 32): (1) 4

Number of segments: 4
Segment size: 256 MB
Segment number 1
Absolute path : /caches/cache1
Current Size (MB): (256)

Segment number 2
Absolute path : /caches/cache2
Size (MB) : (256)

Segment number 3
Absolute path : /caches/cache3
Size (MB) : (256)

Segment number 4
Absolute path : /caches/cache4
```

```
Size (MB) : (256)

Advanced parameters definition? (y(es) / n(o)): (n) y
```

The default container size is calculated according to the total (memory and disk) cache size you specify (memory and disk) in the Cache tab. You may change the size of the containers as needed, with or without modifying the size of the cache. The container size can vary between 4 MB and 256 MB. The default container size is as follows:

| Total cache size       | 32 MB | 64 MB | 128 MB | 256 MB | 512 MB | 1 GB  | 2 GB   | 4 GB   | 8 GB   |
| ---------------------- | ----- | ----- | ------ | ------ | ------ | ----- | ------ | ------ | ------ |
|                        | 8     | 16    | 32     | 64     | 64     | 64    | 8      | 16     | 32     |
| **Size of containers** | 4 MB  | 4 MB  | 4 MB   | 4 MB   | 8 MB   | 16 MB | 256 MB | 256 MB | 256 MB |

```
Memory cache consists of 16 containers of 4 MB
Disk cache consists of 64 containers of 16 MB

Note: Disk and Memory container size could be multiple of value specified below.
Size of memory containers (4 to 8 MB): (4)
Size of disk containers (16 to 128 MB): (16)

Average number of backup versions per object: (2)
```

The default size of the catalog is set to 4 GB and the maximum size to 1024 GB, unless you have less than 1024 GB available, in which case the maximum size is the maximum available space on your disk.

```
Warning: Maximum size is limited by current disk space to 92 GB
Current size (GB):(4)
Maximum size (GB):(92)
Odb file size (in GB):(4)
```

The name of the server corresponds to its hostname.

```
--------
SERVER:
--------

Name : (tinasrv)
```

A summary of the configuration enables you to check your choices.

If you agree with the configuration, enter `"y"`.

If you wish to modify some parameters, enter `"n"`. The program will ask you the same questions again. Parameters entered previously are recalled in brackets. Press return to keep them or enter new parameters to modify them.

```
+------------------------------+
Summary - CATALOG CONFIGURATION
+------------------------------+

----------
CATALOG:
----------

Name : tina
Current Size (GB) : 4
Max Size (GB) : 92
Odb File size (GB): 4
Catalog administrator name: admin
```

The default size of the catalog is set to 4 GB and the maximum size to 1024 GB, unless you have less than 1024 GB available, in which case the maximum size is the maximum available space on your disk.

The default catalog file size (odb) is 4 GB.

```
------------
CACHE:
------------

Segment number 1
Absolute path : memcache
Current Size (MB) : 128

Segment number 2
Absolute path : /caches/cache1
Size (MB) : 256

Segment number 3
Absolute path : /caches/cache2
Size (MB) : 256

Segment number 4
Absolute path : /caches/cache3
Size (MB) : 256

Segment number 5
Absolute path : /caches/cache4
Size (MB) : 256

--------
SERVER:
--------

Name : tinasrv
Type : Linux

Do you want to proceed with this configuration? (y(es) / n(o)):y
```

This step is not interactive. It indicates the catalog creation progression.

```
- - Creating the catalog "tina"
Creating and initializing catalog super cell
Creating and initializing catalog files (total size: 128 MB)
```

```
... 128 MB

- Creating the cache space
Creating segment 0 in cache space
Creating segment 1 in cache space
Creating segment 2 in cache space
Creating segment 3 in cache space
Creating segment 4 in cache space

- Creating the server
- Creating the Catalog application
- Creating the group "system"
- Creating the user "root"
Creating the cartridge pool "lost+found"
Creating the cartridge pool "spare"

- Catalog creation complete
```

The catalog and the cache space are created and sized. Tina parameters are initialized.

Once the catalog is created, launch a `tina_daemon` (Linux) or start the service `tina` (Windows) on the server to start the application.

> **Note:** `tina_init` upgrades the `catalogs` file of the server in the `Conf` directory. This file must then be upgraded on all clients in the `~tina/Conf` directory on Linux or `tina\Conf` on Windows.

The catalog backup is essential and must be performed daily and verified.

#### Modifying the Catalog

Once a catalog has been created, you can modify it. All catalog parameters can be modified except for the Host ID and the catalog name.

You need to stop the catalog in order to modify it.

1. **Unix.** Launch a shell with the root login, move to the Tina installation directory, by default `/usr/Atempo/tina`, and set the environment with the command:

   ```bash
   ./tina.sh
   ```

   **Windows.** Choose the menu Start-Programs-Tina-Utilities-Command Line Interface.
2. **Unix and Windows.** Stop the catalog with the command:

   ```bash
   tina_catalog_ctrl -catalog <catalog_name> -stop
   ```
3. Launch the command `tina_init`
4. Choose option 3. This script displays, enter `y` to modify the parameters:

```
+------------------------------+
CURRENT CONFIGURATION PARAMETERS
+------------------------------+

----------
CATALOG:
----------

Name : pirate
```

```
Current size (MB) : 1024
Maximum size (GB) : 92
Catalog administrator name: pirate

------------
CACHE:
------------

Segment number 1
Absolute path : memcache
Current size (MB) : 64

--------
SERVER:
--------

Name : taanoki
Type : Windows Server 2003

Do you want to modify this configuration? (y(es) / n(o)):y
```

5. Accept all parameter values, except the one you want to modify, for instance, to modify the catalog administrator name, enter the new name:

```
+------------------------+
CONFIGURATION PARAMETERS
+------------------------+

----------
CATALOG:
----------

Name : pirate
Catalog administrator name: (pirate) admin
```

6. Continue with the modification script and enter `y` at the end

```
Do you want to change the catalog administrator password? (y(es) / n(o)):(n)

------------
CACHE:
------------

You want to:
1) keep previous cache configuration,
2) modify memory cache only,
3) modify disk cache only,
4) modify memory and disk cache.
(1, 2, 3 or 4) > (1) 1

Advanced parameters definition? (y(es) / n(o)): (n) n

--------
SERVER:
--------

Name : (taanoki)

+------------------------------+
Summary - CATALOG CONFIGURATION
+------------------------------+

----------
CATALOG:
----------
```

```
----------
Name : pirate
Current size (GB) : 4
Maximum size (GB) : 92
File size (GB) : 4
Catalog administrator name: admin

------------
CACHE:
------------

Segment number 1
Absolute path : memcache
Size (MB) : 64

--------
SERVER:
--------

Name : taanoki
Type : Windows Server 2003

Do you want to proceed with this configuration? (y(es) / n(o)): y

- Catalog edition complete
```

7. Start the catalog with the command:

```bash
tina_catalog_ctrl -catalog <catalog_name> -start
```

#### Backing up the Catalog manually

The catalog is a database local to the server. It contains the objects defined by the administrator (hosts, applications, drives, libraries, cartridges, users, strategies, classes, etc.) and information on objects backed up by Tina.

Tina offers graphical interfaces for the catalog backup and allows to automate it.

See the Tina Administration Documentation - topic Catalog Backup & Restore, for more details on the catalog automatic backup using the Catalog application.

In addition, you can manually back up the catalog using the command line.

The catalog must be backed up daily and checked.

Backing up the catalog correctly is the only guarantee to use the software in a reliable way. Any fault must be quickly dealt with.

**Backup Method**

Logical or Hot Backup (opened base): the catalog is exported into an ASCII file, with the `tina_odbsave` command.

Advantages:

* Logical control of the backed up information validity.
* Operation not interrupted.
* Low storage cost.

Drawbacks:

* Slow catalog backup and restore operations.

**Performing Backups**

The catalog can be backed up with this command:

```bash
tina_odbsave [-no_compress]
[-dir_dest destination_directory]|[-check]
[-folder folder1 [folder2]...] [-config] [-no_job] [-prefix prefix]
[-file odbsave_file] [-pipe odbsave_pipe] [-catalog catalog] [-help]
```

For details concerning the `tina_odbsave` command, see `tina_odbsave`.

**Unix.** This program must be executed by the `root` user on Tina server.

**Windows.** This program must be executed by the user which has, at least, the rights of the `backup operator` on Tina server.

Catalog information is written in a destination directory.

Each administrator can choose the backup review storage location:

* Another disk.
* A directory mounted via NFS or a remote disk.
* A device provided to that end, etc.

Catalog information is automatically compressed with a compression rate of about 85 % to 95 %.

The compression format is a native format: `cod`. A tool, `tina_cod`, is provided to compress and uncompress the `cod` files. However, former backups performed in earlier versions (`.z`) are still compatible.

For more information on the `tina_cod` command, see [`tina_cod`.](#tina_cod)

The backup volume increases with the number of objects and instances contained in the catalog.

The catalog can be backed up on line or when the application does not run. The ideal case is to back it up when no automatic backup is in process. Indeed, performance is better and all backups are protected against the loss of the catalog.

The catalog backup file is called `catalog_save` and has the `.cod` extension (automatic compression by default). The destination directory paths of the backup file topics must be absolute.

You should regularly back up the catalog, at least once a day.

**Unix.** The easiest way to do it is to run a Unix script with the `cron` command.

You can add this line in the crontabs of the `root` user:

```cron
00 20 * * * /usr/tina/script >/dev/null 2>&1
```

The file `/usr/tina/script` is started each day at 8 p.m. The `root` user must have the right to run this file. Standard (`stdout`) and error (`stderr`) outputs are redirected towards the `/dev/null` file in order to avoid filling the system console with messages.

Processes run by `cron` do not usually inherit any environment variable. If this is the case on your Tina server, paths to the directories, files and commands used in your script must be absolute.

Current hours are G.M.T. hours (Greenwich Mean Time).

Whatever the situation, you must check that your script is running correctly if it has been started with the `cron` command.

**Windows.** The easiest way to do it is to use the `at` command under Windows. This command allows you to plan the running of the `tina_odbsave` command.

```cmd
at 10:00/every:M,T,W,Th,F c:\tina\Bin\tina_odbsave
-catalog catalog -dir_dest d:\dir1 dest dir2 dest ...
```

The catalog backup is automatically initiated at 10 a.m. every day except on week-ends.

Whatever the situation, you must check that your script is running correctly if it has been started with the `at` command.

> **Important:** Do not forget to automatically start the service `Schedule`.

For more information on the `tina_odbsave` command, see `tina_odbsave`.

> **Important:** For security and performance reasons, Atempo highly recommends to back up the catalog on a disk different from the one onto which the catalog is located.

**Monitoring Backups**

Messages are written in the `event` file to indicate the beginning and the end of the catalog backup. A beginning message with no end may mean that:

* The catalog backup is in process.
* The catalog backup failed.

You should read the `event` file or Unix/Windows alert files of the host to determine the reason why it stopped.

For more information on the `event` file, see the "Event File" topic in the Tina Administration Documentation - topic Monitoring Tools.

The backup may have ended because the server was stopped during the operation. You should also check that the disk space allocated for the catalog backup is sufficient.

An alarm is triggered to report a backup error message.

Host stop or rebooting dates and error messages such as `file system full` or `disk full` are written in management files specific to each vendor.

If the catalog is corrupted, its backup fails. The application must be stopped, then started once the last catalog being backed up has been correctly restored.

The catalog may be corrupted because of a sudden application interruption if:

* There was a power outage, etc.
* **Unix.** The signal `9` (`kill -9`) was sent to a Tina process.

> **Note:** Yet, if such events occur, the risk of losing the catalog remains very low.

> **Important:** A power failure is recorded neither in the system files nor in the `event` file. Only the date of the system reboot is known.\
> **Unix.** Never stop a Tina process using `kill -9` without previously trying several simple commands `kill` (without `-9`) and waiting for a while. If a `tina_daemon` process is waiting, it may not stop immediately. You must wait for a few minutes.

This procedure allows you to check before actually performing a backup, whether you will be able to restore your catalog via a `tina_init`, if you were to back it up in its current state.

You should use this verification when you doubt the consistency of your catalog. The check will tell you if you can safely back up your catalog and then restore it, or if you should use a previously backed up version of your catalog to restore it.

> **Important:** This verification is not a foolproof way of establishing whether your catalog is or is not damaged. It only attests to the reliability of the catalog backup you are about to perform.

This procedure implies that file backups are completely stopped and that restoring data is impossible.

**To check the catalog backup**

1. Temporarily stop the Tina application.

   **Unix.** To do so, stop the `tina_daemon` process on the Tina server by executing the `tina_stop` command.

   **Windows.** To do so, stop the service `tina` on Tina server.

   If backups are in progress, error messages are displayed in the `event` file.
2. Enter this command:

   **Unix**

   ```bash
   ~tina/Bin/tina_odbsave -catalog catalog -check
   ```

   **Windows**

   ```cmd
   c:\tina\Bin\tina_odbsave -catalog catalog -check
   ```
3. If the verifying process returns errors, you will not be able to perform a catalog backup allowing you to restore it. You should use the last correct catalog backup to restore the catalog.
4. If the verification does not return any error, perform a backup and use it to restore your catalog.

> **Note:** This operation must be performed by the user `root` (under Unix) or `administrator` (under Windows) on Tina server. It is not necessary to stop client daemons (under Unix) or services (under Windows). This operation may be time-consuming if the catalog is voluminous.

> **Note:** If an error occurs, make sure that it is not due to a problem such as `file system full` or `disk full`.

The `tina_odbsave` program may be executed on a host other than the Tina server, from a binary copy of the server base, the presence of the cache space is not necessary.

If your Tina server is no longer available because of a disk crash or if it is definitely out of order, data backups can be temporarily or definitively performed with another server.

This only requires that a catalog backup be available on the media or on the disk of a running machine and data be restored on the new server.

#### Manually restoring the Catalog

The backed up catalog is restored with the `tina_init` command.

**Unix.** This program must be executed by the `root` user on the Tina server.

**Windows.** This program must be executed by the user which has, at least, the rights of the `backup operator` on the Tina server.

For more information on how to initialize Tina with the `tina_init` program, see *Creating a Tina Catalog*.

**Preparing for Restore**

You should stop Tina before attempting to restore the catalog.

**Unix.** To do so, stop the `tina_daemon` process on the Tina server by executing `tina_stop`. Use the option `[-host host1 [host2] ...]` of `tina_stop` if you execute the command from a client.

**Windows.** To do so, stop the `tina` service on the Tina server.

The `tina_init` program may be executed on a host other than the Tina server. The machine must have enough disk space to create the catalog and the cache space on it. Restore is all the quicker if the host used has enough memory. The selected host may be a more powerful machine and/or one with more memory than the Tina server.

> **Note:** Both servers must be of the same type, i.e. they must have the same architecture and operating system.

> **Note:** Writing on disk via NFS or another network disk sharing software is generally slower than on a local disk. The `odb` file must be created on a disk local to the Tina server. Once the catalog is restored, you only have to copy this file into the server directory `Data.catalog_name`. The files constituting the cache space must be copied at their allocated positions.

The program `tina_init` uncompresses the backup file(s). Just specify the absolute path of the backup file(s).

**To restore a catalog from one or several backup files**

1. Execute the `tina_init` program. The program is interactive and asks a certain number of questions.
2. Specify the number of backup files.

Specify the absolute path of the backup file(s):

**Unix**

```bash
backup_dir/catalog_save.cod
```

**Windows**

```cmd
d:\backup_dir\catalog_save.cod
```

> **Note:** If catalog backup files are compressed, the `tina_init` program is not case-sensitive and accepts both extensions `.cod` and `.Z`. Former backups remain compatible.

> **Note:** If your library has the capacity to read barcodes, the catalog restore process automatically includes a barcode reinitialization.\
> If your library does not support barcodes, a read label reinitialization can be included in the restore process if you use this command:
>
> ```bash
> tina_init -force_reinit
> ```
>
> This option is only available for non barcode libraries, and it will trigger a reinitialization of all non barcode libraries associated to the catalog.

**Restore Examples**

These examples show how to use `tina_init` when restoring the catalog.

**Unix.** Before initiating `tina_init`, you should stop the daemon with the `tina_stop` command on the machine onto which the command is executed.

**Windows.** Before initiating `tina_init`, you should stop the `tina` service on the machine onto which the command is executed.

**Example. Restoring a Catalog without Modifying Parameters**

```
+------------------------------+
CATALOG CONFIGURATION
Time Navigator Enterprise Edition

Version 4.2
+------------------------------+

+------------------------------+
HOST USED
name : taanoki
type : PC/Windows NT
+------------------------------+

You can:
1) create a new catalog,
2) restore a backed up catalog,
3) modify catalog configuration.
(1, 2 or 3) > 2

You can:
1) restore a backed up catalog,
2) restore a backed up catalog and index,
3) restore a backed up catalog (configuration only),
4) restore an index.
(1, 2, 3 ou 4) >1

Do you want to close the medias?
Y(es) or n(o): (no)
```

If you restore all objects, the application asks if you want to close the medias. You should generally answer `"y"` if any file backup took place since the last catalog backup to close unfilled medias that could contain backups not known to the catalog. You can answer `"n"` if you have stopped the `tina_daemon` (under Unix) or service `tina` (under Windows) of the server before backing up the catalog and if you restore the catalog without starting the application again.

If you answer `"y"`, this question displays:

```
You can :
1) close all cartridges,
2) select the cartridges to close.
(1 ou 2) > 1
```

You can control the media closing phase by selecting option 2: once the catalog and cache are created, you should validate the media closing. You must absolutely close all the cartridges onto which data has been written since the catalog backup. To avoid any error, you can select option 1.

```
Number of backup files: (1)
Absolute path of backup file number 1: /DT/DEV/dev/sht/V4/save.cod

Odbsave file version: 4.2.0
Odbsave file created: Tuesday 22 April 10:20:04 2008

+------------------------+
CONFIGURATION PARAMETERS
+------------------------+

----------
CATALOG:
----------

Name : rome
A catalog already exists with this name. This operation will overwrite it.
Do you want to continue? (y(es) / n(o)): y

------------
CACHE:
------------

Segment number 1
Absolute path : memcache
Current size (MB) : 128

Segment number 2
Absolute path : /DT/DEV/dev/sht/V4/caches/cache1
Current size (MB) : 256

Segment number 3
Absolute path : /DT/DEV/dev/sht/V4/caches/cache2
Current size (MB) : 256

Segment number 4
Absolute path : /DT/DEV/dev/sht/V4/caches/cache3
Current size (MB) : 256

Segment number 5
Absolute path : /DT/DEV/dev/sht/V4/caches/cache4
Current size (MB) : 256

You want to:
1) keep previous cache configuration,
2) modify memory cache only,
3) modify disk cache only,
4) modify memory and disk cache.
(1, 2, 3 or 4) > (1)

Advanced parameters definition? (y(es) / n(o)): (n)

Warning: Maximum size is limited by current disk space to 92 GB

--------
SERVER:
--------
-------
Name : (taanoki)
+-------------------------------+
Summary - CATALOG CONFIGURATION
+-------------------------------+
---------
CATALOG:
---------
Name : rome
Current Size (GB) : 4
Max Size (GB) : 92
Odb File size (GB): 4
-------------
CACHE:
-------------
Segment number 1
Absolute path : memcache
Size (MB) : 128
Segment number 2
Absolute path : /DT/DEV/dev/sht/V4/caches/cache1
Size (MB) : 256
Segment number 3
Absolute path : /DT/DEV/dev/sht/V4/caches/cache2
Size (MB) : 256
Segment number 4
Absolute path : /DT/DEV/dev/sht/V4/caches/cache3
Size (MB) : 256
Segment number 5
Absolute path : /DT/DEV/dev/sht/V4/caches/cache4
Size (MB) : 256
-------
SERVER:
-------
Name : taanoki
Type : Windows Server 2003
Do you want to proceed with this configuration? (y(es) / n(o)): y
- Creating the catalog "rome"
Creating and initializing catalog super cell
Creating and initializing catalog files (total size: 4 GB)
... 4 GB
- Creating the cache space
- Start read backed up catalog
Average number of backup instances per object: 5
Number of instances to restore: 4
Progression Instances Objects Time Total time Free space (%)
Objects : 4
Instances : 4
Total time : 1 s
Rate : 0.0144 M/h
- Catalog restore complete.

```

## Example. Catalog Restore when Modifying Parameters

You can modify the parameters chosen during Tina installation while restoring the catalog:

* Volume of the catalog.
* Distribution and volume of the cache space.
* Server host.

If you want to decrease the catalog and/or cache space size, you must first delete the catalog and/or cache file.

Former parameters are indicated into brackets. Press return to keep them or enter the new ones.

In this example, the volume of the catalog is increased and the server changes (new server type different from the previous server).

```
+------------------------------+
CATALOG CONFIGURATION
Time Navigator Enterprise Edition

Version 4.2
+------------------------------+

+------------------------------+
HOST USED
name : taanoki
type : PC/Windows NT
+------------------------------+

You can:
1) create a new catalog,
2) restore a backed up catalog,
3) modify catalog configuration.
(1, 2 or 3) > 2

You can:
1) restore a backed up catalog,
2) restore a backed up catalog and index,
3) restore a backed up catalog (config only),
4) restore an index.
(1, 2, 3 ou 4) >1
CAUTION: THIS OPERATION OVERWRITES EXISTING CATALOG!
Do you want to close the medias?
Y(es) or n(o): n
Number of backup files: (1)
Absolute path of backup file number 1: /DT/DEV/dev/sht/V4/save.cod
Odbsave file version: 4.2.0
Odbsave file created: Tuesday 22 April 10:20:04 2008
+------------------------+
CONFIGURATION PARAMETERS
+------------------------+
---------
CATALOG:
---------
Name : rome
A catalog already exists with this name. This operation will overwrite it.
Do you want to continue? (y(es) / n(o): y
-------------
CACHE:
-------------
Segment number 1
Absolute path : memcache
Current size (MB) : 128
Segment number 2
Absolute path : /DT/DEV/dev/sht/V4/caches/cache1
Current size (MB) : 256
Segment number 3
Absolute path : /DT/DEV/dev/sht/V4/caches/cache2
Current size (MB) : 256
Segment number 4
Absolute path : /DT/DEV/dev/sht/V4/caches/cache3
Current size (MB) : 256
Segment number 5
Absolute path : /DT/DEV/dev/sht/V4/caches/cache4
Current size (MB) : 256
You want to:
1) keep previous cache configuration,
2) modify memory cache only,
3) modify disk cache only,
4) modify memory and disk cache.
(1, 2, 3 or 4) > (1) 3
-------------
DISK CACHE:
-------------
Total disk cache size must be between 1 GB and 32 GB
Size (GB) : (1)
Number of cache segments (1 to 32): (4) 2
Number of segments: 2
Segment size: 512 MB
Segment number 1
Absolute path : (/DT/DEV/dev/sht/V4/caches/cache1)
Current size (MB) : (512)
Segment number 2
Absolute path : (/DT/DEV/dev/sht/V4/caches/cache2)
Current size (MB) : (512)
Advanced parameters definition? (y(es) / n(o)): (n) y
Memory cache consists of 4 containers of 32 MB
Disk cache consists of 32 containers of 32 MB
Size of memory containers (4 to 256 MB): (32) 16
Size of disk containers (4 to 1024 MB): (32)
Average number of backup instances per object: (5)
-------
SERVER:
-------
Name : (taanoki)
+-------------------------------+
Summary - CATALOG CONFIGURATION
+-------------------------------+
---------
CATALOG:
---------
Name : rome
Current Size (GB) : 4
Max Size (GB) : 92
Odb File size (GB): 4
-------------
CACHE:
-------------
Segment number 1
Absolute path : memcache
Current ize (MB) : 128
Segment number 2
Absolute path : /DT/DEV/dev/sht/V4/caches/cache1
Current size (MB) : 512
Segment number 3
Absolute path : /DT/DEV/dev/sht/V4/caches/cache2
Current size (MB) : 512
-------
SERVER:
-------
Name : taanoki
Type : Windows Server 2003
Do you want to proceed with this configuration? (y(es) / n(o)): y
- Creating the catalog "rome"
Creating and initializing catalog super cell
Creating and initializing catalog files (total size: 4 GB)
... 4 GB
- Creating the cache space
- Start read backed up catalog
Average number of backup instances per object: 5
Number of instances to restore: 4
Progression Instances Objects Time Total time Free space (%)
Objects : 4
Instances : 4
Total time : 1 s
Rate : 0.0144 M/h
- Catalog restore complete

```

**Restarting the Application**

After restoring the catalog, some operations have to be performed to restart Tina.

If you have recreated the catalog and the cache space on a host other than the Tina server, you should copy the generated catalog and cache space files at their respective positions in the Tina server tree structure.

**Unix.** Then you must execute the `tina_daemon` process on the server, being logged in as `root`. The process will automatically run as a background task.

**Windows.** Then you must start the `tina` service on the server being connected as `backup operator`.

It is advised to reinitialize the contents of your libraries. If cartridges have been moved since the catalog backup, the location of cartridges known to Tina is not the right one. As soon as an error is detected, the library will be reinitialized. However, it is better to anticipate an operation which may be time-consuming and delay the beginning of a writing session on cartridges.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://documentation.atempo.com/tina-4.9.5/tina-4.9.5-en/administration-guide/deployment/command-line.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
