We have always based this on the most recent Last Backup Completion Date/Time for any filespace owned by a node. I believe this will not become polluted by replication. That timestamp does get updated by a valid backup, even if no files in that filespace were actually backed up, because that still counts as a "backup". This is in the filespaces table, not the nodes table. It is a little more effort.
I don't trust the timestamp in the nodes table, because I've seen that can be updated even in the case of a failed backup due to bad password, or a failed hacking attempt. I learned this the hard way, after "Why can't I restore?" questions. Roger Deschner University of Illinois at Chicago "I have not lost my mind -- it is backed up on tape somewhere." ________________________________________ From: Loon, Eric van (ITOP NS) - KLM <eric-van.l...@klm.com> Sent: Tuesday, August 11, 2020 08:14 Subject: Re: Filtering last access date with node replication Hi Richard, Ah yes, repl_mode is a column of the nodes table, I missed that one. Thanks! Kind regards, Eric van Loon Air France/KLM Storage & Backup -----Original Message----- From: ADSM: Dist Stor Manager <ADSM-L@VM.MARIST.EDU> On Behalf Of Richard van Denzel Sent: dinsdag 11 augustus 2020 12:42 To: ADSM-L@VM.MARIST.EDU Subject: Re: Filtering last access date with node replication If you are using SQL just select node.repl_mode<>'RECEIVE' Sent from my Samsung S10 Op di 11 aug. 2020 12:16 schreef Loon, Eric van (ITOP NS) - KLM < eric-van.l...@klm.com>: > Hi all, > > We always created exception reports which lists all nodes with a last > access date of -2 or more which we send to the client owners. We are > now switching to new SP servers and we will start using node > replication. With replication, a node is created on the replication > target server after the first replication. This node however will > always have a last access date more > 2 days, which will 'pollute' my > reports. Has anybody found an easy way to filter out these nodes from their > reports? > Thanks for any help in advance! > > Kind regards, > Eric van Loon > Air France/KLM Storage & Backup > > ******************************************************** > For information, services and offers, please visit our web site: > http://www.klm.com. This e-mail and any attachment may contain > confidential and privileged material intended for the addressee only. > If you are not the addressee, you are notified that no part of the > e-mail or any attachment may be disclosed, copied or distributed, and > that any other action related to this e-mail or attachment is strictly > prohibited, and may be unlawful. If you have received this e-mail by > error, please notify the sender immediately by return e-mail, and delete this > message. > > Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or > its employees shall not be liable for the incorrect or incomplete > transmission of this e-mail or any attachments, nor responsible for any delay > in receipt. > Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal > Dutch > Airlines) is registered in Amstelveen, The Netherlands, with > registered number 33014286 > ******************************************************** > ******************************************************** For information, services and offers, please visit our web site: http://www.klm.com. This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message. Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt. Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch Airlines) is registered in Amstelveen, The Netherlands, with registered number 33014286 ********************************************************