<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Backup-Exec | TekCookie</title>
	<atom:link href="https://tekcookie.com/category/backup-exec/feed/" rel="self" type="application/rss+xml" />
	<link>https://tekcookie.com</link>
	<description>Everything about IT</description>
	<lastBuildDate>Sun, 13 Jun 2021 12:48:14 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://i0.wp.com/tekcookie.com/wp-content/uploads/2021/06/cropped-TekCookie-211.png?fit=32%2C17&#038;ssl=1</url>
	<title>Backup-Exec | TekCookie</title>
	<link>https://tekcookie.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">174510684</site>	<item>
		<title>Veritas Backup Exec Selection Details</title>
		<link>https://tekcookie.com/veritas-backup-exec-selection-details/</link>
					<comments>https://tekcookie.com/veritas-backup-exec-selection-details/#respond</comments>
		
		<dc:creator><![CDATA[jeffythampi]]></dc:creator>
		<pubDate>Thu, 12 Dec 2019 08:14:08 +0000</pubDate>
				<category><![CDATA[Backup]]></category>
		<category><![CDATA[Backup-Exec]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Backup Exec Selection Details]]></category>
		<category><![CDATA[Backup Selection]]></category>
		<category><![CDATA[Veritas Backup Exec]]></category>
		<guid isPermaLink="false">https://adminscripter.wordpress.com/?p=265</guid>

					<description><![CDATA[Export Veritas Backup Exec Selection Details using SQL For a change, here is something different from PowerShell. Below is SQL script for fetching Veritas backup selection details from Backup Exec. Note: The backup job names in the backup server are having words &#8220;Monthly, weekly and daily&#8221; which we are using to in the script to [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h1 class="wp-block-heading">Export Veritas Backup Exec Selection Details using SQL</h1>



<p>For a change, here is something different from PowerShell.</p>



<p>Below is SQL script for fetching Veritas backup selection details from Backup Exec. </p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p><strong><em>Note:</em></strong> The backup job names in the backup server are having words &#8220;Monthly, weekly and daily&#8221; which we are using to in the script to fetch the selection information.</p></blockquote>



<pre class="wp-block-code"><code lang="sql" class="language-sql line-numbers">USE BEDB;
SELECT DISTINCT
	JobName
	, SC.ScriptDescription
	, RC.UserDefinedName
	,  DeviceSelectionName + '\' +  [PathName]  + [FileName]  as [PathName1]
FROM Scripts SC
LEFT JOIN [vwScriptPropertiesBackup] SPB
ON SC.ScriptID = SPB.ScriptID
LEFT JOIN jobs jj
ON SC.ScriptID = jj.ScriptID
LEFT JOIN [vwResourceContainer] RC
ON SPB.ResourceContainerID = RC.RCID
WHERE (
	jobname LIKE '%monthly%'
 -- OR jobname LIKE '%daily%'
 -- OR jobname LIKE '%weekly%'
 -- OR jobname LIKE '%yearly%'
 )
	AND [FileName] NOT LIKE ''
	AND jobname NOT LIKE '%Lotus%'
ORDER BY JobName, RC.UserDefinedName</code></pre>



<p>By executing the above SQL script in SSMS, Here comes the output as shown below</p>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" decoding="async" src="https://i0.wp.com/tekcookie.com/wp-content/uploads/2019/12/backupexec.jpg?w=1080&#038;ssl=1" alt="" class="wp-image-267"/></figure>



<p>The script works with Exec 16.  Please test it for other versions of Backup Exec.</p>



<div style="height:70px" aria-hidden="true" class="wp-block-spacer"></div>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p> Thank you for reading my post. Hope this is helpful to you. </p></blockquote>



<hr class="wp-block-separator"/>



<p></p>
]]></content:encoded>
					
					<wfw:commentRss>https://tekcookie.com/veritas-backup-exec-selection-details/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">265</post-id>	</item>
	</channel>
</rss>
