Koozali.org: home of the SME Server

Contribs.org Forums => General Discussion => Topic started by: girkers on May 23, 2010, 11:08:41 PM

Title: Recover partial backup
Post by: girkers on May 23, 2010, 11:08:41 PM
Is is possible to recover the files out standard backup that had crashed when it ran out of space? I have googled looking for information on dar files however living in my windows land I can't seem to find what I need. Could anyone offer a little direction?

Thanks

Girkers
Title: Re: Recover partial backup
Post by: janet on May 24, 2010, 02:33:44 AM
girkers

The answers are again in already published documentation, so please take the time to do some reading.

The answer is probably no. Again referring you to available documentation (the backup with dar article mentioned in the other thread), the catalog information of what files are backed up is in the last backup part file, so if the backup fails, then the whole backup is useless.

If you also read the DAR2 wiki article, it refers to how to enable the mc (midnight commander) plugin to allow you to open dar backups using mc.
http://wiki.contribs.org/DAR2
You may be able to read the existing files, good luck.

By the way, the problem you are expriencing, is exactly the reason that the old backup is not deleted until after the new backup has completed. That way you still have the old backup available to use if something goes wrong with the new backup.

I strongly suggest you have larger backup media and/or have a second backup media that you rotate. Additional media is cheaper than the costs associated with the problem you now appear to be facing, ie lost data !!!
Title: Re: Recover partial backup
Post by: jester on May 24, 2010, 07:53:43 AM
The next version of DAR (v2.4.0) will be able to recover each slice separately, see this feature request (http://sourceforge.net/tracker/?func=detail&aid=2830171&group_id=65612&atid=511615). But for the moment its like Mary said.
Title: Re: Recover partial backup
Post by: cactus on May 24, 2010, 10:55:07 AM
The next version of DAR (v2.4.0) will be able to recover each slice separately, see this feature request (http://sourceforge.net/tracker/?func=detail&aid=2830171&group_id=65612&atid=511615).
Thanks, that is a nice improvement IMHO.
Title: Re: Recover partial backup
Post by: holck on May 24, 2010, 11:04:29 AM
The answer to the question of recovering files from an unsuccessful backup is most certainly YES. Very competent people and companies exist that can recover surprisingly much data from even crashed disks, given enough time and money.
Title: Re: Recover partial backup
Post by: byte on May 24, 2010, 11:43:23 AM
I haven't tried on a incomplete backup but you could test it out for us all :) with dar installed on a unix machine go to the backup directory and try extracting what you require for example recover a home user directory...

dar -R /home/joe/recovered/ -x full-201005221555 -g home/e-smith/files/users/joe/home

Where "-R" is the path the data will be recovered to, "-x" is the backup file and "-g" is the path you want to recover from within your dar backup.

Title: Re: Recover partial backup
Post by: Stefano on May 24, 2010, 12:15:48 PM
slightly OT but.. is there a way to recover a single file from a tape backup done via standard SME's backup?

TIA
Title: Re: Recover partial backup
Post by: janet on May 24, 2010, 02:37:25 PM
Stefano

Try
http://forums.contribs.org/index.php/topic,45315.msg219921.html#msg219921
Title: Re: Recover partial backup
Post by: Stefano on May 24, 2010, 03:12:02 PM
Stefano

Try
http://forums.contribs.org/index.php/topic,45315.msg219921.html#msg219921


thank you, bookmarked.. I will try asap