Koozali.org: home of the SME Server

Recover partial backup

Offline girkers

  • *
  • 296
  • +0/-0
    • gk computer services
Recover partial backup
« 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

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Recover partial backup
« Reply #1 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 !!!
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline jester

  • *
  • 496
  • +1/-0
Re: Recover partial backup
« Reply #2 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. But for the moment its like Mary said.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Recover partial backup
« Reply #3 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.
Thanks, that is a nice improvement IMHO.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline holck

  • *
  • 322
  • +1/-0
Re: Recover partial backup
« Reply #4 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.
......

Offline byte

  • *
  • 2,183
  • +2/-0
Re: Recover partial backup
« Reply #5 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.

--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Recover partial backup
« Reply #6 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

Offline janet

  • *****
  • 4,812
  • +0/-0
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Recover partial backup
« Reply #8 on: May 24, 2010, 03:12:02 PM »