<?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>Bits of Arrogance &#187; MySQL</title>
	<atom:link href="https://www.crummylogic.com/wordpress/?feed=rss2&#038;tag=mysql" rel="self" type="application/rss+xml" />
	<link>https://www.crummylogic.com/wordpress</link>
	<description>Making myself pervasive</description>
	<lastBuildDate>Wed, 04 Oct 2017 17:25:53 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.2.4</generator>
	<item>
		<title>Bacula or Bareos query for all backup copies of files in a directory</title>
		<link>https://www.crummylogic.com/wordpress/?p=314</link>
		<comments>https://www.crummylogic.com/wordpress/?p=314#comments</comments>
		<pubDate>Tue, 21 Oct 2014 16:44:18 +0000</pubDate>
		<dc:creator><![CDATA[jrdalrymple]]></dc:creator>
				<category><![CDATA[Technology junk]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[Bacula]]></category>
		<category><![CDATA[Bareos]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.jrssite.com/wordpress/?p=314</guid>
		<description><![CDATA[A customer gave me a vague description of where some files that he needed restored were, and also a vague timeline for when they needed to be restored from. I wanted to give him a list of all the files under a specific path and moreover all the dates from whence those files were backed &#8230; <a href="https://www.crummylogic.com/wordpress/?p=314" class="more-link">Continue reading <span class="screen-reader-text">Bacula or Bareos query for all backup copies of files in a directory</span> <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>A customer gave me a vague description of where some files that he needed restored were, and also a vague timeline for when they needed to be restored from. I wanted to give him a list of all the files under a specific path and moreover all the dates from whence those files were backed up.</p>
<p>First ID the Path you care about:</p>
<pre>SELECT * FROM Path WHERE Path LIKE 'C:/YOUR/PATH/HERE%'</pre>
<p>Make note of the resulting PathIds. In my case the ones I care about are 16221 and 16220.</p>
<pre>SELECT File.FileId, Path.Path, Filename.Name, Job.StartTime
FROM File
INNER JOIN Path ON Path.PathId=File.PathId
INNER JOIN Filename ON File.FilenameId=Filename.FilenameId
INNER JOIN Job ON File.JobId=Job.JobId
WHERE
File.PathID='16221'
OR File.PathID='16220';</pre>
]]></content:encoded>
			<wfw:commentRss>https://www.crummylogic.com/wordpress/?feed=rss2&#038;p=314</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
