User Tools

Site Tools


apps:netbackup:cli

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
apps:netbackup:cli [2015-12-31 10:38] rootapps:netbackup:cli [2016-07-05 22:53] (current) root
Line 154: Line 154:
 ========================================================== ==========================================================
 /export/home/asdf/.ssh/gtmp /export/home/asdf/.ssh/gtmp
 +</code>
 +
 +==== Manage exclude_list of UNIX/Linux clients from the server ====
 +
 +If there is a client like "myClient" and the exclude_list have to be edited but only access to the master server is available, then copy the exclude_list to the master server (local file may be called "myClient-exclude_list"):
 +
 +<code>
 +# bpgetconfig -e myClient-exclude_list myClient
 +</code>
 +
 +The copied file is a normal text file. Entries can be added or removed. This file can be sent back to the server:
 +
 +<code>
 +# bpsetconfig -e myClient-exclude_list -h myClient                                                                                                                                              
 +</code>
 +
 +
 +==== Search in all Backups of a Client ====
 +
 +=== Windows ===
 +
 +<code>
 +# nbfindfile -c myClient0 -only_files -p "*.mdf" -s_ut 0 -l -pt MS-Windows
 +
 +==========================================================
 +Client      : myClient0
 +Policy      : myWinPolicy
 +Backup Time : Thu 07 Jan 2016 12:21:20 AM CET (1452122480)
 +Backup ID   : myClient0_1452122480
 +==========================================================
 +-rwx------ root;Admi root;None     5636096 Dec 21 14:23:26 D:\SQLData\MSSQL12.ASDF01\MSSQL\DATA\master.mdf *
 +-rwx------ root;Admi root;None     4390912 Dec 21 14:23:26 D:\SQLData\MSSQL12.ASDF01\MSSQL\DATA\model.mdf *
 +-rwx------ root;Admi root;None    17956864 Dec 21 14:23:26 D:\SQLData\MSSQL12.ASDF01\MSSQL\DATA\MSDBData.mdf *
 +-rwx------ root;MSSQ root;MSSQ     8388608 Dec 21 14:23:51 D:\SQLData\MSSQL12.ASDF01\MSSQL\DATA\tempdb.mdf *
 +
 +==========================================================
 +Client      : myClient0
 +Policy      : myWinPolicy
 +Backup Time : Mon 28 Dec 2015 12:04:47 AM CET (1451257487)
 +Backup ID   : myClient0_1451257487
 +==========================================================
 +-rwx------ root;SYST root;SYST    41943040 Apr 20  2015 C:\Program Files\Microsoft SQL Server\MSSQL12.ASDF01\MSSQL\Binn\mssqlsystemresource.mdf *
 +-rwx------ root;SYST root;SYST     4194304 Feb 21  2014 C:\Program Files\Microsoft SQL Server\MSSQL12.ASDF01\MSSQL\Binn\Templates\master.mdf *
 +-rwx------ root;SYST root;SYST     2293760 Feb 21  2014 C:\Program Files\Microsoft SQL Server\MSSQL12.ASDF01\MSSQL\Binn\Templates\model.mdf *
 +-rwx------ root;SYST root;SYST    13434880 Feb 21  2014 C:\Program Files\Microsoft SQL Server\MSSQL12.ASDF01\MSSQL\Binn\Templates\msdbdata.mdf *
 +</code>
 +
 +=== Linux ===
 +
 +<code>
 +# nbfindfile -c myClient1 -only_files -p "system.sh" -s_ut 0 -l
 +
 +==========================================================
 +Client      : myClient1
 +Policy      : myStdPolicy
 +Backup Time : Mon 04 Jan 2016 11:01:43 PM CET (1451944903)
 +Backup ID   : myClient1_1451944903
 +==========================================================
 +-rwx------ root      root               63 Oct 14 15:47:47 /opt/asdf/system/system.sh *
 +
 +==========================================================
 +Client      : myClient1
 +Policy      : myStdPolicy
 +Backup Time : Thu 31 Dec 2015 07:06:14 PM CET (1451585174)
 +Backup ID   : myClient1_1451585174
 +==========================================================
 +-rwx------ root      root               63 Oct 14 15:47:47 /opt/asdf/system/system.sh *
 </code> </code>
  
apps/netbackup/cli.1451554709.txt.gz · Last modified: 2015-12-31 10:38 by root