-
Notifications
You must be signed in to change notification settings - Fork 19
OCP ‐ The scp for a database
Bjørn Engsig edited this page Apr 23, 2025
·
9 revisions
The ocp utility is modelled over the scp utility and it can be used to copy a file between your system running ocp and a directory in a database. As simple examples, ocp -l admin/{password}@//host/service myfile.txt DIRECTORY:
will copy the local file called myfile.txt to the named directory in the database, and similarly ocp -l admin/{password}@//host/service DIRECTORY:thatfile.zip .
will copy the file called thatfile.zip from the named database directory to your local system. The database can be an Autonomous Database or an on premise database.
In addition to copying to/from your local system from where you execute the ocp command, you can copy files between an Autonomous Database and a cloud bucket.