How to do Atempo restores from cli

7:56 PM

A few commands to work with Atempo TINA without using the GUI i.e. without logging in to the backup console(if you know the catalog name). For the below to work, you have to be on the host(s) on which you're trying to restore files/directories.
Source /var/Atempo/tina/.tina.sh before executing any of the below commands:
// To get backup selection paths(inclusion list)
tina_find -catalog_only -no_r
tina_find -catalog_only -path_folder /var -no_r
tina_find -catalog_only -depth 2W -pattern 'ntp.conf' -path_folder /etc
-no_r - no recursion
-depth 2W - search up to 2 weeks
// Get Catalog name - Does not work if multi-catalog
tina_catalog_ctrl -status
// Restore - may require -catalog <catalog_name> if multi-catalog
tina_restore -path_folder /etc/ntp.conf -path_dest /home/anair
-path_folder - restore file/directory
-path_dest - destination directory
-catalog - name of catalog (eg. opsource04_ash01)
-date yyyymmddhhmm - date to restore from
The above commands may work on windows as well. Make appropriate changes/RTFM.

You Might Also Like

0 comments

Contact Form

Name

Email *

Message *

Translate

Wikipedia

Search results