
{"id":21,"date":"2008-05-06T23:15:33","date_gmt":"2008-05-07T03:15:33","guid":{"rendered":"http:\/\/ikriv.com:8765\/blog\/?p=21"},"modified":"2008-05-06T23:15:33","modified_gmt":"2008-05-07T03:15:33","slug":"windows-server-2008-backup-a-true-masterpiece-of-absurdity","status":"publish","type":"post","link":"https:\/\/ikriv.com\/blog\/?p=21","title":{"rendered":"Windows Server 2008 Backup: a True Masterpiece of Absurdity"},"content":{"rendered":"<p align=\"right\"><i>Left to themselves, things tend to go from bad to worse<br \/>Murphy&#8217;s Law<\/i><\/p>\n<p>I was looking for a backup solution for a new computer with Windows 2008 Server. Naturally, first I turned to the built-in Windows Server Backup software. I did not expect wonders, but what I found was way beyond the limits of sanity. Disclaimer: I am not a system administrator, and maybe this article states the obvious. Yet, I feel I must record my experience, so if someone asks me &#8220;what&#8217;s wrong with Windows Server Backup&#8221;, I can quickly point him here.<!--more--><\/p>\n<p>If you would like to hear the whole story, read on. If you&#8217;d rather cut to the chase, go to the <a href=\"#summary\">&#8220;summary&#8221;<\/a> section below.<\/p>\n<p>It started to sound absurd from the very beginning. The options for one-time backup are completely different from scheduled backup. One-time backup allows you to backup to a network share, to a disk drive, or to a DVD writer (which I don&#8217;t have on that particular server). Scheduled backup, however, can only backup to a disk drive, and it wants to reformat the whole drive for its own use.<\/p>\n<p>Well, this is annoying, I thought, but I still can schedule multiple one-time backups via the task scheduler and the command line tool wbadmin.exe. So, I proceeded with the one-time manual backup, using my 1TB external hard drive as a destination.<\/p>\n<p>The backup went smoothly and very quickly. They never asked me for the backup location and just put the files in <code>WindowsImageBackup<\/code> folder in the root, but hey, this is Microsoft, what did you expect &#8211; a config file? \ud83d\ude42 That was no big deal for me &#8211; I could easily let them place the backups wherever they want.<\/p>\n<p>Unfortunately, in Windows Server 2008 Microsoft dropped the support for backing up individual files and folders. You can back up only whole disks. This is bad, but not the end of the world. In line with the tradition, the older version of the backup that supported individual folders cannot be used on Windows Server 2008.<\/p>\n<p>A bigger blow was that the backup file is not compressed. So, if you have 8GBytes of data on your drive, you get a 8GBytes backup file. At this point I had a brilliant idea: why don&#8217;t I just mark the <code>WindowsImageBackup<\/code> folder as compressed? To my amazement it worked. I could even restore some files from the compressed backup.<\/p>\n<p>But then I made a big mistake &#8211; I took another backup! It went all downhill from here.<\/p>\n<p>First, this new backup was put into the compressed <code>WindowsImageBackup<\/code> folder, but the backup file was not compressed. A couple of auxilliary 64K files around it were compressed, but the big 8GByte backup file stood proudly in its completely uncompressed glory.<\/p>\n<p>Second, the previous backup disappeared from the face of the Earth, although it was still visible in the backup history, and still accessible for recovery. I also could see it taking up the disk space.<\/p>\n<p>Well, I said, let me just delete this first backup, so it does not take up space. And then I was hit with the biggest absurdity of them all: YOU CANNOT, I repeat, CANNOT DELETE THE OLD BACKUPS!<\/p>\n<p>Apparently, Microsoft thinks that when people run out of disk space, they just buy bigger hard drives.<\/p>\n<p>There is an option in <code>wbadmin.exe<\/code> to delete &#8220;system state backups&#8221;, but it does not apply to full volume backups. There is another, half-documented option to delete the &#8220;catalog&#8221;, or backup history. This will make all the backups you made, old and new, inaccessible on your computer.<\/p>\n<p>However, even if you do delete the catalog, the backup files don&#8217;t go anywhere. So, I went ahead and deleted the <code>WindowsImageBackup<\/code> folder manually. The free space on my drive increased by the size of the second backup, but I still had 8GBytes missing!<\/p>\n<p>I ran chkdsk and it showed no problems on the drive.<\/p>\n<p>After scratching my head for a couple of minutes, I started to examine all the folders on the drive one by one, and the hidden <code>System Volume Information<\/code> folder caught my attention. The folder was not accessible and I could not calculate its size. Tried to go there &#8211; access denied. I updated the permissions and bingo! Two huge files with cryptic GUID-like names: one a few kilobytes shy of 2^32 bytes (4GB), and the other slightly less than that. This is what was eating the disk space, and this is probably where the first backup found its resting place.<\/p>\n<p>Unfortunately, I could not delete these files, nor I could take ownership or adjust permissions, even being an admin on the machine. Access denied all over. These files are fenced really well. In any case, even if I could remove them, I would probably risk the integrity of the disk volume. It&#8217;s a good thing I just started playing with the server, so I had almost nothing on that external hard drive, and I could just reformat it. So, here goes the<br \/>\n<a name=\"summary\"><\/a><\/p>\n<h1>Summary<\/h1>\n<ul>\n<li>You can backup only full disks<\/li>\n<li>Scheduled backup wants to reformat the destination drive, but manual backup does not<\/li>\n<li>You cannot compress the backups<\/li>\n<li><b>You cannot delete old backups<\/b><\/li>\n<li><b><font color=\"red\">Old backups may go into hidden system files that cannot be removed, even by the administrator<br \/>\n<\/font><\/b><\/li>\n<\/ul>\n<p>The bottom line: Windows Server Backup is not just unusable, it is ridiculously unusable. Either people who created it did not know what they are doing, or this is an intentional diversion.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Left to themselves, things tend to go from bad to worseMurphy&#8217;s Law I was looking for a backup solution for a new computer with Windows 2008 Server. Naturally, first I <a href=\"https:\/\/ikriv.com\/blog\/?p=21\" class=\"more-link\">[&hellip;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"Layout":"","footnotes":""},"categories":[4],"tags":[],"class_list":["entry","author-ikriv","has-more-link","post-21","post","type-post","status-publish","format-standard","category-hack"],"_links":{"self":[{"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/21","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=21"}],"version-history":[{"count":0,"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/21\/revisions"}],"wp:attachment":[{"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=21"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ikriv.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}