Menu

Restoring 2 disks in one command : multiple ocs_live_run

Help
2016-02-05
2016-03-06
  • Camille Jactard

    Camille Jactard - 2016-02-05

    Hi,
    I got 2 disks in my computer and each one has an image made by clonezilla.
    Is it possible to restore both disks in one command?
    I got a pxe menu and I'd like to make only one entry to restore the computer.
    I tried to add ocs_live_run1 after the first ocs_live_run but it didn't work.

    Thanks for your answers

     
  • Camille Jactard

    Camille Jactard - 2016-02-22

    It's not what I'm trying to do.
    I have 2 disks in my computer : 1 for OS, 1 for datas
    I made 1 clonezilla image for each disk.
    And I'd like to launch automatically a clonezilla restore that would :
    restore my os disk with my clonezilla first image (os image)
    restore my second disk with my second clonezilla image (data)
    And all of that with a single command like :
    /usr/sbin/ocs-r -g auto -e1 auto -e2 -c -r -j2 -p true restoredisk osimage sda dataimage sdb

    Is it possible?

     
  • Steven Shiau

    Steven Shiau - 2016-03-06

    No, not with a single command. At least you have to have 2 commands:
    /usr/sbin/ocs-r -g auto -e1 auto -e2 -c -r -j2 -p true restoredisk osimage sda
    /usr/sbin/ocs-r -g auto -e1 auto -e2 -c -r -j2 -p true restoredisk dataimage sdb

    Of couse, you can save these 2 comands in a script and run the script in a single command.

    Steven.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.