Unsolved

This post is more than 5 years old

2 Posts

285

August 22nd, 2014 04:00

How di I use directive to dynamic skip cachecatalogs

Cachefiles do not need backup and restore...

I wish to recognize a wellknown catalogname without an absolute path in a directive.

I want to fix a standard unix directive for wellknown cache catalogs/files but under different parent catalogs over time for many servers.

Because new/different parentnames can occur after an upgrade of a program/application.

Different servers and types of servers has its own name of its cachecatalog of course.

Simple example of path naming (easy to forget to change directive of parentname after upgrade on every server):

<< / / >>

  +skip:  ROOT

but I want a not so static directive naming

Regards Lennart

6 Operator

 • 

1.3K Posts

August 22nd, 2014 05:00

Does the cache files you are referring to have any distinctive extension ?

2 Posts

August 25th, 2014 05:00

The files has no signifiant extentions but their parentcatalog has some typical name as "ROOT".

However this catalogname is in use in another parallell structure for configurations, logs and such

and must be backuped. From my point of view is the trick to find a common named parentcatalog middle in

a subtree where You can normally find  cachefiles.

Example

In one server we have in the first version x1 of a Apacheserver and have 3 catalog ROOT in the subtree.

After configuring version x2 there are 6 catalog ROOT (only the latest in use) and I dont want backups for  /programxx/x1/...ROOT/xxcaches-files and /programxx/x2/.../ROOT/xxcache-files.

Then we have perhaps 50 alike server with a mix of different program and versions and a lot of files

-and a "standard directive" would be fine to exclude

No Events found!

Top