<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Safe-Keeping on BAFM</title><link>https://christian.blog.pakiheim.de/tags/safe-keeping/</link><description>Recent content in Safe-Keeping on BAFM</description><generator>Hugo -- 0.160.1</generator><language>en</language><lastBuildDate>Fri, 24 Jul 2009 13:40:18 +0000</lastBuildDate><atom:link href="https://christian.blog.pakiheim.de/tags/safe-keeping/index.xml" rel="self" type="application/rss+xml"/><item><title>Exclude a directory from tar</title><link>https://christian.blog.pakiheim.de/posts/2009-07-24_exclude-a-directory-from-tar/</link><pubDate>Fri, 24 Jul 2009 13:40:18 +0000</pubDate><guid isPermaLink="false">http://blog.barfoo.org/?p=2425</guid><description>&lt;p&gt;Damn tar is kinda weird .. usually, you specifiy excludes in the manner of &amp;ndash;exclude=&amp;quot;/path/to/exclude&amp;quot;. But tar needs to do things differently.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;
&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt" id="hl-0-1"&gt;&lt;a class="lnlinks" href="#hl-0-1"&gt;1&lt;/a&gt;
&lt;/span&gt;&lt;span class="lnt" id="hl-0-2"&gt;&lt;a class="lnlinks" href="#hl-0-2"&gt;2&lt;/a&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class="lntd"&gt;
&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;tar -cvpf /xen-dom0.tar --exclude &amp;#34;/proc/*&amp;#34; --exclude &amp;#34;/sys/*&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; --exclude &amp;#34;/dev/*&amp;#34; --exclude &amp;#34;/xen-dom0.tar&amp;#34; /
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;</description></item><item><title>TSM: Restoring the database/recovery log to a point-in-time</title><link>https://christian.blog.pakiheim.de/posts/2009-04-24_tsm-restoring-the-database-recovery-log-to-a-point-in-time/</link><pubDate>Fri, 24 Apr 2009 12:38:34 +0000</pubDate><guid isPermaLink="false">http://blog.barfoo.org/?p=1998</guid><description>&lt;p&gt;Well, my co-worker just called on my cell (it&amp;rsquo;s Friday, 16:00), and asked me which start-up script he needed to change in order to restore the database. My first response was, &amp;ldquo;ummm, that&amp;rsquo;s gonna be hard, we&amp;rsquo;re using heartbeat&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;Okay, so after a bit of asking I got out of him what he wanted to achieve by changing the start-up script. Apparently he did something to crash Tivoli Storage Manager (or rather repeatedly crash it) and wanted to restore the database. He talked to one of the systems partner we do have (and I&amp;rsquo;m happy we have them most of the time), who in return told him how to do it, but forgot a minute after he hung up the phone.&lt;/p&gt;</description></item></channel></rss>