Restore a database to new a new system query

Hi,
I want to restore my database on new system by using [http://www.asktom.cz/?p=112|http://www.asktom.cz/?p=112] . But i want to know it is necessary to a same directory structure to restore database at new system.
Or we can restore it even having different directory structure on new system.
Thanks
umesh

Umesh Sharma wrote:
Thanks for reply
One more question
at what place this command will restore the controlfiles.
control_files='' parameter in Iinit<sid>.ora place or some where else.As you didn't specify any arguments following the 'restore control file from' command , control files would be restored to it's default location, the location defined by the CONTROL_FILES init parameter.
[Restore of the Control File to a New Location|http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/recov004.htm#sthref571]

Similar Messages

  • Restore SharePoint Database to new server - What to do about external content type?

    I currently run SharePoint 2010 and have a content database back-up which I want to restore to a new server.
    I was able to restore to a new server and everything seems to be working, except that I have one list in my previous site which had an external content type in it linking to a database for our ERP system. The ERP system's database will also be located on
    the new server (same as the new location for the content database). How do I link the external content type from my list to the new location of the ERP database?
    One thing which I've tried is to create a new BDC and set up a new external content type within the list. That seems to point to the new location just fine, except that I would have to remap all every single item in the list individually.
    Any help would be appreciated.

    You will need to modify your BCS Model to reflect the new location of your ERP database. Another option is to use SQL Aliases, which will allow SharePoint to think the new location is still by the old name.
    http://mmman.itgroove.net/2012/07/setting-up-a-sql-server-alias-with-sharepoint-server-2010/
    This is assuming that you are retiring the old database server.
    Dimitri Ayrapetov (MCSE: SharePoint)

  • RMAN Restore on a new system

    Hi,
    We are planning to impletment RMAN backups on our production systems. We took a RMAN backup and wanted to restore into another server using different sid and db name, without disturbing the running production database. We came across some errors and we need some help.
    Oracle Version - 9.2.0.7
    OS - Windows 2003
    Envirnoment
    =========
    Host A - DB1
    Host B - DB2 (Directory sturcture is different)
    Host C - Catalog
    Step 1. I took a full backup of DB1 on Host A connected to the catalog.
    Step 2. Copied the pfile and backup files from Host A to Host B.
    Step 3. Changed db_name, instance_name in Host B pfile.
    Step 4. Created oracle instance using oradim utility.
    Step 5. Started rman utiliy - rman target /
    Step 6. Resorted Controlfile
    Step 7. Mount database <---- Here we get an error
    Let me know if the above steps are wrong.
    RMAN> alter database mount;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of alter db command at 02/23/2011 14:16:02
    ORA-01103: database name 'DB1' in controlfile is not 'DB2'
    Edited by: user13431321 on Feb 23, 2011 12:42 PM

    user13431321 wrote:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of alter db command at 02/23/2011 14:16:02
    ORA-01103: database name 'DB1' in controlfile is not 'DB2'The db name in the controlfile doesn't match the spfile/init file.
    If the database is on a separate server, then you shouldn't need to worry about the db_name being the same. But if you are determined to have a new database name, you could restore the database with the same database name and then change it with the nid utility.
    Check Specifying Filenames When Restoring to a New Host to accommodate a new directory structure.

  • I am having to install tbird again on a new system, I copied and backup-ed my previous emails. When I view my copies and/or restored email files are empty. Why?

    I am having to install tbird again on a new system, I copied and backup-ed my previous emails. When I view my copies and/or restored email files they are empty, nothing is displayed and the window shows message of being empty. I an sure of the backup and of my copy/paste steps. Where and/or what has happened to my emails? I also searched each disk and all files for email extensions (*.mozmsgs and *.sbd and *.sbf) with no results. I can not find a way to restore over 10 years worth of very important emails. Can someone please help me recover what I know is their? All my emails in Seamonkey are on another system (the one I replaced with new win7 pro 64 i7 based system) and all the emails I had in tbird, before having to reinstall everything on new system due to something that happened to the os, are the copied and backup-ed files that are showing empty. Prior to new install all old Seamonkey emails transferred to tbird and all the tbird emails prior were their and were the copied/backup-ed files showing empty now. This is turning into my worst experience and nightmare in over 25 years of systems. I am really lost on this one. please help....

    Are you saying you split your profile between C and D drive, perhaps through specifying a location in the account settings.
    BTW.
    *.mozmsgs useless duplicate files created for windows search integration. Simply wasted space on the disk.
    *.sbd a folder indicating the presence of a sub folder (contains no mail at all.
    *.sbf (I don't know that one.
    *.msf an index of mail. contains tags, but otherwise useless and will be recreated when the mail is loaded in Thunderbird so it can display the mail list.
    *. that is no file extension. You mail in files with the same name as the folders they came from.

  • Could someone help me restore my photos?  I was trying to "restore my database" in iPhoto when it shut down - now my thumbnails are distorted, logged under a new name, and when you click on a thumbnail it opens as another photo.  I was following another "

    Could someone help me restore my photos?  I was trying to "restore my database" in iPhoto when it shut down - now my thumbnails are distorted, logged under a new name, and when you click on a thumbnail it opens as another photo.  I was following another "helpful hint" hold down the option and command key and restart iPhoto - select the top three and you should be able to get rid of the dreaded exclamation point.  My MAC ran through the first two options dealing with thumbnails, but crashed during the "restore database"  step and now I have a mess.  Help, please.  Thank you.

    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  

  • Using RMAN restore the database on a new host in ASM

    Hello All,
    I am trying to restore a database without using RMAN database duplicate.  I want to do set new name for datafile and rename log file for online logs and change database name at last using NID.
    here are details
    source database - APSPROD / server - X
    target database -  EMERALD / Server -Y
    Compressed backup is copied to destination server and I am trying to restore database using RMAN. Here is my init.ora file
    cat initAPSPROD1.ora
    DB_NAME=APSPROD
    compatible=11.2.0.3
    sga_target=8G
    CONTROL_FILES='+DATA_DM01/EMERALD/controlfile/cntrl01.dbf','+RECO_DM01/EMERALD/controlfile/cntrl02.dbf','+DATA_DM01/EMERALD/controlfile/cntrl03.dbf'
    DB_BLOCK_SIZE=8192
    db_file_name_convert=(+DATA_DM01/APSPROD,+DATA_DM01/EMERALD)
    log_file_name_convert=(+DATA_DM01/APSPROD,+DATA_DM01/EMERALD,+RECO_DM01/APSPROD,+RECO_DM01/EMERALD)
    DB_RECOVERY_FILE_DEST='+RECO_DM01'
    DB_RECOVERY_FILE_DEST_SIZE=5500G
    So from above you can see that control file should be restored to +DATA_DM01/EMERALD and +RECO_DM01/EMERALD path.
    Question -
    when I am trying to restore control file. It creates an ASM alias name in +DATA_DM01/EMERALD/controlfile/cntrl01.dbf',+RECO_DM01/EMERALD/controlfile/cntrl02.dbf',' and +DATA_DM01/EMERALD/controlfile/cntrl03.dbf' but It creates fully Qualified ASM Filename  under +DATA_DM01/APSPROD and +RECO_DM01/
    Here is output
    RMAN> restore controlfile from '/dbfs_direct/FS1/RMAN_APSPROD/cf_APSPROD_i4p4b62m_1_1
    2> ;
    Starting restore at 02-APR-14
    using channel ORA_DISK_1
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:07
    output file name=+DATA_DM01/emerald/controlfile/cntrl01.dbf
    output file name=+RECO_DM01/emerald/controlfile/cntrl02.dbf
    output file name=+DATA_DM01/emerald/controlfile/cntrl03.dbf
    Finished restore at 02-APR-14
    output at ASM level
    SMCMD [+RECO_DM01/EMERALD/CONTROLFILE] > ls -l
    Type         Redund  Striped  Time             Sys  Name
                                                   N    cntrl02.dbf => +RECO_DM01/APSPROD/CONTROLFILE/current.17006.843826701
    ASMCMD [+RECO_DM01/EMERALD/CONTROLFILE] > cd +RECO_DM01/APSPROD/CONTROLFILE/
    ASMCMD [+RECO_DM01/APSPROD/CONTROLFILE] > ls -l
    Type         Redund  Striped  Time             Sys  Name
    CONTROLFILE  HIGH    FINE     APR 02 12:00:00  Y    current.17006.843826701
    ASMCMD [+RECO_DM01/APSPROD/CONTROLFILE] > cd +DATA_DM01
    ASMCMD [+DATA_DM01] > cd EMERALD/CONTROLFILE
    ASMCMD [+DATA_DM01/EMERALD/CONTROLFILE] > ls -l
    Type         Redund  Striped  Time             Sys  Name
                                                   N    cntrl01.dbf => +DATA_DM01/APSPROD/CONTROLFILE/current.3678.843826699
                                                   N    cntrl03.dbf => +DATA_DM01/APSPROD/CONTROLFILE/current.3679.843826701
    ASMCMD [+DATA_DM01/EMERALD/CONTROLFILE] > cd +DATA_DM01/APSPROD/CONTROLFILE
    ASMCMD [+DATA_DM01/APSPROD/CONTROLFILE] > ls -l
    Type         Redund  Striped  Time             Sys  Name
    CONTROLFILE  HIGH    FINE     APR 02 12:00:00  Y    current.3678.843826699
    CONTROLFILE  HIGH    FINE     APR 02 12:00:00  Y    current.3679.843826701
    How can I ensure that every thing gets created in +DATA_DM01/EMERALD/ or [+RECO_DM01/EMERALD??  similary for datafile restore even I have used set new file name ASM fully quilified OMF  datafile gets created under +DATA_DM01/APSPROD/
    ASMCMD [+DATA_DM01/EMERALD/DATAFILE]
    N    undots5_01.dbf => +DATA_DM01/APSPROD/DATAFILE/APPS_UNDOTS5.3669.843818269
    Thanks
    PV

    Even If I explicitly say
    rman target / nocatalog
    RMAN> restore controlfile  to '+DATA_DM01/emerald/controlfile/cntrl01.dbf' from '/dbfs_direct/FS1/RMAN_APSPROD/cf_APSPROD_i4p4b62m_1_1';
    Starting restore at 02-APR-14
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=64 device type=DISK
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:03
    Finished restore at 02-APR-14
    It create as alias name  +DATA_DM01/emerald/controlfile/cntrl01.dbf' pointing to +DATA_DM01/APSPROD/CONTROLFILE/
    ASMCMD [+DATA_DM01/EMERALD/CONTROLFILE] > ls -l
    Type         Redund  Striped  Time             Sys  Name
                                                   N    cntrl01.dbf => +DATA_DM01/APSPROD/CONTROLFILE/current.3679.843828927
    ASMCMD [+DATA_DM01/EMERALD/CONTROLFILE] > cd +DATA_DM01/APSPROD
    ASMCMD [+DATA_DM01/APSPROD] > cd CONTROLFILE
    ASMCMD [+DATA_DM01/APSPROD/CONTROLFILE] > ls -l
    Type         Redund  Striped  Time             Sys  Name
    CONTROLFILE  HIGH    FINE     APR 02 12:00:00  Y    current.3679.843828927
    ASMCMD [+DATA_DM01/APSPROD/CONTROLFILE] >

  • Restore a database in a new instance with different name

    Hello, I need restore a database in a different server. I have a backup of 01-Jan-2008 on tape on DataProtector and I need to restore in another server in order to extract some information for a datawarehouse, I need restore with a name different because on that server we have a standby database. The both servers are HP ia64 and have Unix. I have installed Oracle 10.2.0.4.0 EE. I read the Oracle RMAN Advanced but the process is for duplicate the database, I need restore a backup from 01-Jan-2008. Can you help me please. What steps should I run. Thanks for your answer.
    Ruben Nieto
    DBA

    Hi Ruben Nieto,
    Can you check on the target if the backup pieces are still registered in the controlfile?
    < connect target /; >
    < list backup completed before 'to_date('2009-01-02:00:00:00','YYYY-MM-DD:HH24:MI:SS')'; >
    If no information is available:
    1) "I can't use the same name for the database." -> excludes a restore/recover on the standby server.
    2) "how can I restore the database whitout catalog in other server" -> excludes a duplication to new name.
    If you want to keep it simple find a third HP ia64 machine where you can mirror your production environment and restore the complete backup set and recover the database keeping the name of the target.
    Regards,
    Tycho

  • Restore database with new DB name

    I'm trying to restore a database from a hot backup with a new database name. I'm trying to use the backup control file with the SET DATABASE in the control file. That works ok, but when I run RECOVER DATABASE USING BACKUP CONTROLFILE I get errors such as
    ORA-00279: change 1516911820 generated at 09/08/2006 17:14:43 needed for thread 1
    and ORA-00308: cannot open archived log
    Can anyone help me? I'm not using RMAN currently with the DUPLICATE command because I'm running on NetApp filers and it would be much faster to duplicate the database this way. Also, I'm duplicating on the same server so I need to use a different instance name.
    Thanks,
    Michael Cunningham

    Assuming source is in Archive Log mode.
    Your scenario is :-
    Cloning Database in the same server using OS copy.
    I believe you are stuck with recovery issues, what you need to do is feed the archive log that the database is asking for. You can also try giving it the redo logs.
    RECOVER DATABASE USING BACKUP CONTROLFILE;
    feed it the archive/redo logs. Till you get a Media recovery complete message.

  • ORA-01103 - restoring database to new name.

    Hi, I'm attempting to restore a database from a cold backup. It's not RMAN, it's just an OS level backup.
    The technical details are
    Windows 2003
    Oracle 11.1
    What's happened is- I upgraded our development database from 11.1 to 11.2 and we discovered a bug, so i want restore the database in the 11.1 instance. The 11.2 version of the database is running, people are using it, we have a workaround so i can't delete that database. What I want to do is create a new instance in 11.1 restore all the datafiles/control files/etc, setup the parameter file and start up the database, obviously I had to use a different name.
    However the problem I'm seeing is
    ORA-01103: database name 'ALPHA' in control file is not 'ALPHADB'. ALPHADB is the new database. I thought to do the backup to trace and recreate the control files, but I can't mount the database. I have performed 'backup to trace' on the OLD database.
    Any advice please?

    Try entering "cancel" to the prompt for an archived redo log. If Oracle accepts the cancel then try altering the database open with reset logs.
    You said this was a cold OS level backup in which case the backup should have been made while the database was shut down and the database should have been shut down cleanly usually using shutdown immediate. Is this true?
    HTH -- Mark D Powell --

  • Was trying to restore my database in iPhoto when it shut down - now my thumbnails are distored, logged under a new name and when you click on a thumbnail it opens as another photo.  Help, please

    Could someone help me restore my photos?  I was trying to "restore my database" in iPhoto when it shut down - now my thumbnails are distorted, logged under a new name, and when you click on a thumbnail it opens as another photo.  I was following another "helpful hint" hold down the option and command key and restart iPhoto - select the top three and you should be able to get rid of the dreaded exclamation point.  My MAC ran through the first two options dealing with thumbnails, but crashed during the "restore database"  step and now I have a mess.  Help, please.  Thank you.

    Repost in the iPhoto forum, where the real iPhoto wizards live:
    https://discussions.apple.com/community/ilife/iphoto

  • Trying to figure out how to restore an iPhoto Library from a backup onto a new system.

    I had an old imac that  died but I have backups of everything. I want to restore the iPhoto Libary to another system on another login
    The old system was an iMac that was running I think either 10.5.8 or 10.6 and I think iPhoto6. I want to restore from a backup onto a newer iMac running 10.8.1 with iPhoto 9.3.2. When I go to the backup I see the iphoto libray, but it does not show the icon I was expecting. What I see is
    Not the icon I thought I would see. When I double click I get a terminal window and I can see all of the files
    So how can I get these photos onto my new system?
    Thanks

    The backup was made via Time Machine. I want to take an account from an old machine to a different newer machine in the house. I tried using the migration assitant to move files onto the new system and all seems well except for photos. When iPhoto startes up it appears to recognize the photos and I can see thumbnails when I flip through, but I do not see full sized photos. How can i see all of the full sixe photos and make sure the conversion pulled my pictures over?

  • I did a system upgrade (clean install) to Snow Leopard. I now have lost all of my Firefox bookmarks. Should they be somewhere in my backup files (on an external drive)? How do I locate them? And, how do I restore them to Firefox in the new system?

    Where would the Bookmarks be filed in my system backup? Can I move them to the new system (Internal drive)?

    Hi drnels,
    Are you saying you still have access to the backup? If you do, you should take a look at [[Backing up your information]]. It will show you where all of your personal information is stored in Firefox and how you can copy it to a new install.
    Hopefully this helps!

  • Restore Database on New Host in Catalog mode

    Dearest DBAs,
    Here is RMAN configuration details,
    163.19.0.153
    Production Database (orcl)
    163.19.0.154
    RMAN Catalog Database (rman)
    163.19.0.155
    BackupSets Location
    163.19.0.156
    Test Machine
    I have taken the backup through RMAN and now want to restore the database using RMAN to a test machine. Where test database was already running and I have only removed the data files, control files and redo log files.
    This document on the following link describes the steps
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmrecov002.htm#sthref723
    I have connected to rman using following command
    c:\>set oracle_sid=orcl
    c:\>rman target rman/zaffar@rman nocatalog
    rman>set dbid 111122
    it gives me following error
    RMAN-03002
    RMAN-06188
    but rman is running in catalog mode that disallow me to set the dbid of the target database and because of this I am unable to proceed further.
    Kindly help.
    Regards,
    Asif

    the problem mentioned above has been solved, but now i am getting following error when i execute following script
    RUN
    # allocate a channel to the tape device
    ALLOCATE CHANNEL c1 DEVICE TYPE sbt PARMS='...';
    # rename the datafiles and online redo logs
    SET NEWNAME FOR DATAFILE 1 TO '?/oradata/test/system01.dbf';
    SET NEWNAME FOR DATAFILE 2 TO '?/oradata/test/undotbs01.dbf';
    SET NEWNAME FOR DATAFILE 3 TO '?/oradata/test/cwmlite01.dbf';
    SET NEWNAME FOR DATAFILE 4 TO '?/oradata/test/drsys01.dbf';
    SET NEWNAME FOR DATAFILE 5 TO '?/oradata/test/example01.dbf';
    SET NEWNAME FOR DATAFILE 6 TO '?/oradata/test/indx01.dbf';
    SET NEWNAME FOR DATAFILE 7 TO '?/oradata/test/tools01.dbf';
    SET NEWNAME FOR DATAFILE 8 TO '?/oradata/test/users01.dbf';
    SQL "ALTER DATABASE RENAME FILE ''/dev3/oracle/dbs/redo01.log''
    TO ''?/oradata/test/redo01.log'' ";
    SQL "ALTER DATABASE RENAME FILE ''/dev3/oracle/dbs/redo02.log''
    TO ''?/oradata/test/redo02.log'' ";
    # Do a SET UNTIL to prevent recovery of the online logs
    SET UNTIL SCN 123456;
    # restore the database and switch the datafile names
    RESTORE DATABASE;
    SWITCH DATAFILE ALL;
    # recover the database
    RECOVER DATABASE;
    ora-01511: erro in renaming log/data files
    ora-01516: nonexistent log file, datafile or tempfile 'e:\oradata\orcl\orcl\redo03.log'
    any help
    Regards,
    Asif

  • Break cluster and move databases to new server

    Hello everyone.  I have a question that may be basic but I am by no means a SQL person.  Right now we have a SQL 2005 cluster running on VM ESXi with a celerra backend storage.  Some drives are mapped Raw.  We recently put in a new
    VNX and we are not able to migrate the SQL server over due to how the drives are mapped.  I am thinking that I want to build a new SQL server and move the databases.  The new build will not be a cluster since we have point in time recovery manager
    from EMC.  Now my thinking is, can I break the cluster, move the 2nd node to the new ESXi and storage and present new storage or would it be best to just build a new server?  Is it easy enough to change an instance name after SQL is running? 
    Several applications refer to the SQL Cluster and they are critical so I need something with least amount of downtime.  Would doing backup of all of SQL and then a restore to the new system be best?  Any thoughts or direction?  Thanks
    Joe M

    The most straightforward and reliable method is to build a new server, migrate the databases using backup/restore, test the new server, and cut-over by shutting down the old servers and either reconfiguring the client applications or renaming the new server
    to have the same network name as the old server's SQL Cluster Client Access point. 
    You can also use DNS redirection instead of renaming the new server, although using a DNS hostname alias for your server requires some additional security configuration.  EG
    http://blogs.msdn.com/b/dbrowne/archive/2012/05/21/how-to-add-a-hostname-alias-for-a-sql-server-instance.aspx
    David
    David
    David http://blogs.msdn.com/b/dbrowne/

  • How do I prepare my iMac for sale? And best practice for transferring media to a new system.

    This is my first time posting in a forum, so I will apologize in advance if I'm doing something wrong. I've tried to search for a very clear answer to my questions in the existing discussions, but have not had much luck.
    I ordered a Macbook Pro today and would like to sell my current iMac to supplement some of the cost. I purchased my iMac in March of 2011 with OS X Snow Leopard preinstalled. I've since updated to Mountain Lion. When my computer came in it did not have OS DVDs, so I am not sure exactly how to take it back to factory default and remove ALL of my information safely in order to prepare it for sale. I'm afraid to tell it to format if I am going to need a boot disc/drive to reinstall the OS. I've been trying to research all day and have learned that I will not be able to sell it with the current OS, only the one that came with the computer at the time of purchase (to the best of my understanding).
    Secondary to all of this, I have a question about backing up info and porting it to my new system. I have run the Time Machine backup to my external hard drive. However, I DO NOT want to port it to my new MBP as an image of my past machine. I did that when I got my iMac from my old MBP and my iMac thinks it is a MBP (MBP EFI/SMC Firmware Update Icons in my system utilities folder as well as identified as a Macbook Pro on my network). I've never been able to get all of these things to go away and I feel like it's chewing up hard drive space for no purpose whatsoever. I also worry that it could create system issues that I'm just not savy enough to catch before they are beyond control. That being said, I'd like to begin fresh with my new MBP. What is the best method of bringing my photos from iPhoto and music/movies/books/etc from iTunes to my new system? My word documents are easy enough...I keep 3 flash drives updated with them at all times.
    Thanks in advance!

    Whoever said you can't sell you iMac with the current Mac OS X is wrong, I believe.
    Unfortunately, it is not wrong.
    Any OS purchased/obtained at the app store - as is the case here - is not transferable. The license is tied forever to the Apple ID used to obtain it. The SLA states that the seller needs to erase the drive and reinstall the original system.
    @ Kamikazwe:
    You can call Apple and give them your serial number and they will send you copies of your original disks at a nominal charge.
    You do need to use your original Snow Leopard disk, boot from it, erase the drive, and reinstall Snow Leopard. The buyer of the machine will need to purchase his/her own copy of Lion or Mountain Lion with their own Apple ID or they will never be able to reinstall or update the OS.
    SLA Excerpt:
    3. Transfer.
    A. If you obtained the Apple Software preinstalled on Apple-branded hardware, you may make a one-time permanent transfer of all of your license rights to the Apple Software (in its original form as provided by Apple) to another party, provided that:  the Apple Software is transferred
    together with your Apple-branded hardware; (ii) the transfer must include all of the Apple Software, including all its component parts, printed materials and this License; (iii) you do not retain any copies of the Apple Software, full or partial, including copies stored on a computer or
    other storage device; and (iv) the party receiving the Apple Software accepts the terms andcconditions of this License. For purposes of this License, if Apple provides an update (e.g., version 10.8 to 10.8.1) to the Apple Software, the update is considered part of the Apple
    Software and may not be transferred separately from the pre-update version of the Apple Software.
    B. If you obtained your license to the Apple Software from the Mac App Store, it is not transferable. If you sell your Apple-branded hardware to a third party, you must remove the Apple Software from the Apple-branded hardware before doing so, and you may restore your system to the version of the Apple operating system software that originally came with your Apple hardware (the “Original Apple OS”) and permanently transfer the Original Apple OS together with your Apple hardware, provided that:  the transfer must include all of the Original
    Apple OS, including all its component parts, printed materials and its license; (ii) you do not retain any copies of the Original Apple OS, full or partial, including copies stored on a computer or other storage device; and (iii) the party receiving the Original Apple OS reads and agrees to
    accept the terms and conditions of the Original Apple OS license.

Maybe you are looking for