Deprecated: __autoload() is deprecated, use spl_autoload_register() instead in /home/pbuc/public_html/forum/mods/ext_phorummail/ezc/Base/src/ezc_bootstrap.php on line 36

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; KeyCAPTCHA_CLASS has a deprecated constructor in /home/pbuc/public_html/forum/mods/keycaptcha/keycaptcha.php on line 108
empty policy log directories ?
Welcome! » Log In » Create A New Profile

empty policy log directories ?

Posted by Francis Swasey 
Francis Swasey
empty policy log directories ?
January 31, 2019 04:59PM
For those of you running NetWorker 9.x are you seeing a buildup of empty directories in your /nsr/logs/policy directory tree? They used to have job logs in them but those files have all been deleted by NetWorker leaving the empty directories behind?

If so, how are you dealing with them?

I'm on Linux, and I'm contemplating a weekly "find /nsr/logs/policy -empty -delete" type command...

- Frank

--
This list is hosted as a public service at Temple University by Stan Horwitz
If you wish to sign off this list or adjust your subscription settings, please do so via http://listserv.temple.edu/archives/emc-dataprotection-l.html
If you have any questions regarding management of this list, please send email to owner-emc-dataprotection-l@listserv.temple.edu
This message was imported via the External PhorumMail Module
Re: empty policy log directories ?
January 31, 2019 07:59PM
In regard to: [EMC-DataProtection-L] empty policy log directories ?,...:

> For those of you running NetWorker 9.x are you seeing a buildup of empty
> directories in your /nsr/logs/policy directory tree? They used to have
> job logs in them but those files have all been deleted by NetWorker
> leaving the empty directories behind?

It appears we are. Thanks for pointing them out.

> If so, how are you dealing with them?

Until now, we haven't been. I'll mention them to my coworker that did
the 9.x upgrade.

> I'm on Linux, and I'm contemplating a weekly "find /nsr/logs/policy
> -empty -delete" type command...

I've never used -empty and -delete together. Our idiom for "remove empty
directories whose contents have been cleaned" is typically:

find ${work_dir} -depth -type d \
-exec rmdir --ignore-fail-on-non-empty {} \;

Sometimes with a '-mindepth N' argument, which I would probably consider
using here too. Looks like we could improve that by using '-empty' too.

Tim
--
Tim Mooney Tim.Mooney@ndsu.edu
Enterprise Computing & Infrastructure 701-231-1076 (Voice)
Room 242-J6, Quentin Burdick Building 701-231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164


--
This list is hosted as a public service at Temple University by Stan Horwitz
If you wish to sign off this list or adjust your subscription settings, please do so via http://listserv.temple.edu/archives/emc-dataprotection-l.html
If you have any questions regarding management of this list, please send email to owner-emc-dataprotection-l@listserv.temple.edu
This message was imported via the External PhorumMail Module
Re: empty policy log directories ?
February 01, 2019 06:16AM
Yes, we have encountered the issue with NW 9.1.1.5 (Windows) as well.

I briefly tested later versions at that time and verififed that this issue has obviously been solved in the meantime.
Sorry, only registered users may post in this forum.

Click here to login