[rear-users] automatic eject CD and reboot after recovery
schlomo at schapiro.org
Thu Mar 24 14:22:55 CET 2016
try adding the following to your ReaR config (assuming you have Bash 4)
With the --one-filesystem option you will have to give tar a list of
mountpoints to store. If you know the mountpoints then you can use the
BACKUP_PROG_INCLUDE=( / /var /mount /points )
See /usr/share/rear/conf/default.conf for a descriptions of these and other
variables. You will probably also find there inspiration for other
On 24 March 2016 at 13:30, <thomas.gosteli at post.ch> wrote:
> Hi there,
> I’m working for the Swiss Post and we’re using rear as bare metal backup
> for our Linux based servers. I’d like to automate the recovery process as
> much as possible, so I’m already using the option ISO_DEFAULT=”automatic”
> to start the recovery of a server automatically when booted from the iso.
> Now I’d like to eject the CD/ISO and reboot the server automatically after
> the restore is finished. Is there any possibility to do this except from
> modifying the scripts on my own?
> Also is the a possible option to exclude nfs/cifs shares from getting
> backuped by rear even if I don’t know where they are mounted? We have over
> 800 systems using rear and I can’t handle all the paths manually for
> excluding. I thought about the tar option “--one-filesystem”, this seems to
> work quite good but I’m not sure if this is the right approach.
> Thank you for your help.
> Regards Thomas
> rear-users mailing list
> rear-users at lists.relax-and-recover.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rear-users