New Oracle DBA - Need help with backup & restore procedure via RMAN

Hello everyone,
I've been a SQL Server DBA for 12 years now, but new to the Oracle space. My first assignment at work was to refresh our training environment with production. So with that said, I took a full backup of our production database via RMAN and backed up the Control File. I then copied both the Control File and full backup from our production environment to training. I followed the procedures listed in the URL below:
http://www.dba-oracle.com/t_rman_clone+copy_database.htm
I then connected to RMAN and executed a 'show all' which is as follows:
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
The CONFIGURE CONTROLFILE AUTOBACKUP was set to ON but received a message that the database needed to be mounted, so, I mounted the database and made the changes, but when I shutdown the database and performed the startup nomount again, the settings were gone. Are these settings valid only when the database is mounted? How can I successfully refresh this training environment with production data? I'm at a standstill here so any help would be very much appreciated.
Thank you,
Pete

The CONFIGURE CONTROLFILE AUTOBACKUP was set to ON but received a message that the database needed to be mounted, so, I mounted the database and made the changes, but when I shutdown the database and performed the startup nomount again, the settings were gone. These settings are persistent settings.So these information retain in control files.To reading information from control files database instance must be MOUNT or OPEN stage.Due to you have mount instance and try SHOW ALL command through RMAN.
Are these settings valid only when the database is mounted? Not only MOUNT also OPEN stage.
How can I successfully refresh this training environment with production data? I'm at a standstill here so any help would be very much appreciated.
There are several ways like duplication.But you take full backup from production database using BACKUP DATABASE through rman.In this case you will get also AUTOBACKUP for controlfiles/spfiles.Then copy these backup files and all available archive logs to training server and perform below steps.
1) You have set properly ORACLE_HOME and ORACLE_SID environment variable.After that first need restore spfile as
rman target /
startup force nomount;
restore spfile from 'autobackup_location';
startup force nomount;2) Now you have to restore controlfiie as
  rman>restore controlfile from  'autobackup_location';
rman>alter database mount;
  3) Now need catalog(it means register) all backup files and archivelogs in new restored controlfile as
   rman>catalog start with 'backuplocation';
   4) Finally you can restore and recover your database as below
   rman>restore database;
rman>recover database;
rman>alter database open resetlogs;
   If you want restore database to new location then before executing RESTORE DATABASE command you can use SET NEWNAME FOR DATAFILE clause.Firstly refer backup recovery guide in online documentation.

Similar Messages

  • Need Help With a Stored Procedure

    Help With a Stored Procedure
    Hi everyone.
    I am quite new relative to creating stored procedures, so I anticipate that whatever help I could get here would be very much helpful.
    Anyway, here is my case:
    I have a table where I need to update some fields with values coming from other tables. The other tables, let us just name as tblRef1, tblRef2 and tblRef3. For clarity, let us name tblToUpdate as my table to update. tblToUpdate has the following fields.
    PlanID
    EmployeeIndicator
    UpdatedBy
    CreatedBy
    tblRef1, tblRef2 and tblRef3 has the following fields:
    UserName
    EmpIndicator
    UserID
    In my stored procedure, I need to perform the following:
    1. Check each row in the tblToUpdate table. Get the CreatedBy value and compare the same to the UserName and UserID field of tblRef1. If no value exists in tblRef1, I then proceed to check if the value exists in the same fields in tblRef2 and tblRef3.
    2. If the value is found, then I would update the EmployeeIndicator field in tblToUpdate with the value found on either tblRef1, tblRef2 or tblRef3.
    I am having some trouble writing the stored procedure to accomplish this. So far, I have written is the following:
    CREATE OR REPLACE PROCEDURE Proc_Upd IS v_rec NUMBER;
    v_plan_no tblToUpdate.PLANID%TYPE;
    v_ref_ind tblToUpdate.EMPLOYEEINDICATOR%TYPE;
    v_update_user tblToUpdate.UPDATEDBY%TYPE;
    v_created_by tblToUpdate.CREATEDBY%TYPE;
    v_correct_ref_ind tblToUpdate.EMPLOYEEIDICATOR%TYPE;
    CURSOR cur_plan IS SELECT PlanID, EmployeeIndicator, UPPER(UpdatedBy), UPPER(CreatedBy) FROM tblToUpdate;
    BEGIN
    Open cur_plan;
         LOOP
         FETCH cur_plan INTO v_plan_no, v_ref_ind, v_update_user, v_created_by;
              EXIT WHEN cur_plan%NOTFOUND;
              BEGIN
              -- Check if v_created_by has value.
                   IF v_created_by IS NOT NULL THEN
                   -- Get the EmpIndicator from the tblRef1, tblRef2 or tblRef3 based on CreatedBy
                   SELECT UPPER(EmpIndicator)
                        INTO v_correct_ref_ind
                        FROM tblRef1
                        WHERE UPPER(USERNAME) = v_created_by
                        OR UPPER(USERID) = v_created_by;
                        IF v_correct_ref_ind IS NOT NULL THEN
                        -- Update the Reference Indicator Field in the table TRP_BUSPLAN_HDR_T.
                             UPDATE TRP_BUSPLAN_HDR_T SET ref_ind = v_correct_ref_ind WHERE plan_no = v_plan_no;
                        ELSIF
                        -- Check the Other tables here????
                        END IF;
                   ELSIF v_created_by IS NULL THEN
                   -- Get the EmpIndicator based on the UpdatedBy
                        SELECT UPPER(EmpIndicator)
                        INTO v_correct_ref_ind
                        FROM tblRef1
                        WHERE UPPER(USERNAME) = v_update_user
                        OR UPPER(USERID) = v_created_by;
                        IF v_correct_ref_ind IS NOT NULL THEN
                        -- Update the Reference Indicator Field in the table TRP_BUSPLAN_HDR_T.
                             UPDATE TRP_BUSPLAN_HDR_T SET ref_ind = v_correct_ref_ind WHERE plan_no = v_plan_no;
                        ELSIF
                        -- Check the Other tables here????
                        END IF;
                   END IF;
              END;
         END LOOP;
         CLOSE cur_plan;
         COMMIT;
    END
    Please take note that the values in the column tblToUpdate.UpdatedBy or tblToUpdate.CreatedBy could match either the UserName or the UserID of the table tblRef1, tblRef2, or tblRef3.
    Kindly provide more insight. When I try to execute the procedure above, I get a DATA NOT FOUND ERROR.
    Thanks.

    Ah, ok; I got the updates the wrong way round then.
    BluShadow's single update sounds like what you need then.
    I also suggest you read this AskTom link to help you see why you should choose to write DML statements before choosing to write cursor + loops.
    In general, when you're being asked to update / insert / delete rows into a table or several tables, your first reaction should be: "Can I do this in SQL?" If you can, then putting it into a stored procedure is usually just a case of putting the sql statement inside the procedure header/footers - can't really get much more simple than that! *{;-)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Need help with backup and clean install

    Need Assistance with G5
    Background
    I'm an inexperienced Mac user with a G5, twin 2.0 gig processors and 1.5
    gig ram. The OS is v10.3.6. It is the latest OS that will not slow down
    internet (Safari/Mail) applications. Anything newer has really slowed internet applications down big time.
    Current Problem
    I've probably messed up my hard drive by switching back and forth
    (archive/install) from newer to present OS. I now have corrupted data and
    while my Mac is useable, several things do not work (disk utility, printing
    and possibly more). I have a mixture of new and older versions of
    these applications/utilities in my OS.
    Going Forward
    I believe I need to wipe out my hard drive and do a clean install. I also have a Mac mini which I can use (I believe) for backup via firewire.
    Backup
    Is everything I need to backup in the "User" folder? My spouse and I have
    separate accounts and a shared account on the same Mac, with a total of 8.5 gig of data, mostly photo's and music. We want to save that and the usual preferences and favorites/bookmarks/addresses/email, etc. It would be nice if all I had to do was drag the user folder into the target drive.
    I'd appreciate any assistance. I have more questions which I'll get to later, but I need to start somewhere.
    Thanks all
    Mac G5    

    Backing up your Users folder will save everything in all the accounts on the computer including pictures, music, preferences, etc. as long as they were kept in that folder.
    If you have File Vault turned on you should turn it off. The "correct" procedure for transferring to your Mac Mini is as follows:
    1. Turn both computers off. Connect them together with a Firewire cable.
    2. Boot the G5 into Target Disk Mode.
    3. Then boot the Mac Mini normally. The G5's hard drive should be present on the Mini's Desktop.
    4. Create a new folder on the Mini and name it something appropriate like G5 User Backup. Drag the Users folder on the G5 into this new folder on the Mini.
    After the transfer completes you should verify that everything has been transferred and is there in the folder.
    5. Drag the G5's hard drive icon from the Desktop to the Trash or CTRL-click on its icon and select Eject from the contextual menu.
    6. Shutdown the G5 and remove the Firewire cable connecting the two computers.
    You can now proceed to fix the G5. Because you are planning to erase the hard drive I would like to suggest you do an extended format to prep the hard drive properly for your restoration:
    1. Boot from your Panther Installer Disk. After the installer loads select Disk Utility from the Installer menu.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Set the number of partitions from the dropdown menu (use 1 partition unless you wish to make more.) Set the format type to Mac OS Extended (Journaled, if supported.) Click on the Partition button and wait until the volume(s) mount on the Desktop.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled, if supported.) Click on the Options button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process will take 30 minutes to an hour or more depending upon the drive size.
    You can then quit Disk Utility and return to the installer. Now proceed to reinstall OS X. Be sure you set up your accounts with the exact same usernames and passwords as you used before.
    Once you have completed your reinstallation on the G5 you can restore your Users folder from the Mac Mini.
    1. Shut down both computers. Connect them with a Firewire cable.
    2. Boot the G5 into Target Disk Mode.
    3. Boot the Mac Mini normally. G5's hard drive should appear on the Mini's Desktop.
    4. Open a Finder window on the G5's hard drive and drag the Users folder to the Trash (don't delete yet.)
    5. Now copy the saved Users folder from the Mac Mini to the G5 (only the Users folder, not the folder in which you stored it.)
    6. Eject the G5's hard drive from the Mini's Desktop and shut down the G5.
    7. Disconnect the Firewire cable.
    Now restart the G5. If all worked well it should start up normally and you should find everything normal in your accounts.
    There is one potential problem in all the above. All your account preferences are contained in the Users folder. If you have any corrupted preferences, they will still be corrupted and may continue to cause problems. If that's the case you may need to trash the /Home/Library/Preferences/ folder's contents. Hopefully, this won't be the case, but you should be aware of the possibility.
    If eveything is working normally you can empty the Trash and delete the contents. Same on the Mac Mini.

  • [Solved]Need help with backup-manager

    So I'm trying to set up backup-manager to make.. well, backups. Their wiki has been shut down thanks to spammers, and ours has no specific entry for backup-manager, so I will have to do it with its man page and the (well documented) config file. However, I still have some questions. Sorry in advance for the amount of questions and the length of the topic. I just wanted to get this clear in one go.
    First: I want to make a *full* system backup, so that I can restore my system in case of breakage without reinstalling. When I looked at creating backups in the past, I noticed some folders don't necessarily had to be backupped. What folders in / could I skip?
    Second: I chose the tarball backup format. Would it then be safe to comment out all the other variables (for tarbal-incremental/mySQL) backups?
    Third: Now there were some parts of the config file that I didn't understand. I hope you can explain some of those parts to me.
    # Number of days we have to keep an archive (Time To Live)
    export BM_ARCHIVE_TTL="5"
    That means the archive it creates will be removed after 5 days - but what if I copy it to my external hard disk? I don't think it will delete it then, so would it be safe to comment this out - or what will it do if I just keep it this way?
    # At which frequency will you build your archives?
    # You can choose either "daily" or "hourly".
    # This should match your CRON configuration.
    export BM_ARCHIVE_FREQUENCY="daily"
    I either want to make a backup when I want to, or weekly - not hourly or daily. Is this possible with backup-manager?
    # Do you want to purge only the top-level directory or all
    # directories under BM_REPOSITORY_ROOT?
    export BM_REPOSITORY_RECURSIVEPURGE="false"
    I don't understand that option. Could you explain me what it will do? Info: BM_REPOSITORY_ROOT is set to my home folder. It's the place where the archives are stored.
    # Do you want to replace duplicates by symlinks?
    # (archive-DAY is a duplicate of archive-(DAY - 1) if they
    # are both the same according to MD5 hashes).
    export BM_ARCHIVE_PURGEDUPS="true"
    Will this harm anything in my system?
    # Do you want to dereference the files pointed by symlinks ?
    # enter true or false (true can lead to huge archives, be careful).
    export BM_TARBALL_DUMPSYMLINKS="false"
    This would 'destroy' all symlinks, no? I'm going to keep this at false, but I would like to know.
    Last edited by Unia (2011-08-29 18:19:37)

    Tried to do a selective upgrade & broke something this morning so I tried restoring my CompleteRaid0 backup, worked like a charm.
    This is the latest backup script I'm using:
    #!/bin/sh
    # Little script to tar up the important root folders.
    # To untar, use:
    # tar -xvpzf /path/to/backup/<date>-backup.tar.gz -C </path/to/root>
    echo "Do you want to clear pacman's cache before tarring up the root folder? This will save time in both the tar- and untar process."
    echo -n "(y|N) > "
    read a
    if [[ "$a" = "n" ]] || [[ "$a" = "N" ]] || [[ "$a" = "" ]]; then
    echo "Pacman's cache will not be cleared."
    else
    echo "Pacman's cache will be cleared now, please wait..."
    pacman -Scc --noconfirm
    echo "Pacman's cache succesfully cleared. Continuing now..."
    sleep 2s
    fi
    DATE=`date +%m%d-%H%M%S`
    CB=CompleteRaid0-$DATE.tar.gz
    NB=FreshInstall-$DATE.tar.gz
    echo "********************************************************************************"
    echo "Proceeding with Fresh Install backup $NB."
    echo "********************************************************************************"
    sleep 5
    cd /
    tar -cvpzf $NB --one-file-system \
    /boot \
    --exclude=/$NB \
    --exclude=/dev \
    --exclude=/etc/fstab \
    --exclude=/home \
    --exclude=/lost+found \
    --exclude=/media \
    --exclude=/mnt \
    --exclude=/proc \
    --exclude=/root \
    --exclude=/sys \
    --exclude=/tmp \
    mv $NB /home/chuck/Backups/
    echo "********************************************************************************"
    echo "Sleeping for 10 seconds."
    echo "Proceeding with complete backup $CB."
    echo "********************************************************************************"
    sleep 5
    tar -cvpzf $CB --one-file-system \
    /boot \
    --exclude=/$CB \
    --exclude=/tmp \
    --exclude=/mnt \
    mv $CB /home/chuck/Backups/
    echo "********************************************************************************"
    echo "Backups Complete"
    echo "********************************************************************************"
    sleep 10
    exit 0
    Restored it with this:
    #!/bin/sh
    # To untar, use:
    # tar -xvpzf /path/to/backup/<date>-backup.tar.gz -C </path/to/root>
    tar -xvpzf /home/chuck/Backups/now.tar.gz -C /
    mkdir /proc \
    /lost+found \
    /sys \
    /mnt \
    /media \
    /mnt/bind/Downloads \
    /mnt/bind/Pictures \
    /mnt/bind/Maintenance \
    /mnt/bind/Music \
    /mnt/bind/Backups
    exit 0
    Of course the directories already existed so that part was unnecessary & only needed if I had restored onto a fresh installation.

  • Need help with Backup Recovery using Rman - Point in Time.

    Hi all,
    I am trying to recover my database to a certain point in time. Here are the details below.
    Oracle database version is. 11G R1. on 2 Node RAC. OS is AIX.
    Database name is Sales.
    Due to a mistake by the Application team, the database is written over by bad data. Now I have to restore the database in to a point in time, where the database was good.
    For this, i took a whole (full) RMAN backup, everything, all the archivelog files and Controlfiles as well.
    After doing this, i dropped the entire database. So now everything is clean.
    Now i have to restore and recover the database to this point in time.. 03/16/2011 12:45:00
    Please guide.
    The backups are located at.. /backup/sales/rman/
    I am trying various things, but each time i get the msg..
    ORA-01507: database not mounted
    I understand.. the reason for this message is the controlfile does not exist.. as the database is in mount mode. But as i said.. i have dropped the database in order to proceed with entire restoration.
    But i have taken a whole backup.. which also includes the controlfiles + archivefiles.
    Please guide.. with proper steps and commands.

    Hi,
    Priror to start with restore and recovery - Try to restore the control file from backups "/backup/sales/rman/"
    Then further you can mount the db and further carry on with recovery (catalog the backups prior to recovery)
    - Pavan Kumar N

  • Need help with backup files made by HP Recovery.

    So in 2011 I had made a post about a DV9 series HP laptop I had that I felt needed a harddrive. Well the laptop has been sold to a friend of mine and he has since fixed the issue it had. My curent deboggle is trying to deal with the 36GB of data it backed up onto an external USB powered harddrive. The information was saved from a system that ran Windows VISTA, on that same DV9 Pavilion. I have a new laptop and it's a Pavilion DV6 running windows 7. Is there some sort of 3rd party application or an uncommon HP utility that can open, run or modify. Specificaly I need to some files but not all, but if my only option is to extract all then that would be fine also. There is an executible in the backup folder but it doesn't extract anything it just locks up. 
    For the TLR portion, need to access backup files made on an older HP laptop with windows vista to a newer HP latop running windows 7.

    Terribly sorry for the post, I should have researched more before posting. I found the answer to my issue in another thread here on the HP forums! Thanks so much!!

  • Need help with the restore-mailbox command

    I just started playing around with the restore-mailbox command now that the Recovery Storage Group and exmerge are not options in 2010. I am hoping someone can help me out here. I am working in a test environment. What I did was backup a database with a
    single mailbox on it called testex2010. I used Windows backup. I then restored the database and logs, created the recovery database using the shell and was able to mount the database after running eseutil /R etc...
    I now want to recover the data in the mailbox testex2010 to another mailbox called Recovery Mailbox in the production database. I was able to successfully restore testex2010 to itself. I proved  this by deleting all the messages in the live database,
    running the restore command and seeing the messages back in the live mailbox.
    The command I used was restore-mailbox -identity testex2010 -RecoveryDatabase RDB1
    I am prompted with the "are you sure" text and after hitting yes, all goes well. I now want to restore to another mailbox in the production database called Recovery Mailbox. This is where it breaks down. No matter how I format the command, I cannot get it
    to work. Two questions:
    1) should I be able to see mailboxes in the Recovery Database using the GUI or the Shell or do you just assume they are there?
    2) what is the command to restore messages from a mailbox in the Recovery Database to another mailbox in the production environment?
    Is what I am trying even possible? Just so you know, I did try this command"
    Restore-mailbox -identity testex2010 -RecoveryDatabase RDB1 -RecoveryMailbox "Recovery Mailbox" -TargetFolder testex2010
    It fails telling me that the mailbox Recovery mailbox is not in the Recovery Database.

    Restore-mailbox -identity testex2010 -RecoveryDatabase RDB1 -RecoveryMailbox "Recovery Mailbox" -TargetFolder testex2010
    The wording of the
    Restore-Mailbox command can be tricky. If I look at your example above, this is what it would attempt to do...
    Restore the content of the mailbox with display name "Recovery Mailbox" in the RDB into the mailbox testex2010 under a folder named testex2010.
    Think of the -Identity parameter as the mailbox you want to restore INTO.
    Think of the -RecoveryMailbox parameter as "Recoverying The Mailbox of..."
    Also get into the habit of using the DisplayName with -RecoveryMailbox.
    Microsoft Premier Field Engineer, Exchange
    MCSA 2000/2003, CCNA
    MCITP: Enterprise Messaging Administrator 2010
    Former Microsoft MVP, Exchange Server
    My posts are provided “AS IS” with no guarantees, no warranties, and they confer no rights.

  • New here and need help with design

    Hello all, I am working on my son's first birthday thank you cards.  I need help removing the line in between the blue and green background.  Thanks. Stacey

    You also have a narrow black line on the lower left side.
    Increase the the magnification to 500% and select the black and the white lines with the Magic Wand (Continuous checked).  Feather by one pixel.  Sample the green right under the white line, make it the Foreground Color and fill the selection with it.
    Juergen

  • Reformatting Computer's Hardrive: Need help with Backup and Restore?

    Hi,
    I'm getting ready to reformat my hardrive and I'm backing up all of my files. All apps will be reinstalled after the drive is formatted.
    I have a ton of music that I've purchased from itunes and mp3s that I've ripped from my CDs in my main itunes folder. I will backup this folder (if necessary). Do I need to back up the licenses? If so, where are they stored? Or, what's the best and most efficient way to go about this backup and restore process? If my Ipod has all my music/videos, will it just copy all the music/videos back to my newly reformatted hardrive while maintaining the original folder structure? I assume I will have to install a fresh copy of itunes first. Also, I'm worried about the licensing for the purchased music. Is there something special I need to do with these files?
    I appreciate it if someone can give me the detailed steps to go about this without issue. I'm thinking this is a pretty easy question to all the techies out there...
    Thanks,
    Brandon

    Back up or copy the iTunes folder. There are no licenses to worry about, buy Deauthorize your computer in iTunes before you reformat. After you restore everything play one of the songs you purchased from the iTunes Store and enter your Apple ID and password to Authorize your computer.

  • Need help with backup for iphone 4

    hey all,
    i just upgraded to IOS 5.1.1, and i was pretty mad to find out all my contacts were wiped out after i did this. so i plugged it in my computer, went into iTunes, and tried to restore from backup...well, that would have worked out fine, except it keeps restoring to an old back up from April 17...no matter what i do! i'm trying to use a backup from May 20.
    So here's what i'm doing, if anyone can give me insight, by all means!
    Restore from backup > iphone name: (here on the drop down list, i see my phone name and various dates including april 17, 2012, and may 20, 2012, which is the date of back up i am trying to use. below the drop down menu, it reads "Last Backed Up: 4/17/2012". but if there are more recent dates listed in the dropdown, doesn't it mean the last back up was whatever date listed in the dropdown??
    at any rate, i choose the may 20 back up, and i get a pop up window that says "A more recent backup from 4/17/12 is available for the iphone..." and gives me the option of "use newer backup" or "use older backup". well even if i click the newer backup, it only uses the 4/17/12 backup, not may 20 one. if i click older backup, it gives me a backup from a LONG time ago.
    so does this mean i don't actually have a backup from may 20?? i see that the file from 5/20/12 is there when i go to my mobilesync > backup folder on my computer...so i dont get what the problem is. i even tried deleting the 4/17/12 folder from there, and went back into itunes...no luck.
    i dont think the upgrade in IOS shoudl be affecting this? afterall both of the backups i listed were both of the old IOS...
    any help? thanks a bunch!! i would really appreciate it.

    You do know that contacts are NOT part of the iTunes backup, right?  The only part of contacts that get backed up is the information needed to maintain your favorites and recent call log.
    Contacts are meant to live permanently on your computer (Outlook, Address Book) or a cloud-service (Google, iCloud) for safekeeping and archival.
    Sounds like you might not have been using your phone as recommended and that your contacts are gone.  That's unfortunate.  Now might be a good time to review the User Guide to refamiliarize yourself with the way you should be using your phone to minimize data loss in the future.
    Good luck.
    GDG

  • Need help with emac restoration

    I bought an eMac in a garage sale. It came with Tiger installed in it. I am completely new to Mac OS's. In the effort of trying to upgrade it to Leopard, I think I erased the hard disk(MacHD). After that it immediately restarted and got stuck on the apple logo screen with a spinning wheel below it. Now I didn't get a CD/DVD when I bought it. And with the help of my friend now I have a leopard image in a hard disk.( I have a 250gb hard drive, about 180 is partitioned with fat32 filesystem, and the other 60gb has the leopard image). I restored the leopard .dmg into the partition using the disk utility application with the help of his mac book. So can anyone help me on how I need to proceed.

    Nope, boot the MBP using he t key, boot the eMac holding Option or alt, this should make the
    OK, booted the last way,
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at the top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
    Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
    highlight the eMac's Hard Drive in Disk Utility, click the blue Info icon, what Format is it?
    How to format your disks...
    http://www.kenstone.net/fcp_homepage/partitioning_tiger.html
    Thanks to Pondini, Formatting,  Partitioning, Verifying,  and  Repairing  Disks...
    http://Pondini.org/OSX/DU.html

  • Need help with Backup problems - anyone seen this before?

    I am experiencing 2 primary problems:
    1) When attempting a recent backup with HotSync on my desktop PC (Treo 700p, HotSync Manager v. 6.01, XP): I hadn't backed up for a few weeks, and this time it crashed sometime during the backup of the Calendar (and this behavior is repeated).  So I then unchecked the backup of Calendar, but then it just hung on Contacts for about 15 minutes, so I realized it wasn't doing anything anymore (I have lots of contacts, but not not 15 minutes worth).  At this point I gave up, but I obviously need to figure out how to make HotSync work again.  Any ideas?
    2) (not sure if this is the forum to address this): When using Backup Buddy v. 2.04 a couple of days ago, every time I tried to backup, it would get maybe 1/5th into the backup and crash and restart.  I figured out in short order that Address.DB is what was causing the crash. [I tried to e-mail the file so I could examine it and save it, but just attaching it in SnapperMail made the device crash].  So I took the chance of deleting the Address.DB (as it seemed small and didn't appear to contain any backup information), and it looks like all of my information was retained.  My question here is: two times since the initial problem, something has recreated Address.DB, which again causes the 700p to crash, so I have had to delete it again.  So when is this file being (re)created, and what is the purpose of it?
    An additional (minor) difficulty that I've had occur on a couple of occasions: After a recovery (where my BackupBuddy information was more current than my HotSync data), I restored, and all the calendar entries were double - 2 identical entries adjacent to one another. Has anyone seen this?
    Thanks in advance -
    B
    Post relates to: Treo 700p (Verizon)

    Sounds like the device has become corrupted.
    Post relates to: None

  • Is it just me..or lots of unanswered posts?  need help with sync/restore...

    nearly lost everything off my iPhone, due to a computer problem which holds primary iTunes library...I believe I'm finally having success right now in restoring.....
    But just in case......
    my question is whether I can connect my iPhone to a second computer which has a separate library, and let it back up in iTunes on that computer......
    if I do this routinely, and if the primary computer dies on me, I'd still have the option to restore from computer#2,,,, correct? and not lose all my current data on the iPhone...... correct?
    thanks.

    From your post it would seem that your iTunes Library files (or rather backups of them) are on your external drives. This is the most important thing from the point of preserving your library if you should need to rebuild the computer. What is not so clear is if the files that iTunes opens each time you use it are the ones on the external drive or a set of internal copies. One way of checking is to run the script iTunesXMLPath which tells you which .xml file iTunes is updating, and therefore the folder containing the other active library files. If this folder is the parent folder of the *iTunes Media* folder, (See *Edit > Preferences > Advanced* tab) then the library is portable and can survive being moved or having the drive letter changed.
    If you are currently using the "internal" copy of the library files then, having updated the copy on your primary "external" drive, you can switch the active library by clicking on the icon to start iTunes and immediately pressing & holding down the shift key until asked to *Create or choose a library*. Click choose and navigate to the folder on the external drive. Check everything works properly.
    SyncToy would be ideal for you to manage keeping the two external copies of the library updated. The first time you run it a wizard navigates you through the task of choosing two folders to pair up. It can be used for any general folder mirroring backup so you can easily create other folder pairs to take care of your downloads, documents, email stores etc.
    Once you've confirmed that your library is running from the external drive then you can rebuild your Windows installation, install iTunes and use the SHIFT-start-iTunes method to open the library on the external.
    What virus do you think you have? If it's one of those "Your computer is infested with 123 different suspect files, click here to give us some money to clean it for you!" types then http://www.bleepingcomputer.com/combofix/how-to-use-combofix may be a good place to start, assuming of course that the URL-redirection element of the virus lets you get to the correct site.
    tt2

  • New to swing :( need help with simple text areas

    i'm trying to make a username and pasword GUI thingy (techinical word) but what i have now is this:-
    import javax.swing.*;
    import javax.swing.text.*;
    import javax.swing.*;
    import javax.swing.text.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.net.URL;
    import java.io.IOException;
    public class swing1 extends JFrame implements ActionListener
         private String newline = "\n";
         protected static final String textFieldString = "JTextField";
         protected static final String passwordFieldString = "JPasswordField";
         protected JLabel actionLabel;
         private JTextField textField;
         private JPasswordField passwordField;
         private Container p; // make a panel to witch the components can be added
         public swing1()
              super("swing1");
              //Create a regular text field.
              textField = new JTextField(10);
              textField.setActionCommand(textFieldString);
              textField.addActionListener(this);
              //Create a password field.
              passwordField = new JPasswordField(10);
              passwordField.setActionCommand(passwordFieldString);
              passwordField.addActionListener(this);
              //Create some labels for the fields.
              JLabel textFieldLabel = new JLabel(textFieldString + ": ");
              textFieldLabel.setLabelFor(textField);
              JLabel passwordFieldLabel = new JLabel(passwordFieldString + ": ");
              passwordFieldLabel.setLabelFor(passwordField);
              //Create a label to put messages during an action event.
              actionLabel = new JLabel("Type text and then Return in a field.");
              actionLabel.setBorder(BorderFactory.createEmptyBorder(10,0,0,0));
              //Lay out the text controls and the labels.
              p=getContentPane(); //get te contant pane of this Swing1 to add the componets to
              p.add("West",textField); //add your fist component, add it west on the dafault borderLayout
              p.add("East",textFieldLabel);// add another component, add it east on the dafault borderLayout
              p.add("South",passwordField);// add it south on the dafault borderLayout
              p.add("North",actionLabel); // add it north on the dafault borderLayout
              setSize(400,100); //make it a bit bigger
              setVisible(true);
              public void actionPerformed(ActionEvent e)
                   Object o = e.getSource();// the component that fired this event
                   if (o == textField)
                        //action from the textField
                   else if (o == passwordField)
                        //action from passwordfield
              public static void main(String[] args)
                                  JFrame frame = new TextSamplerDemo();
                                  frame.addWindowListener(new WindowAdapter()
                                       public void windowClosing(WindowEvent e)
                                                 System.exit(0);
                                                                new swing1(); //make a new instance of your class
    [\code]
    why won't the label on my password field dislay?
    and can you take a look at the end of my code i got it off another program, i want to get rid of the HTML page its trying to access and i want it just to close when i click X
    any help would be briliant
    Ant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Since you are new to Swing the first thing I would recommend is to read the tutorial "Creating a Gui with JFC/Swing". I think the Text Component section has a demo on creating a username/password GUI. It can be downloaded at:
    http://java.sun.com/docs/books/tutorial/
    Why doesn't the password field label display? You are not adding it to the container. You add textField, textFieldLabel, passwordField, actionLabel but no passwordFieldLabel.
    Instead of adding a WindowListener and implementing the windowClosing() method, there is an easier way to close the JFrame in JDK1.3. Simply use:
    frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
    The class "TextSamplerDemo" doesn't belong in this class (it must be a demo class you downloaded from somewhere). All the code you need in the main method is:
    JFrame frame = new swing1();
    frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
    Also, by convention classes should be named with the first character of each word capitalized. So you class should be renamed to "Swing1" from "swing1". Also remember to rename the file as the filename and class name must be the same and case does matter.

  • New logic user, need help with multi-channel inst and aux strips.

    Greetings all,
    So I just purchased a new Mac Pro 2.66 and Logic Pro 7 to run with it. I have been a long time Nuendo/Cubase user on the PC side of things but since I got the Mac I wanted a DAW that was supported fully for the apple platform.
    Anyways, its a world of difference and I am very confused as I wrap my head around the learning curve, so in the meantime I have one important question maybe some one could help me with.
    The question is regarding Aux channel stips for Multi channel instruments. In this scenario I am working with Battery 3, it took me a while to understand that I actually needed to create these aux channels just to have seperate outs in Battery which seems really wierd and overly time consuming.
    As an example in Nuendo once you create the instance of Battery, the audio mixer automatically just creates the corresponding stereo and mono channels instantly. This obviously makes is a sinch to assign Batteries pads to seperate outs for eq/comps for seperate sounds.
    Now the Battery manual doesnt even make a reference to Aux channels for assigning outs in Logic, I actually had to do a Google search to figure this out.
    Anways, sorry for rambling...
    Here is the main issue.... How can I quickly and easily create multiple Aux's? In the mixer there is really only enough room in there to add like 1 more Aux strip, if I want to add more than that I need to re-arrange the entire global mixer which seems like a crazy system, surely there must be a more convenient method for getting muti-channel audio instruments set up quicker.
    Any help you can assist with would be exceptional!
    Thanks in advance.

    Not sure what exactly your question is, especially since I don't use battery. But as far as creating aux tracks:
    • go to the audio layer of the environment (not the track mixer window), find the two defalt aux tracks
    • Highlight all tracks to the right of the aux tracks (these should be bus and output tracks), and drag to the right far enough to fit in a bunch of aux tracks; you might even want to drag the all underneath the aux tracks, if your screen accomodates
    • use the key command shift-command-a multiples times to create several new "audio objects", and double click each one to expand
    • highlight all the new objects and select options/clean up/ align objects (makes it look nicer)
    • still highlighted, over in the parameters section (left side) select a channel, setting it to the highest number aux (at this point, probably "aux 3")
    • now individual set the channel for each aux track – you'll see that now you have available "aux 4"; next time you set a successive track you'll see "aux 5" and so on
    • once you've got things set up the way you want, save it as a template so you don't have to do this again later

Maybe you are looking for