Backing up Oracle Database Services
You can get the required data from DBA_SERVICES (or v$active_services)

You can get the DDL required to create them again using something like this:

select 'DBMS_SERVICE.CREATE_SERVICE(
    SERVICE_NAME =&gt; ''' || name || ''',
    NETWORK_NAME =&gt; ''' || network_name || ''',
    parameter_array =&gt; params
  );' from dba_services;