Changes between Version 1 and Version 2 of Internal/OpenFlow/miscUnix


Ignore:
Timestamp:
Feb 20, 2012, 12:09:55 AM (13 years ago)
Author:
akoshibe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/OpenFlow/miscUnix

    v1 v2  
    22This is a page on various tools and techniques related to *nix administration, programming, disaster recovery - basically, odds and ends that come in handy once every so often.
    33Anything based on a link is reiterated just for completeness, and just in case a link dies.
     4
     5== File recovery with Extundelete ==
     6Extundelete lets you recover files (directories) that you've accidentally deleted on an ext file system. The best way to use the tool is to have a live CD with the tool on it, although it does not seem to come packaged with Linux by default.
     7
     81. Boot the machine off of live CD.
     92. Install `extundelete`. On Ubuntu, you need to edit sources.list, since it is not part of the standard repositories. [[BR]]
     103. Restore the files on the partition:
     11{{{
     12# sudo extundelete --restore-all /dev/sda1
     13}}} 
     14This restores everything that has been deleted in /dev/sda1, given the tool finds them. All recovered files are placed in a recovery directory that you can package and back up before rebooting the machine. 
    415
    516== Redirecting the output of a live process. ==