Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have two hard drives, /dev/sda and /dev/sda. Predictably, I boot from sda. When I boot from the clonezilla live cd and go through the wizard to make a backup image, it tells me that I can use a command like "/opt/drbl/sbin/ocs-sr -option1 -option2 imagename sdb."

I'd like to backup sdb without booting from the clonezilla live cd, in ubuntu, without rebooting, using a script called from cron, like this:

umount /dev/sdb1
/opt/drbl/sbin/ocs-sr -option1 -option2 imagename sdb.
mount /dev/sdb1 /path/to/mountpoint

But where can I get /opt/drbl/sbin/ocs-sr? Could I boot from the livecd and just copy /opt to wherever I want it? Wouldn't that skip any dependencies that I might not know about? Or is there somewhere that I could just download those files (everything I've found on the clonezilla site are iso's).

This isn't really ubuntu-specific, so apologies if this is the wrong place to ask. But I saw a bunch of other clonezilla questions here.

Thanks in advance

share|improve this question
up vote 2 down vote accepted

Someone on the clonezilla forum told me what I needed:

In the answer at the Clonezilla forum one recommendation was to just copy ocs-sr.

There is a deb file which can be used for the installation. Just go through the installation description.

share|improve this answer
I summarized the instructions from the forum here. This helps to get an answer when the forum is unavailable. – qbi Feb 5 '13 at 15:13

To get a copy of the command you "would" have used, go all the way through the process and then at the end, hit go to command prompt, then cd into /tmp and there should be a file called ocs-FILENAMEYOUCHOSE. Nano it and copy its contents. That is the command. But you will have to change file name inside command or it will overwrite/fail trying to copy same file destination if it exists.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.