Solaris Live Upgrade 2.0 Guide

To Update a Previously Configured Boot Environment (Command-Line Interface)

This procedure copies source files over outdated files on a boot environment that was created previously.

  1. Log in as superuser.

  2. Type:


    # lumake -t  time -s source_BE -n  BE_name -m email_address
    

    -t time

    (Optional) Set up a batch job to copy over the file systems on a specified boot environment at a specified time. The time is given in the format that is specified by the man page, at(1).

    -n BE_name

    Specifies the name of the boot environment whose file systems are to be replaced. 

    -s source_BE

    Specifies the name of the source boot environment that contains the file systems to be copied to the target boot environment. If you omit this option, lumake uses the current boot environment as the source.

    -m email_address

    Enables you to email lumake output to a specified address on command completion. email_address is not checked. You can use this option only in conjunction with -t.


    Example 5–1 Updating a Previously Configured Boot Environment (Command-Line Interface)

    In this example, file systems from first_disk are copied to second_disk at 8:15 p.m. When the job is completed, an email is sent to Joe at anywhere.com.


    # lumake -t  8:15 PM -s first_disk -n  second_disk  -m joe@anywhere.com 
    

    The copy occurs at 8:15 PM and email is sent for notification. To cancel a scheduled copy, see Canceling a Scheduled Create, Upgrade, or Copy Job.