On 02.11.19 at 09:17 wrote Sven Gehr:
> or is it possible to export the file list of a job including file sizes
> into a csv file to evaluate it?
You got a number of options for this:
bconsole:
list files jobid=...
You can also use the bconsole "restore" command to get the file
information. The "dir" in the restore tree show you also the file sizes.
Using https://github.com/bareos/bareos-fuse you can also mount your
backup metadata into your normal filesystem.
The bconsole command
estimate listing job=<JOBNAME> level=Incremental
shows you in advance which files would get backed up.
Generally you can redirect the output of bconsole by "@output
/tmp/output.txt". However, this will be in same format as the normal
output, so no CSV.
Hi Sven.
I'd go for joining info from File and Path tables in bareos database selecting by File.JobId. For size you'd need to decode LStat field of File Table (I'm pretty sure I'd seen some decoders somewhere on the Internet).
Best regards
MK
--
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 bareos-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/9a2dbdcb-06e5-410b-acac-fbe41525f4dc%40googlegroups.com.