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