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. Using https://github.com/bareos/bareos/tree/master/python-bareos#use-json-objects-of-api-mode-2 you can retrieve data as a Python structure. However, not all bconsole commands supports this. But it works for the "list" command. Regards, Jörg -- Jörg Steffens [email protected] Bareos GmbH & Co. KG Phone: +49 221 630693-91 http://www.bareos.com Fax: +49 221 630693-10 Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646 Komplementär: Bareos Verwaltungs-GmbH Geschäftsführer: S. Dühr, M. Außendorf, Jörg Steffens, P. Storz -- 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/qpjill%24tt4%241%40blaine.gmane.org.
