Quantcast

custom backup filter in conf.xml

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

custom backup filter in conf.xml

محمد جواد حسنی
Dear all,

There is a config in conf.xml for custom backup filter. Are there a sample for it?

Regards.



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: custom backup filter in conf.xml

Adam Retter
All I could find is is a very simple test that demonstrates how this
works: https://github.com/eXist-db/exist/blob/develop/test/src/org/exist/backup/SystemExportFiltersTest.java#L143

The filter used in the example is here:
https://github.com/eXist-db/exist/blob/develop/test/src/org/exist/backup/FilterForBackup.java

Basically your filter class just needs to extend:
https://github.com/eXist-db/exist/blob/develop/src/org/exist/storage/serializers/AbstractChainOfReceivers.java

On 4 April 2017 at 07:34, محمد جواد حسنی <[hidden email]> wrote:

> Dear all,
>
> There is a config in conf.xml for custom backup filter. Are there a sample
> for it?
>
> Regards.
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Exist-open mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/exist-open
>



--
Adam Retter

eXist Developer
{ United Kingdom }
[hidden email]
irc://irc.freenode.net/existdb

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Loading...