## OpenCA - CA Command
## (c) 1998-2001 by OpenCA Group
##
##   File Name: nodeEnrollBP
##     Verison: $Revision: 1.3 $
##       Brief: exports the batchprocessors
## Description: exports the data from the batchprocessors to a removable media

require "$common_libs/export-import.lib";

sub cmdNodeEnrollBP {

    print startLogPage (gettext ("Exporting the data from the batchprocessors to a lower level of the hierarchy ..."));

    my $tmp = createStructure ();
    eximEnrollBP     ( $tmp );
    eximEnrollCommit ( $tmp );
    eximIOEnroll     ( $tmp );
    removeDirectory  ( $tmp );

    closePage ();

}

1;
