It would be great if it is available to extract files without bare-os on 
the computer, but as I understand bextract still need bare-os, that's why I 
used it next way:

C:\Program Files\Bareos>bextract.exe -c 
"C:\ProgramData\Bareos\bareos-sd.d\dir\storage.conf" 
C:\temp\daily-back-0200 C:\temp
bextract: stored/butil.c:268-0 Could not find device "C:\temp" in config 
file C:\ProgramData\Bareos\bareos-sd.d\dir\storage.conf.
05-Nov 15:02 bextract JobId 0: Fatal error: stored/butil.c:142 Cannot find 
device "C:\temp" in config file 
C:\ProgramData\Bareos\bareos-sd.d\dir\storage.conf.

C:\Program Files\Bareos>bextract.exe -c 
"C:\ProgramData\Bareos\bareos-sd.d\dir\storage.conf" daily-back-0200 
FileStorage
bextract: stored/butil.c:268-0 Could not find device "daily-back-0200" in 
config file C:\ProgramData\Bareos\bareos-sd.d\dir\storage.conf.
05-Nov 15:04 bextract JobId 0: Fatal error: stored/butil.c:142 Cannot find 
device "daily-back-0200" in config file 
C:\ProgramData\Bareos\bareos-sd.d\dir\storage.conf.

C:\Program Files\Bareos>bextract.exe -c 
"C:\ProgramData\Bareos\bareos-sd.d\dir\storage.conf" FileStorage 
C:\temp\daily-back-0200
bextract: stored/butil.c:273-0 Using device: "FileStorage" for reading.
06-Nov 08:59 bextract JobId 0: Fatal error: No volumes specified for 
reading. Job 0 canceled.

storage.conf
Storage {
  Name = bareos-sd
  Maximum Concurrent Jobs = 20

  # remove comment from "Plugin Directory" to load plugins from specified 
directory.
  # if "Plugin Names" is defined, only the specified plugins will be loaded,
  # otherwise all storage plugins (*-sd.so) from the "Plugin Directory".
  #
  # Plugin Directory = /usr/lib64/bareos/plugins
  # Plugin Names = ""
}
Device {
  Name = FileStorage
  Media Type = File
#  Archive Device = /var/lib/bareos/storage
  Archive Device = C:\\temp
  LabelMedia = yes;                   # lets Bareos label unlabeled media
  Random Access = yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
  Description = "File device. A connecting Director must have the same Name 
and MediaType."
}


вторник, 5 ноября 2019 г., 11:43:30 UTC+4 пользователь Ivan Mulhin написал:
>
> Hello, could you help us please, after our server was broken we have saved 
> only a couple of files with backups, how to extract our files from bareos 
> backup files without bareos
> Thank you
>

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/6eb0e42d-4484-4332-99eb-0b9c4beba5d0%40googlegroups.com.

Reply via email to