Am 24.09.25 um 12:09 schrieb Spadajspadaj:
For example, if I had a backup done with

Plugin = "bpipe:file=/_rpmlist_/rpm.lst:reader=/usr/bin/rpm -qa:writer=/ bin/bash -c 'xargs dnf install -y'"

But tried to extract it to a FD with a job definition of

Plugin = "bpipe:file=/_rpmlist_/rpm.lst:reader=/usr/bin/rpm -qa:writer=/ bin/bash -c 'cat > /tmp/rpm.lst'"

to just get the raw context of the stream (or you could replace cat with dd or whatever.

Actually, talking about a list of packages done this way I'm not sure if I wasn't simply able to restore the resulting stream on another FD _without_ the plugin as just a file.

Changing the FileSet has no effect on restore. The Plugin options are recorded during backup and these recorded options are used on restore.
You have two options to make this work:
* override plugin options during restore
* disable plugins on the FD so it will restore plugin data as a file

Nevertheless, for this specific case, I'd got with a client-side RunScript that creates the file and then back that up.

Best Regards,
Andreas
--
Andreas Rogge                             [email protected]
  Bareos GmbH & Co. KG                      Phone: +49 221-630693-86
  http://www.bareos.com

  Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
  Komplementär: Bareos Verwaltungs-GmbH
  Geschäftsführer: Stephan Dühr, Jörg Steffens, Philipp 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 visit 
https://groups.google.com/d/msgid/bareos-users/f58b8a29-6c8d-4971-a445-e8cde82375f9%40bareos.com.

Reply via email to