Networker

Re: [Networker] Tru64 client and NFS mounts

2012-11-26 09:04:19
Subject: Re: [Networker] Tru64 client and NFS mounts
From: FAIDHERBE Thierry <thierry.faidherbe AT FOREM DOT BE>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Mon, 26 Nov 2012 14:03:53 +0000
You can easily fix the problem by daily running before the backup a script that
update networker's config like this one :

#!/bin/sh
HOSTNAME=`uname -n`
LOG=/opt/nsr/logs/MakeSaveSet.`date +"%Y%m%d%H%M%S"`
/sbin/mount -p |\
    nawk -v HOSTNAME=${HOSTNAME} 'BEGIN {printf ". type: NSR client; name: 
%s\n",HOSTNAME;}
        ( $4 !~ /nfs/ ) && (  $3 !~ /\/(dbf|SpareBox)$/ ) {
        if (NR == 1) {
                printf "update save set: %s",$3;
        }else{
                printf ",\n%s",$3;
        }
}END{print ""}'\
        | tee ${LOG}.cmd | /usr/sbin/nsradmin -s ntnetworker -i - 
>>${LOG}.stderr 2>&1



Adapt section "( $4 !~ /nfs/ ) && (  $3 !~ /\/(dbf|SpareBox)$/ )"
to skip/filter the mount entries you do not need.


I use this skeleton to update legato automatically with new solaris zone's 
filesystems
when a new solaris zone is created.

HTH

Th

-----Message d'origine-----
De : EMC NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU] De 
la part de Francis Swasey
Envoyé : lundi 26 novembre 2012 14:12
À : NETWORKER AT LISTSERV.TEMPLE DOT EDU
Objet : Re: [Networker] Tru64 client and NFS mounts

Tony,

Thank you for your input.  Easier than directives (I think) will be to 
explicitly list the file systems I want backed up.  However, this "it is listed 
in fstab, I must back it up" behavior is not the way NetWorker works on any 
other flavor of unix, so I was not expecting it here.

-- Frank


On Nov 26, 2012, at 7:45 AM, Tony Albers <Tony.Albers AT PROACT DOT DK> wrote:

> AFAIK the client backs up everything listed in the fstab file (or whatever 
> it's called on Tru64)
>
> So if your NFS mounts are in there, they are backed up. You should probably 
> use local directives to avoid that behavior.
>
> /tony
>
> -----Oprindelig meddelelse-----
> Fra: EMC NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU] 
> På vegne af Francis Swasey
> Sendt: 26. november 2012 13:19
> Til: NETWORKER AT LISTSERV.TEMPLE DOT EDU
> Emne: [Networker] Tru64 client and NFS mounts
>
> Folks,
>
> Over the holiday we got our first Tru64 clients, two of them.  We had the 
> system administrator install NetWorker 7.6.4.3.Build.1070 and used the 
> saveset name "ALL" (the server is running on Linux RHEL6 64-bit and NW 
> 7.6.4.1.Build.1049).
>
> The problem we are seeing is that "All" is backing up NFS mounts on the Tru64 
> clients.  I see that there is no longer a Tru64 client in NW8, so I'm 
> hesitant to open an issue with EMC about this.  Has anyone seen this with 
> Tru64 clients.  I was not expecting it to back up NFS mounts (since it 
> doesn't do that on any other OS I back up).
>
> Thanks,
> -- Frank
>
>