<?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>Admins Goodies &#187; backup</title>
	<atom:link href="http://adminsgoodies.com/tag/backup/feed/" rel="self" type="application/rss+xml" />
	<link>http://adminsgoodies.com</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Fri, 24 May 2013 16:33:10 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Doing backup from Linux to USB Pen Drive with rsync</title>
		<link>http://adminsgoodies.com/doing-backup-from-linux-to-usb-pen-drive-with-rsync/</link>
		<comments>http://adminsgoodies.com/doing-backup-from-linux-to-usb-pen-drive-with-rsync/#comments</comments>
		<pubDate>Thu, 24 Jan 2013 17:35:26 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[rsync]]></category>
		<category><![CDATA[usb-stick]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/doing-backup-from-linux-to-usb-pen-drive-with-rsync/</guid>
		<description><![CDATA[I am trying to do a backup from Linux to USB Pen Drive with rsync each day and I take home the Pen Drive at night. I am running the following command but it looks like its update every file every day? rsync -y -r -vv ~/Documents/ /media/PenDrive/xxxx-home/ Can someone please tell me if this can be done better I used to just tar of my ~/Documents and cp the file to my Pen Drive [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>I am trying to do a backup from Linux to USB Pen Drive with rsync each day and I take home the Pen Drive at night.  I am running the following command but it looks like its update every file every day?</p>
<pre class="prettyprint"><code>rsync -y -r -vv ~/Documents/ /media/PenDrive/xxxx-home/
</code></pre>
<p>Can someone please tell me if this can be done better I used to just tar of my ~/Documents and cp the file to my Pen Drive but my SA said this would be better but I dont think it is..</p>
<p>and sometimes I am getting this message</p>
<p>rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6]</p>
<div class="author">Asked by <a href="http://serverfault.com/users/150591/user150591" target="_blank">user150591</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>rsync &#8211;modify-window 1 -a &#8211;no-o &#8211;no-p &#8211;no-g ~/Documents/ /media/PenDrive/uftwf-home/</p>
<pre class="prettyprint">
--modify-window 1 because fat "represents times with a 2-second resolution"
--no-o because vfat does not support owners
--no-g because vfat does not support groups
--no-p because vfat does not support permissions
</pre>
<div class="author">Answered by <a href="http://serverfault.com/users/91359/hennes" target="_blank">Hennes</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/472056/doing-backup-from-linux-to-usb-pen-drive-with-rsync" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/doing-backup-from-linux-to-usb-pen-drive-with-rsync/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What directories absolutely need to be in a full system backup? [closed]</title>
		<link>http://adminsgoodies.com/what-directories-absolutely-need-to-be-in-a-full-system-backup-closed/</link>
		<comments>http://adminsgoodies.com/what-directories-absolutely-need-to-be-in-a-full-system-backup-closed/#comments</comments>
		<pubDate>Tue, 22 Jan 2013 17:35:18 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[imaging]]></category>
		<category><![CDATA[rsync]]></category>
		<category><![CDATA[ubuntu-12.04]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/what-directories-absolutely-need-to-be-in-a-full-system-backup-closed/</guid>
		<description><![CDATA[I&#8217;m currently configuring an Ubuntu Server system and would like to perform routine backups using rsync. The goal is to have the right files backed up so that I can use the backup to create an identical system running somewhere else without a hitch (identical ssh, apache, mysql, etc). Is rsync the right tool for the job? If so, which directories would I absolutely need to include in the backup? Asked by MaxMackie If you [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>I&#8217;m currently configuring an Ubuntu Server system and would like to perform routine backups using rsync. The goal is to have the right files backed up so that I can use the backup to create an identical system running somewhere else without a hitch (identical ssh, apache, mysql, etc).</p>
<p>Is rsync the right tool for the job? If so, which directories would I absolutely need to include in the backup?</p>
<div class="author">Asked by <a href="http://serverfault.com/users/80673/maxmackie" target="_blank">MaxMackie</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>If you have to ask &#8220;What should I back up?&#8221;, then the only answer I can give is:</p>
<p><strong>Everything</strong>. </p>
<p>Rsync <em>might</em> work for your situation, but it&#8217;s missing many critical features found in real backup tools. </p>
<p>One thing to consider that would ease the bring-up of new machines is to use a configuration management product like Puppet or Chef. Using these to deploy your servers ensures that your systems&#8217; configurations are in a known-good and reproducible state.</p>
<div class="author">Answered by <a href="http://serverfault.com/users/20815/eeaa" target="_blank">EEAA</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/471233/what-directories-absolutely-need-to-be-in-a-full-system-backup" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/what-directories-absolutely-need-to-be-in-a-full-system-backup-closed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Robocopy for Microsoft Access Files MIR switch</title>
		<link>http://adminsgoodies.com/robocopy-for-microsoft-access-files-mir-switch/</link>
		<comments>http://adminsgoodies.com/robocopy-for-microsoft-access-files-mir-switch/#comments</comments>
		<pubDate>Mon, 21 Jan 2013 17:34:05 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[ms-access]]></category>
		<category><![CDATA[robocopy]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/robocopy-for-microsoft-access-files-mir-switch/</guid>
		<description><![CDATA[We are using robocopy with MIR switch to backup our Microsoft Access Databases, i.e., .accdb, and .mdb files. Interesting thing with Access database files is that you can open a database, add a few records into a table, close the db and the size of the database file will not change. Will robocopy know that he has to copy this file next time when he does the backup? Thanks Asked by I don&#039;t know. Changing [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>We are using robocopy with MIR switch to backup our Microsoft Access Databases, i.e., .accdb, and .mdb files. Interesting thing with Access database files is that you can open a database, add a few records into  a table, close the db and the size of the database file will not change.<br />
Will robocopy know that he has to copy this file next time when he does the backup?</p>
<p>Thanks</p>
<div class="author">Asked by <a href="http://serverfault.com/users/138169/i-dont-know" target="_blank">I don&#039;t know.</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>Changing the file not necessarily leads to a change in the file&#8217;s size, but typically (i.e. unless a sufficiently privileged process has changed that) the following always happens:</p>
<ul>
<li>the <em>&#8220;last modified&#8221;</em> timestamp of the file is updated to the current timestamp</li>
<li>the <em>&#8220;archive&#8221;</em> bit is touched (if it was not set, it is set by the OS automatically)</li>
</ul>
<p>Robocopy would compare the &#8220;last modified&#8221; timestamp of the destination with that of the source and copy when these two differ (this behavior might be tweaked according to your requirements using the <code>/xn</code> and <code>/xo</code> switches). Robocopy would only honor (and reset) the <code>archive</code> file attribute when you use <code>/m</code> switch &#8211; see the <a href="http://technet.microsoft.com/en-us/library/cc733145%28v=ws.10%29.aspx" rel="nofollow">robocopy documentation</a> for details.</p>
<div class="author">Answered by <a href="http://serverfault.com/users/76595/syneticon-dj" target="_blank">syneticon-dj</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/470980/robocopy-for-microsoft-access-files-mir-switch" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/robocopy-for-microsoft-access-files-mir-switch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is the length of magnetic band in a DLT tape?</title>
		<link>http://adminsgoodies.com/what-is-the-length-of-magnetic-band-in-a-dlt-tape/</link>
		<comments>http://adminsgoodies.com/what-is-the-length-of-magnetic-band-in-a-dlt-tape/#comments</comments>
		<pubDate>Mon, 31 Dec 2012 17:33:01 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[dlt]]></category>
		<category><![CDATA[tape]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/what-is-the-length-of-magnetic-band-in-a-dlt-tape/</guid>
		<description><![CDATA[We are currently destroying our old DLT tape (some are 30 years old&#8230;), and we are amazed by the length of the band inside. We would know what is it length ? It looks infinite ! (+1) Asked by Kedare Each generation of DLT was different: DLT III is about 365m DLT IV is about 557m SDLT I is about 558m SDLT II is about 630m Answered by DerfK Check more discussion of this question.]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>We are currently destroying our old DLT tape (some are 30 years old&#8230;), and we are amazed by the length of the band inside.</p>
<p>We would know what is it length ? It looks infinite ! (+1)</p>
<div class="author">Asked by <a href="http://serverfault.com/users/35545/kedare" target="_blank">Kedare</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>Each generation of DLT was different:</p>
<ul>
<li>DLT III is <a href="http://uk.insight.com/en-gb/productinfo/lto-ultrium-media-tapes/0001492633" rel="nofollow">about 365m</a></li>
<li>DLT IV is <a href="http://www.fujifilm.com/products/storage/lineup/dlt4/" rel="nofollow">about 557m</a></li>
<li>SDLT I is <a href="http://www.tape4backup.com/sdlt1-320.php" rel="nofollow">about 558m</a></li>
<li>SDLT II is <a href="http://www.overstock.com/Electronics/Maxell-Super-DLTtape-II-Tape-Cartridge/2628283/product.html" rel="nofollow">about 630m</a></li>
</ul>
<div class="author">Answered by <a href="http://serverfault.com/users/56830/derfk" target="_blank">DerfK</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/461967/what-is-the-length-of-magnetic-band-in-a-dlt-tape" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/what-is-the-length-of-magnetic-band-in-a-dlt-tape/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Is it useful check data integrity in one DAT tape?</title>
		<link>http://adminsgoodies.com/is-it-useful-check-data-integrity-in-one-dat-tape/</link>
		<comments>http://adminsgoodies.com/is-it-useful-check-data-integrity-in-one-dat-tape/#comments</comments>
		<pubDate>Mon, 17 Dec 2012 17:35:50 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[tape]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/is-it-useful-check-data-integrity-in-one-dat-tape/</guid>
		<description><![CDATA[I backup my data every day on tape using one drive DAT HP Storageworks DAT 160. I use one tape for every day and I turn them weekly. Every monday I check one tape randomly recover some files saved on it. I know that when data is saved on tape, the driver and backup software check data integrity, but I wonder if a manual check of some data saved has a sense or not. I [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>I backup my data every day on tape using one drive DAT HP Storageworks DAT 160. I use one tape for every day and I turn them weekly. Every monday I check one tape randomly recover some files saved on it.</p>
<p>I know that when data is saved on tape, the driver and backup software check data integrity, but I wonder if a manual check of some data saved has a sense or not. I re-use these tapes many times and I would be sure data are safe.</p>
<div class="author">Asked by <a href="http://serverfault.com/users/68143/maxim" target="_blank">maxim</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>Check your backp softtware for a validation routine.</p>
<p>In general, restoring to SEE THE CONTENT is ridiculous &#8211; you can trust checksums to work well enough that a file that does not show an error contains the same content that you had at backup. You basically waste a LOT of time.</p>
<p>Tape integrity checks should be a semi (need to replace the tapes in the drive) automatic function of your backup software.</p>
<div class="author">Answered by <a href="http://serverfault.com/users/37059/tomtom" target="_blank">TomTom</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/458650/is-it-useful-check-data-integrity-in-one-dat-tape" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/is-it-useful-check-data-integrity-in-one-dat-tape/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>From bad sector to “damaged file” &#8211; did it for Linux/ext3, can I do it for Windows/NTFS?</title>
		<link>http://adminsgoodies.com/from-bad-sector-to-damaged-file-did-it-for-linuxext3-can-i-do-it-for-windowsntfs/</link>
		<comments>http://adminsgoodies.com/from-bad-sector-to-damaged-file-did-it-for-linuxext3-can-i-do-it-for-windowsntfs/#comments</comments>
		<pubDate>Fri, 14 Dec 2012 17:36:31 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[bad-blocks]]></category>
		<category><![CDATA[ext3]]></category>
		<category><![CDATA[ntfs]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/from-bad-sector-to-damaged-file-did-it-for-linuxext3-can-i-do-it-for-windowsntfs/</guid>
		<description><![CDATA[When a SMART check on a disk reports a bad sector, it is important to be able to identify the file that has the bad sector &#8211; and restore it from backups. Below, I show how I did this for my Linux/ext3 VMWARE server &#8211; but does anyone know if this can be done for Windows/NTFS? Here&#8217;s how I did it for Linux/ext3: I first asked the drive to do a hardware surface scan (below [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>When a SMART check on a disk reports a bad sector, it is important to be able to identify the file that has the bad sector &#8211; and restore it from backups. Below, I show how I did this for my Linux/ext3 VMWARE server &#8211; but does anyone know if this can be done for Windows/NTFS?</p>
<p>Here&#8217;s how I did it for Linux/ext3: I first asked the drive to do a hardware surface scan (below the OS level, with the on-drive SMART circuits):</p>
<pre class="prettyprint"><code>vserver:~# smartctl -t long /dev/sdc
</code></pre>
<p>I looked at the results:</p>
<pre class="prettyprint"><code>vserver:~# smartctl -a /dev/sdc
...
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       1
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       9
...
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Completed: read failure       90%     27679         591363172
</code></pre>
<p>So, one sector was already marked bad, 9 were marked for replacing from the &#8220;staging&#8221; sector space. More importantly, the first logical block address (LBA) that is unreadable, was 591363172.</p>
<p>I found the partition (and the offset inside it) that this number &#8220;translated&#8221; to:</p>
<pre class="prettyprint"><code>vserver:~# fdisk -lu /dev/sdc
Device Boot      Start         End      Blocks   Id  System
/dev/sdc1           32   976773119   488386544   83  Linux
</code></pre>
<p>The partition started at sector 32. So, the bad sector was&#8230;</p>
<pre class="prettyprint"><code>vserver:~# bc -l
591363172-32+1
591363141
</code></pre>
<p>&#8230;at an offset of 591363141 sectors from the beginning of the partition.</p>
<p>Now I could find which file was &#8220;hosed&#8221;:</p>
<pre class="prettyprint"><code>vserver:~# tune2fs -l /dev/sdc1 | grep Block\ size
Block size:               4096
</code></pre>
<p>The block size of this EXT3 filesystem was 4096 bytes, so the bad sector destroyed this block in the filesystem:</p>
<pre class="prettyprint"><code>vserver:~# bc -l
591363141*512/4096
73920392.62500000000000000000
</code></pre>
<p>And the block number (73920392) corresponded into this file:</p>
<pre class="prettyprint"><code>vserver:~# debugfs
debugfs 1.41.3 (12-Oct-2008)
debugfs:  open /dev/sdc1
testb 73920392
debugfs:  testb 73920392
Block 73920392 marked in use
debugfs:  icheck 73920392
Block           Inode number
73920392        18472967
debugfs:  ncheck 18472967
Inode           Pathname
18472967        /path/to/filewithbadsector
</code></pre>
<p>And I restored that file from my backups.</p>
<p>Is there an equivalent procedure I can follow for Windows/NTFS?</p>
<div class="author">Asked by <a href="http://serverfault.com/users/36375/ttsiodras" target="_blank">ttsiodras</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>I know you have an NTFS FS, and run windows on that FS.<br />
I don&#8217;t know if you &#8220;could&#8221; boot a live Linux to work on that driver or not.</p>
<p>If you can boot Linux from CD or USB,<br />
you can use ntfsprogs. look at &#8211; </p>
<pre class="prettyprint"><code>ntfscluster ntfsinfo 
</code></pre>
<p>I believe ntfscluster tell you what file a particular cluster stores.  I hope this puts you  in the right direction.</p>
<div class="author">Answered by <a href="http://serverfault.com/users/77571/techzilla" target="_blank">TechZilla</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/311270/from-bad-sector-to-damaged-file-did-it-for-linux-ext3-can-i-do-it-for-windo" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/from-bad-sector-to-damaged-file-did-it-for-linuxext3-can-i-do-it-for-windowsntfs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Server Backup fails to backup Hyper-V VM with “Access is denied”</title>
		<link>http://adminsgoodies.com/windows-server-backup-fails-to-backup-hyper-v-vm-with-access-is-denied/</link>
		<comments>http://adminsgoodies.com/windows-server-backup-fails-to-backup-hyper-v-vm-with-access-is-denied/#comments</comments>
		<pubDate>Sun, 09 Dec 2012 17:35:57 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[hyper-v]]></category>
		<category><![CDATA[windows-server-2012]]></category>
		<category><![CDATA[windows-server-backup]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/windows-server-backup-fails-to-backup-hyper-v-vm-with-access-is-denied/</guid>
		<description><![CDATA[I&#8217;m trying to use Windows Server Backup on my Windows Server 2012 box to backup my Hyper-V VMs. I created a backup job but each job ends with some &#8220;Access is denied&#8221; errors. One of my VMs (Linux Server) is backed up properly. All others (one Windows 8, one Linux) are not (or at least it seems that way from the looks of the log file below). How can I solve this problem? Here&#8217;s the [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>I&#8217;m trying to use Windows Server Backup on my Windows Server 2012 box to backup my Hyper-V VMs. I created a backup job but each job ends with some &#8220;Access is denied&#8221; errors.</p>
<p><img src="http://i.stack.imgur.com/9C3e9.png" alt="enter image description here"></p>
<p>One of my VMs (Linux Server) is backed up properly. All others (one Windows 8, one Linux) are not (or at least it seems that way from the looks of the log file below).</p>
<p>How can I solve this problem?</p>
<p>Here&#8217;s the log I&#8217;m getting:</p>
<pre><code>Error in backup of D:\ during read: Error [0x80070005] Access is denied.
Application backup
Writer Id: {66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}
   Component: C435964E-C07A-4958-BA73-A04C6583280F
   Caption     : Backup Using Saved State\Alter Server
   Logical Path: 
   Error           : 8078010E
   Error Message   : Copy of the files failed.   Detailed Error  : 80070005
   Detailed Error Message : (null)Writer Id: {66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}
   Component: E780F138-9676-42FB-821C-4561B9B263DC
   Caption     : Backup Using Child Partition Snapshot\Windows 8
   Logical Path: 
   Error           : 8078010E
   Error Message   : Copy of the files failed.   Detailed Error  : 80070005
   Detailed Error Message : (null)Writer Id: {66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}
   Component: Host Component
   Caption     : Host Component
   Logical Path: 
   Error           : 8078010E
   Error Message   : Copy of the files failed.   Detailed Error  : 80070005
   Detailed Error Message : (null)
</code></pre>
<div class="author">Asked by <a href="http://serverfault.com/users/71268/sebastian-krysmanski" target="_blank">Sebastian Krysmanski</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>It seems that Windows Server Backup can&#8217;t handle Hyper-V VMs on ReFS file systems. I solved the problem by changing the file system to NTFS, and now everything works fine.</p>
<div class="author">Answered by <a href="http://serverfault.com/users/71268/sebastian-krysmanski" target="_blank">Sebastian Krysmanski</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/453079/windows-server-backup-fails-to-backup-hyper-v-vm-with-access-is-denied" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/windows-server-backup-fails-to-backup-hyper-v-vm-with-access-is-denied/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FreeBSD restore of /rescue</title>
		<link>http://adminsgoodies.com/freebsd-restore-of-rescue/</link>
		<comments>http://adminsgoodies.com/freebsd-restore-of-rescue/#comments</comments>
		<pubDate>Sat, 01 Dec 2012 17:35:51 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[restore]]></category>
		<category><![CDATA[rsync]]></category>
		<category><![CDATA[tar]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/freebsd-restore-of-rescue/</guid>
		<description><![CDATA[I&#8217;m running a restore from a previous backup of my FreeBSD system, and run into trouble when restoring / (excluding mount-points). The problem is that /rescue fills the / partition (to the extent that I can&#8217;t restore my entire / partition) by taking up more place than it originally did. I suppose it&#8217;s because /rescue contains links and not files, and that files, not links, are restored into my / partition. I&#8217;ve tried restoring with [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>I&#8217;m running a restore from a previous backup of my FreeBSD system, and run into trouble when restoring <code>/</code> (excluding mount-points). The problem is that <code>/rescue</code> fills the <code>/</code> partition (to the extent that I can&#8217;t restore my entire <code>/</code> partition) by taking up more place than it originally did.</p>
<p>I suppose it&#8217;s because <code>/rescue</code> contains links and not files, and that files, not links, are restored into my <code>/</code> partition. I&#8217;ve tried restoring with both <code>tar</code> and <code>rsync</code>:</p>
<pre><code>( cd /mybak/ ; tar --one-file-system -cvf - . ) | ( cd /newroot/ ; tar -xpf - . )
</code></pre>
<p>and</p>
<pre><code>/usr/local/bin/rsync -va --delete --one-file-system  /mybak/ /newroot/
</code></pre>
<p>Both methods lead to my problem. What can I do to properly restore (or initially backup) the <code>/</code> partition, including <code>/rescue</code>, so that the restore doesn&#8217;t take up more disk space than the original?</p>
<div class="author">Asked by <a href="http://serverfault.com/users/93492/poplitea" target="_blank">poplitea</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>As you surmised, the problem here is <code>/rescue</code> doesn&#8217;t contain many files &#8211; it contains one file (inode) with many names (hard links).  As a result when backing up or restoring <code>/rescue</code> you need to use software that&#8217;s aware of hard links.</p>
<p>For <code>rsync</code> this means the <code>-H</code> flag.  </p>
<p>For <code>tar</code> this should not require any special magic: BSD tar (and GNU tar) are smart enough to know what a hard link is.<br />
For other backup programs, you need to check the documentation.</p>
<hr />
<p>If you&#8217;re using the regular Unix tools to make backups of your system (and grabbing whole filesystems) you may be better off using <a href="http://www.freebsd.org/cgi/man.cgi?query=dump&amp;sektion=8" rel="nofollow"><code>dump</code></a> and <a href="http://www.freebsd.org/cgi/man.cgi?query=restore&amp;sektion=8" rel="nofollow"><code>restore</code></a>. Aside from the ability to use UFS snapshots, there are other advantages to the more traditional utilities.</p>
<div class="author">Answered by <a href="http://serverfault.com/users/32986/voretaq7" target="_blank">voretaq7</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/454137/freebsd-restore-of-rescue" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/freebsd-restore-of-rescue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Copying files between linux machines with strong authentication but without encryption</title>
		<link>http://adminsgoodies.com/copying-files-between-linux-machines-with-strong-authentication-but-without-encryption/</link>
		<comments>http://adminsgoodies.com/copying-files-between-linux-machines-with-strong-authentication-but-without-encryption/#comments</comments>
		<pubDate>Wed, 28 Nov 2012 17:35:40 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/copying-files-between-linux-machines-with-strong-authentication-but-without-encryption/</guid>
		<description><![CDATA[I&#8217;m looking for a suitable program to copy files from one linux machine to another one. The program should be able to do authentication but it should not do encryption. The reason behind the latter is the lack of CPU power to do the encryption. I copy backups from ~70 machines to a single backup server simultaneously. The single server is an HP Proliant DL360 G7, with 10 Gbps ethernet connection and an FC storage [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>I&#8217;m looking for a suitable program to copy files from one linux machine to another one. The program should be able to do authentication but it should not do encryption. The reason behind the latter is the lack of CPU power to do the encryption.</p>
<p>I copy backups from ~70 machines to a single backup server simultaneously. The single server is an HP Proliant DL360 G7, with 10 Gbps ethernet connection and an FC storage backend that can do 4 Gbps. Through FTP I can write ~400MB/sec to the storage (that&#8217;s about what I want) but through ssh with arcfour I can only do ~100MB/sec while having 100% CPU usage. That&#8217;s why I want file transfers not to be encrypted.</p>
<p>The alternatives that I found not really suitable:</p>
<ul>
<li>rcp: no authentication, forget it</li>
<li>FTP: making the authentication &#8220;secure&#8221; (at least preventing plain-text password exchange) is possible but not really easy and I haven&#8217;t found a method to force any FTP daemon to encrypt the control channel (for the authentication) and not to encrypt the data channel (for data transfers)</li>
<li>SCP/SFTP: in farely recent ssh(d) implementations you can&#8217;t turn off encryption. The best you can do is to use the arcfour cypher for the encryption but it sill uses too much CPU power for my needs.</li>
<li>rsync over ssh: same problems as with SCP/SFTP.</li>
<li>plain rsync: from the documentation of rsyncd: &#8220;The authentication protocol used in rsync is a 128 bit MD4 based challenge response system. This is fairly weak protection, though (with at least one brute-force hash-finding algorithm publicly available), so if you want really top-quality security, then I recommend that you run rsync over ssh.&#8221; It&#8217;s a no-go.</li>
</ul>
<p>Is there a protocol/program that can do exactly what I want?</p>
<p>(A big plus would be if it could work on windows as well and/or if it would support rsync-stlye copying/synchronization (e.g. copy only the differences).)</p>
<div class="author">Asked by <a href="http://serverfault.com/users/312/zizzencs" target="_blank">Zizzencs</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>You tried doing what I normally do, using a lower-weight encryption algorithm (like <code>arcfour</code>). When that becomes the bottleneck, the next approach I use is disabling ssh encryption entirely. </p>
<p>One approach for this is to use <a href="http://www.psc.edu/index.php/hpn-ssh" rel="nofollow">hpn-ssh</a> as your transport. My normal application for this is SSH copies across high-bandwidth, long-distance links (e.g. a 10GbE link between Chicago and New York with 16ms latency). hpn-ssh allows tuning of TCP windows there, but also has the option of <em>disabling encryption entirely</em>. That may help in your case.</p>
<p>Also see: <a href="http://serverfault.com/questions/377598/why-is-my-rsync-so-slow/377599#377599">Why is my rsync so slow?</a></p>
<div class="author">Answered by <a href="http://serverfault.com/users/13325/ewwhite" target="_blank">ewwhite</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/452978/copying-files-between-linux-machines-with-strong-authentication-but-without-encr" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/copying-files-between-linux-machines-with-strong-authentication-but-without-encryption/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Which level of data protection should I expect for a Linode personal server without backup service?</title>
		<link>http://adminsgoodies.com/which-level-of-data-protection-should-i-expect-for-a-linode-personal-server-without-backup-service/</link>
		<comments>http://adminsgoodies.com/which-level-of-data-protection-should-i-expect-for-a-linode-personal-server-without-backup-service/#comments</comments>
		<pubDate>Sat, 24 Nov 2012 17:36:04 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[linode]]></category>
		<category><![CDATA[vps]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/which-level-of-data-protection-should-i-expect-for-a-linode-personal-server-without-backup-service/</guid>
		<description><![CDATA[all: I bought a personal linode server without the backup service. All the data on it is totally personal and not that important. But for sure, I still don&#8217;t want them to be lost. I want to know, without the backup service, which level of data protection should I expect? Do they have in-place RAID or some other replication facilities for my data? How do you think, without the backup service, the probability of a [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>all:</p>
<p>I bought a personal linode server without the backup service.</p>
<p>All the data on it is totally personal and not that important. But for sure, I still don&#8217;t want them to be lost.</p>
<p>I want to know, without the backup service, which level of data protection should I expect?</p>
<p>Do they have in-place RAID or some other replication facilities for my data?</p>
<p>How do you think, without the backup service, the probability of a data loss would be?</p>
<p>Thanks.</p>
<div class="author">Asked by <a href="http://serverfault.com/users/35986/axqd" target="_blank">aXqd</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>Without backups, you have no data protection. RAID is for fault tolerance and availability in the event of a disk failure, not data protection. If you have a RAID 1 mirror and you accidentally delete or corrupt data, RAID isn&#8217;t going to protect you. </p>
<div class="author">Answered by <a href="http://serverfault.com/users/10472/mdmarra" target="_blank">MDMarra</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/451759/which-level-of-data-protection-should-i-expect-for-a-linode-personal-server-with" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/which-level-of-data-protection-should-i-expect-for-a-linode-personal-server-without-backup-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
