[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Recover lost (deleted) data in Debian



On Mon, 2008-06-16 at 15:08 -0400, Paul Cartwright wrote:
> On Mon June 16 2008, Paul Johnson wrote:
> > Copy it back over from your latest backup.
> >
> > Though, this would require that you are already making backups.  If
> > you're not, consider this a lesson about why you should, go get yourself
> > a big, external firewire drive (and a compatible controller if your
> > machine doesn't support firewire yet) and check out the faubackup
> > package.
> 
> ok, so my Mybook backup is a few months old.. I was using an rsync command 
> line to backup my desktop.
> never heard of faubackup before!
> # faubackup /home /media/disk ( the Mybook 750Gb.. external USB HD)
> 
> lets see how long it takes..
> 
> yeah, but this was also too late for me:) I uh, managed to wipe out my wifes 
> entire Mail folder ( kmail)... ran some stupid command that was supposed to 
> do a maildir2mbox conversion. Well, it sorta did, but only the top level 
> folders, and it wiped out the entire folders email, including sub folders.. 
> and the mbox files were not in subfolder format...
> SOOOooo, I had to do a quick mbox2maildir, humbly apologizing that I'll make 
> backups more often:) at least before I do anything stupid..

Faubackup is intended to run as a cron.daily script:  Make
sure /etc/faubackup.conf is sane before that runs next, as it does NOT
make sure that there's a filesystem mounted at that mountpoint before
continuting.  If you don't either disable faubackup's cronjob or ensure
your backup filesystem is going to be there when faubackup runs, it'll
run nightly.

I have a disk a little over twice the size of the filesystems on
ursa-major (set up as an LVM so I can expand it later when I get another
disk) mounted as /media/backup and point faubackup that way,
occasionally tweaking the retention times if I notice it's getting tight
on space.

-- 
Paul Johnson
baloo@ursine.ca

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: