 mysql ecs -e 'show tables' -B | grep mspace | xargs mysqldump -u root ecs   >
/tmp/mspacedump3.sql

add to (substituting EPRINTS_PATH as appropriate):
$c->{set_eprint_automatic_fields} = sub

	require 'EPRINTS_PATH/tools/mspace/EPrints::MSpace.pm';

	if( $eprint->get_value( "eprint_status" ) eq "archive" )
	{
		EPrints::MSpace::remove_eprint( $eprint );
		EPrints::MSpace::add_eprint( $eprint );
	}


Add some where in .pl land:

$c->{eprint_status_change} = sub
{
        my( $eprint, $old_status, $new_status ) = @_;

        if( $old_status eq "archive" )
        {
                EPrints::MSpace::remove_eprint( $eprint );
        }
        if( $new_status eq "archive" )
        {
                EPrints::MSpace::add_eprint( $eprint );
        }
}

