{"id":332,"date":"2008-12-14T06:28:46","date_gmt":"2008-12-13T21:28:46","guid":{"rendered":"https:\/\/fugutabetai.com\/blog\/2008\/12\/14\/i-need-to-back-up-data-more-often\/"},"modified":"2008-12-14T06:28:46","modified_gmt":"2008-12-13T21:28:46","slug":"i-need-to-back-up-data-more-often","status":"publish","type":"post","link":"https:\/\/fugutabetai.com\/blog\/2008\/12\/14\/i-need-to-back-up-data-more-often\/","title":{"rendered":"I need to back up data more often"},"content":{"rendered":"<p>Friday night my desktop linux machine crashed.  That is pretty unusual: it usually runs 24&#215;7 for months at a time.  I have had one or two crashes recently due to the video drivers (I guess) because basically the video goes out, but I can still ssh in from another machine and the desktop is still alive.  I&#8217;ve been running Fedora 8 for a long time on it, and haven&#8217;t been able to get updates lately due to some broken packages and wonky yum state I got the machine into.  I haven&#8217;t really had time to try to fix it, and just figured that I would upgrade to Fedora 10 when that came out.<\/p>\n<p>Well, Fedora 10 came out, and my machine was giving me problems, so I thought I would do an upgrade.  I downloaded the DVD, threw it in and started the process.<\/p>\n<p>The install went fine, but there were problems with the video card drivers.  I had been using the binary drivers from AMD for my Radeon HD2400 (card of some sort) and they worked well for playing video.  I never could get video to work with compiz, so I didn&#8217;t have pretty whiz-bang effects, but that was fine because I could watch videos on the machine, which is basically what it is for.  <\/p>\n<p>The problem was that I couldn&#8217;t get the HD2400 card to display the screen right.  I read up on stuff, and it turns out that the newest version of the drivers hasn&#8217;t been updated for Fedora 10 and lots of people are having problems with those drivers now.  Great.  Well, I can always fall back to the onboard Intel G31 (I think?) video card.  Unfortunately, that gave me a different just as fatal problem: there are some strange messages in the log about the X server going into some sort of infinite loop.  It basically locks the screen.  I couldn&#8217;t manage to get that working either.  <\/p>\n<p>So I am now in a state with that machine where I can&#8217;t boot it graphically.  It will run fine in text mode.  That isn&#8217;t very useful for watching videos.  Things were working great with Fedora 8, but I had borked the install a bit, and now it is out of support anyway.  So I am now planning to move back to Fedora 9, but I can&#8217;t downgrade without wiping all the data on the hard disk.  This is a problem because I&#8217;ve got a LVM install binding two 500gig drives together, and they are not backed up.  About 800gig is video and user data that I want to keep.  Another 100gig of system data that I don&#8217;t care too much about.  But no backups.<\/p>\n<p>Well, I have a 500gig external drive, and just bought another 500gig external, and in single user mode I am now backing up the machine.  It looks like it will take about 24 hours to do a backup using the tar copy trick (I can at least see what files are being copied that way: &#8220;tar cf &#8211; . | (cd \/mnt\/backup\/data &#038;&#038; tar xBfv -)&#8221;)<\/p>\n<p>It is super slow.  I would like to use dd or something, but because I&#8217;m using LVM the sizes don&#8217;t work out so that I can mirror the partitions.  I don&#8217;t know the intricacies of dd anyway.  At least I&#8217;ll get a backup of all my data now (one of the drives I had was firewire, the new one is only USB.  The firewire drive was a lot quicker.)  Also when I re-install Fedora 9 (because driver support still isn&#8217;t there for 10) I will do a smarter partitioning: put \/home and \/data on their own mount points in the LVM so that future installs can blow the other stuff away and leave that data intact.  <\/p>\n<p>Actually, I&#8217;m still not clear on the best use of LVM.  Should I make a second LVM LogVolume group just for \/home and \/data?  That sounds like it would be safer to me, because then I could make multiple LogVolume groups for different installs if I wanted to, and blow away the whole thing on an upgrade.  But LVM is still a somewhat confusing concept for me.  I understand what it is doing, I do not understand practically what are the best ways to set things up to keep your data safe.  I had a different problem with LVMs once where the LVM itself went corrupt, and basically I just had to kiss that machine goodbye.<\/p>\n<p>I think I can use my standard rsync trick for backups from here on out, but Apple makes this so much easier with Time Machine.  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Friday night my desktop linux machine crashed. That is pretty unusual: it usually runs 24&#215;7 for months at a time. I have had one or two crashes recently due to the video drivers (I guess) because basically the video goes out, but I can still ssh in from another machine and the desktop is still [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[],"_links":{"self":[{"href":"https:\/\/fugutabetai.com\/blog\/wp-json\/wp\/v2\/posts\/332"}],"collection":[{"href":"https:\/\/fugutabetai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fugutabetai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fugutabetai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fugutabetai.com\/blog\/wp-json\/wp\/v2\/comments?post=332"}],"version-history":[{"count":0,"href":"https:\/\/fugutabetai.com\/blog\/wp-json\/wp\/v2\/posts\/332\/revisions"}],"wp:attachment":[{"href":"https:\/\/fugutabetai.com\/blog\/wp-json\/wp\/v2\/media?parent=332"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fugutabetai.com\/blog\/wp-json\/wp\/v2\/categories?post=332"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fugutabetai.com\/blog\/wp-json\/wp\/v2\/tags?post=332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}