Networker

Re: [Networker] savepnpc that alters the list of filesystems?

2013-02-06 16:07:16
Subject: Re: [Networker] savepnpc that alters the list of filesystems?
From: "Stanley R. Horwitz" <stan AT TEMPLE DOT EDU>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Wed, 6 Feb 2013 21:06:57 +0000
Tim,

NetWorker gets the list of file systems from /etc/fstab on Linux systems when 
the backup begins (precmd). In order to accomplish what you want, you need to 
explicitly list out the file systems in the client resource rather than using 
"All."

On Feb 6, 2013, at 3:58 PM, Tim Mooney <Tim.Mooney AT NDSU DOT EDU>
 wrote:

> All-
> 
> NetWorker server: NetWorker 7.6.2.5 on RHEL 6.3 x86_64
> NetWorker client: NetWorker 7.6.2.5 on RHEL 5.9 x86_64
> 
> Does anyone know when, during the save process, the list of filesystems to
> back up is set?  In particular, does it happen *before* the precmd in
> a savepnpc script?
> 
> I ask because we're trying to use a savepnpc precmd script to snapshot a
> Linux LVM volume and then mount the snapshot in a new place and have
> NetWorker back up the snapshot.  We are using the "All" saveset for the
> client.  So far, NetWorker hasn't even noticed that the new snapshot
> filesystem is available for backup, so I'm concerned that it may be
> setting the list of volumes to back up *before* the precmd runs.
> 
> Note that the precmd is doing the snapshot, mounting the volume, and
> updating /etc/fstab with the entry for the new mounted volume.
> 
> Any thoughts on whether this should work?
> 
> Tim
> -- 
> Tim Mooney                                             Tim.Mooney AT ndsu DOT 
> edu
> Enterprise Computing & Infrastructure                  701-231-1076 (Voice)
> Room 242-J6, IACC Building                             701-231-8541 (Fax)
> North Dakota State University, Fargo, ND 58105-5164