[rear-users] WG: make rescue image without backup; backup excludes

Dieter.Michaelis at zivit.de Dieter.Michaelis at zivit.de
Tue Mar 24 18:36:58 CET 2015

Hi @ all,
my problem is solved.

My problem has occurred on a Networker server.
On a Networker server, rear tries to pack the complete Networker server filesystem into the ISO image,
because the mountpoint /nsr is the same as that of the Networker client.

Background: with BACKUP=NSR in the site.conf or local.conf, rear tries to put the Networker client software from /nsr into the ISO image.
As the Networker server is also installed under /nsr, rear saves too much data.

On a Networker  server, you have to exclude the nsr server specific directories from being copied tot he ISO image:
Put this into site.conf or local.conf:
COPY_AS_IS_EXCLUDE_NSR=( "$NSR_ROOT_DIR/logs/*" "$NSR_ROOT_DIR/debug/*" "$NSR_ROOT_DIR/index/*" "$NSR_ROOT_DIR/lockbox/*" "$NSR_ROOT_DIR/mm/*" "$NSR_ROOT_DIR/repository/*" "$NSR_ROOT_DIR/scripts/*" "$NSR_ROOT_DIR/utils/*")

Apart from Networker servers, mkrescue or mkbackup may also fail if the /tmp filesystem is too small,
Here, Dirk Reuper's workaround of redirecting the OUTPUT_DIR to another filesystem can be the solution.

Kind regards, 
Dieter from Berlin

-----Ursprüngliche Nachricht-----
Von: rear-users-bounces at lists.relax-and-recover.org [mailto:rear-users-bounces at lists.relax-and-recover.org] Im Auftrag von Michaelis, Dieter (ZIVIT Berlin)
Gesendet: Dienstag, 24. März 2015 11:32
An: rear-users at lists.relax-and-recover.org
Betreff: [rear-users] make rescue image without backup; backup excludes

I have started  using rear 1.16.1 on SLES 11 and Legato Networker Client 8.0.

On some machines with very large file systems, rear -mkbackup fails because  /tmp is not big enogh for creating the rear backup files.
On some machines, also the manual Networker backup started by rear fails.
I  would prefer to create a rescue image (root partition + Networker client) only - the Networker recovery can be done later by the backup team.

How can I
-restrict the rear backup to create a rescue image only -exclude large file systems from the backup

I have tried
-rear mkrescue
-"EXCLUDE_BACKUP=('/bigfs/*')" in site.conf -"EXCLUDE_BACKUP_PRG=('/bigfs/*')" in site.conf -"EXCLUDE_MOUNTPOINTS=('/bigfs')" in site.conf But it does not work.
Rear always starts creating backup files in /tmp from all mounted filesystems and the disk runs full.
Any help would be appreciated!

Kind regards, Dieter

rear-users mailing list
rear-users at lists.relax-and-recover.org

More information about the rear-users mailing list