Koozali.org: home of the SME Server

Restore backup

Offline brianr

  • *
  • 990
  • +2/-0
Re: Restore backup
« Reply #15 on: April 14, 2016, 01:21:00 PM »
the issue I can not know the dar file which contain my physical file.
Is there any option to restore big files should I do before I start restoring be backup?
thank you

You do not need to know which of the dar files contains your file you just give dar the path of the first file (perhaps not all of it), then tell it which file to extract.

http://dar.linux.free.fr/doc/presentation.html

and

# dar --help
usage: dar [ -c | -x | -d | -t | -l | -C | -+ ] [<path>/]<basename> [options...]
       dar -h
       dar -V

Commands are:
   -c  creates an archive
   -x  extracts files from the archive
   -d  compares the archive with the existing filesystem
   -t  tests the archive integrity
   -l  lists the contents of the archive
   -C  isolates the catalogue from an archive
   -+  merge two archives / create a sub archive

   -h  displays this help information
   -V  displays version information


so you probably want something like this (untested)

dar -x  /media/<usbdisk>/<domain>/set<n>/full-nnnnnnnnnnnnnn -v -I <fullpath of file to extract>

I seem to remeber that the full path of the file to be extracted should NOT start with "/".

You'l have to experiment with this.

oh - I see Stefano has posted a wiki link - suggest you look at that...

Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Restore backup
« Reply #16 on: April 14, 2016, 01:21:10 PM »
in any case, you'd really let your server work

is there any activities (hdd led) after you see things stop?

open a shell and
Code: [Select]
top

check if dar is running.. if so, your restore is still working

Offline Mar

  • ****
  • 73
  • +0/-0
Re: Restore backup
« Reply #17 on: April 20, 2016, 07:44:47 AM »
Dear All,
Thank you very much for your quick response.
My problem was resolved.
The solution it was working in the background.
I monitored it throw DAR it was working it finished the restore after 8 hours.
Thanks  a lot for you.