-- Switching database tablespaces on online backup state

connect mylogin/mypassword@RM400;
alter tablespace TSUSER begin backup;
alter tablespace IDX begin backup;
alter tablespace RBS begin backup;
alter tablespace TSTEMP begin backup;
alter tablespace SYSTEM begin backup;
quit;