Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compress/decompress files remotely #10

Open
3 of 5 tasks
maxsatula opened this issue Jul 22, 2014 · 1 comment
Open
3 of 5 tasks

Compress/decompress files remotely #10

maxsatula opened this issue Jul 22, 2014 · 1 comment

Comments

@maxsatula
Copy link
Owner

ocp user/password@connection --gzip DIRECTORY:filename.dmp filename.dmp.zip
ocp user/password@connection --gunzip DIRECTORY:filename.dmp.zip filename.dmp

Must be performed via single PL/SQL block, completely on the remote site.

Question: remove an original file after (de-)compression?

Implementation to-do list

  • compression itself
  • --background option (DBMS_SCHEDULER)
  • accept an extra parameter to specify compressed file name
  • remove an original file after (de-)compression
  • remove target file if compression failed
@maxsatula
Copy link
Owner Author

Perhaps, this should work via Scheduler Job (always, or with a command line option)

maxsatula added a commit that referenced this issue Jul 28, 2014
--background option is still TODO
maxsatula added a commit that referenced this issue Apr 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant