I'm trying to export table schema with expdp,
expdp \'sys/XXXX as sysdba\' dumpfile=XXX.dmp logfile=XXXX.log content=METADATA_ONLY tablespaces=XXXX
And it fails with
ORA-31655: no data or metadata objects selected for job
Then I added full=Y
and it conflicts with tablespaces parameter:
ORA-31655: no data or metadata objects selected for job
How can I export all schemas from specific tablespaces only?
Best Answer
What you posted works fine.
You get this error when the tablespace specirfied does not exist: