Reputation: 437
We have restore command which we can execute from command line. I want to restore backup from Java class. How should I do it?
Upvotes: 0
Views: 354
Reputation: 193696
You can run system commands from Java code.
The best way to do this is using the ProcessBuilder
class.
Upvotes: 1