support craft in copy config and dump database