How to include another partition in tape backup

Hi
I use a shell script written by my sysadmin to take backup of our oracle system on tape. now i moved some datafiles on another partition and hence want to include that partition also in tape backup.
for fs in $(cat /tmp/dailybkupfs | awk '{print $1}')
do
# For / replace the / with root for log filename
if [[ "$fs"  = "/" ]]
then
fn="root"
else
# replace any / in fs name with _ for use in log filename
fn=$(echo $fs | sed 's:/::g')
fi
if umount ${fs}
then
echo "${fs} unmounted successfully" >>/tmp/logs/summary
else
echo "${fs} unmount failed" >>/tmp/logs/summary
fi
if ufsdump 0uf prddb:/dev/rmt/0n ${fs} >${log}.${fn}.${dt} 2>&1
then
echo "Full Backup of ${fs} completed successfully" >> /tmp/logs/summary
else
echo "Full Backup of ${fs} failed" >> /tmp/logs/summary
fi
if mount ${fs}
then
echo "${fs} mounted successfully" >>/tmp/logs/summary
else
echo "${fs} mount failed" >>/tmp/logs/summary
fi
done
echo "Full Backup of all DB file systems Complete" >> /tmp/logs/summary
Also the dailybkupfs file has the following contents->
/u01
/u02
/u03
/u04
/u05
/u06
Now to include /u07 partition for backup, I just need to include the /u07 partition in file dailybkupfs.right?
Thanks
Anmol

I am concerned that the config file resides in /tmp.
That filesystem normally gets cleared if the box reboots.
So as far as I can tell, if your box is rebooted, the backups stop working..

Similar Messages

  • How to create another partition on mac and restore from time machine

    I want to create another partition on my macbook running on OS X Yosemite. I want to recover a time machine back up on this partition. Basically this is a backup of my other old PC which I saved on a time machine external hard disk and now I want to create it as a new separate partition which I can log into to as opposed to continuous to connected to it via USB.
    Any advise on how I can do that?

    Hi Patrick,
    Thanks for the that great tip.
    In that time machine back up I have some applications for e.g. MS office etc and I wanted it to be like a virtual machine as such that I launch when I want to use the applications, see my data etc....I have bought parallels as that allows you to have multiple virtual machines on your laptop whether these are multiple mac images as time machine backups or linux, Microsoft Windows 7, 8 etc....
    Thats what I eventually want to do here...
    This feature that you provided is also of good reference for me in future.

  • How to manually run a Yearly Tape backup of a Volume in DPM?

    I can run a manual tape backup by right clicking on the volume and choosing Long term backup, but it only runs the monthly tape backup job.
    How can I manually run a Yearly Tape backup job?
    I am using DPM 2010.
    There must be a way to create a job that uses Yearly backup settings.  
    Or an alternative is to change the expiry date of the Backup if that is possible.
    Thanks,

    Although you cannot pick the recovery point date in the past to make a new recovery point from, you can run the DPM Power shell script in this
    post to select a recovery goal to make a current backup for.  The recovery point date would be that of the latest disk based recovery point for any goal selected.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • How to include another msi with LV application builder?

    I can use LV application builder to create an installer for my application. But my application relies on a 3rd part msi, which should be run after my application is installed.  So how to include this msi with LV app builder? Thanks in advance.

    I would recommend executing a batch file that launches your other installers after your LabVIEW executable finishes installing. The process of doing this (in addition to other suggestions about including 3rd party installers) can be found in the Knowledgebase linked here.
    Kind Regards,
    E. Sulzer
    Applications Engineer
    National Instruments

  • How to "include" another page or servlet in a standard servlet

    How can I achieve a "include" in a servlet?
    From what I see... the include() method is on the PageContext class, which is in org.apache.somewhere... right??
    Or am I missing something?
    thanks

    How can I achieve a "include" in a servlet?
    From what I see... the include() method is on the
    PageContext class, which is in org.apache.somewhere...
    right??
    Or am I missing something?
    thankshttp://java.sun.com/webservices/docs/1.0/api/javax/servlet/RequestDispatcher.html#include(javax.servlet.ServletRequest,%20javax.servlet.ServletResponse)

  • How to include another .jar package in an applet jar package

    Hi, I'm using Eclipse to write an applet which needs some other .jar packages to support it. I add them as external jar package in project properties. In eclipse, everything works fine when I compile and run. But I when export the applet to .jar and try to run in browser, it doesnt work.
    I think probably because I didnt export the packages that the applet requires to run. However I cant find a way to export these packages together with the applet to a final .jar file.
    Anyone knows how to solve this ? plz help. thx you in advance

    Hi, I'm using Eclipse to write an applet which needs
    some other .jar packages to support it. I add them as
    external jar package in project properties. In
    eclipse, everything works fine when I compile and
    run. But I when export the applet to .jar and try to
    run in browser, it doesn't work.
    I think probably because I didn't export the packages
    that the applet requires to run. However I cant find
    a way to export these packages together with the
    applet to a final .jar file.
    Anyone knows how to solve this ? plz help. thx you in
    advanceHi all,
    I have been having the same problems too but came to realize that it is quite difficult getting your applet to work in most cases when using external jars. I found out thet you will have to create the directory hierarchy with the necessary imported classes used by your applet. and then create a new jar file that you will use in the codebase tag.
    For example:
    /* Java code snippet */
    import org.apache.XmlRpcClient;
    public MyApplet extends JApplet {
    //..... Rest of your code ......
    }/* End of snippet */
    You would then have to create a the directory structure:
    org
    _apache
    ___xmlrpc
    Then place all the required classes imported from within (Sometimes it is easier to just add all the classes to save time but lose space i.e. larger jar files).
    Execute the jar command (please adjust as needed to your requirements):
    jar cvf any_name.jar *.class org/
    After signing the applet it may solve your problem. Since I'm working with XmlRpc I still have a lot of problems. If anyone has any advice or tips, please share.
    Thank you

  • Cloning DB on a different server from RMAN Tape backup

    RDBMS version           : 11.2.0.2 on Solaris 10
    Media Management Layer : Netbackup v7
    I have done only backups to Tape. I have never done restore,recovery from Tape.
    We have a production DB named NEHPROD running on server qualmh214. Every Monday morning an RMAN Full backup for NEHPROD is taken to Tape.
    Production server : qualmh214        DB Name:NEHPROD
    run
    ALLOCATE CHANNEL c1 TYPE 'SBT_TAPE';
    SEND 'NB_ORA_CLIENT=qualmh214,NB_ORA_POLICY=qualmh214_rman,NB_ORA_SERV=qualmh238,NB_ORA_SCHED=Daily';
    backup database   FORMAT 'NEHPROD_%d_%U_%t.rbk' tag='NEHPROD_full';
    }I need to create a Test DB in a different server (qualmh199) by restoring directly from NEHPROD's Full backup in tape .
    From qualmh199, how can I connect to the Tape Media server ?
    Even If I do connect to the Tape media server, how can i get access to tape backups of another DB? In the RMAN run block you can't specify a DB name. Right?
    Even if I get access to another DB's backup , How can i specify which Date's Full backup I need to use to restore ?

    From qualmh199, how can I connect to the Tape Media server ?You have to allocate channels to tape & need to mention NB parameters as example below.
    in RMAN script
    ALLOCATE CHANNEL CH1 DEVICE TYPE SBT_TAPE PARMS 'SBT_LIBRARY=/usr/openv/netbackup/bin/libobk.so64';
    SEND 'NB_ORA_SERV=<server.com>, NB_ORA_CLIENT=<target.server>';
    Even If I do connect to the Tape media server, how can i get access to tape backups of another DB? In the RMAN run block you can't specify a DB name. Right?If the libraries are installed and you able to perform, you can go for either duplicate database or simple RMAN restore. You can mention other DB names also
    Ex: duplicate target database to 'test';
    Even if I get access to another DB's backup , How can i specify which Date's Full backup I need to use to restore ?You can mention TAG's if you are using RMAN restore.

  • How to include a main window in sapscript

    hi all ,
        i just create a sapscript , and i found on sap online help that i could include main window up to 99 times ,  but i don't know how to include another main window.
    regards

    Hi Kevin,
    first Goto T-code SE71 create one test script in that design the layout in the normal method once your design is complete than there one option called EDIT
    in that EDIT-> window>creat-> vraible
                                                          main
    select the option main window placed this window according to u r requriment it will displayed as per logic.
    one imporatant point whn u place scond main window it take diffrent higt but it will not take differnt width so u can place scond main wiindow with differnt hight but not not in width.
    reward is usefull.
    thanks.

  • How to backup database using RMAN on another server's tape?

    Dear All,
    Please give me an advise what parameters I should set up in RMAN to backup database on another server's tape.
    Best wishies,
    Givi

    I am connected to the database server from the server
    where I have tape, but Rman is searching tape on
    database server.I am not sure I understabd the above statement, but at the Operating System Level, you must ensure that from the Server you are running RMAN, it is configured to see the Tape Drive of the other Server. Once the Remote Tape is mounted with any name (say sbt) on the Local Server (however it is done with), then RMAN can configure the channels to use it.
    If you cannot get this access at the Operating System Level, then do not bother trying RMAN to access it.

  • How much should I partition for Time Machine/Backup?

    Hi all,
    I upgraded my PB G4 HD to a 160GB recently and have just purchased a 1TB External HD. How much should I partition in the external to be used for Time Machine backup purposes of my internal HD? Will the same size suffice, or should I allocate more?
    Also, I was thinking of formatting the drive so that it's both Windows and OS X friendly, but that means formatting it to MS-DOS something (I was just reading about it in another thread), will that cause any issues for the partition for Time Machine that I created? Thanks.

    Also, I was thinking of formatting the drive so that it's both Windows and OS X friendly, but that means formatting it to MS-DOS something (I was just reading about it in another thread), will that cause any issues for the partition for Time Machine that I created? Thanks.
    That's not practical. If you want to use the hard drive on a Windows machin while still being useful for Time Machine you should use MacDrive.
    I upgraded my PB G4 HD to a 160GB recently and have just purchased a 1TB External HD. How much should I partition in the external to be used for Time Machine backup purposes of my internal HD? Will the same size suffice, or should I allocate more?
    I would make the partition at least twice the size of the internal drive. Preferably, you would want 50 GB for a Leopard install that includes just the base operating system so you can boot off the 50 GB to recover your Time Machine data if your Leopard installer disc ever becomes unusable.
    Also since you have a Powerbook, your 1 TB hard drive should be Firewire. USB will not boot Powerbooks. If it is USB only, you can remove the external hard drive case and replace it with one compatible with the drive inside that case from http://www.macsales.com/ that has Firewire.

  • Two hard drives connected to Airport Extreme. How to include one of them in TimeMachine Backup and use other disc as Time Machine backup disc?

    Hi,
    the title says it all. I've got an airport extreme and two hard drives connected to it. My idea was to use one as my additional storage (say DISC STORAGE) and the other one as my backup drive (say DISC BACKUP). I would like to backup my mac AND DISC STORAGE together to DISC BACKUP using time machine. My mac has 256 GB HDD, DISC STORAGE is 1 TB big, DISC BACKUP 2 TB. So there are no space issues.
    Problem: DISC STORAGE is not included in Time Machine's backup to DISC BACKUP. At the moment, only the mac is backed up to DISC BACKUP.
    Does anybody know if and how I can include DISC STORAGE in the backup process?
    By the way, DISC STORAGE is not listed in the "exclude from backup" list in Time Machine.
    Thanks!
    Arne

    Unforrtunately, Time Machine cannot backup from a network drive to another drive. Time Machine will only backup a Mac and a drive that is directly attached to the Mac, via USB or FireWire.
    You will need to use an application like Carbon Copy Cloner or SupoerDuper to be able to backup from DISC BACKUP to DISC STORAGE.

  • REFInd: how to boot an image on another partition [solved]

    How can I direct a rEFInd menuentry to boot image files that reside on another partition?
    Example:
    sda
    |--sda1 vfat (efi partition)
    |--sda2 ext4 (boot)
    |--sda3 btrfs (root)
    I don't want to copy my kernel images to my efi partition (sda1).  I want them to stay on my "old" /boot partition (sda2).  How can I modify the following refind.conf entry to reflect this?
    menuentry "Arch Custom" {
    icon EFI/refind/icons/os_arch.icns
    ostype Linux
    loader /vmlinuz-linux-custom
    initrd /initramfs-linux-custom.img
    options "root=/dev/sda3 rootfstype=btrfs rw systemd.unit=graphical.target"
    I know this is possible because the autodetection option in rEFInd does it automatically   Thanks!
    Last edited by graysky (2013-10-27 23:23:10)

    My /EFI/refind/refind.conf
    timeout 3
    textonly
    textmode 1024
    resolution 1366 768
    showtools mok_tool,about,reboot,shutdown,exit,firmware
    scan_driver_dirs EFI/tools/drivers_x64
    scanfor manual,internal,external,optical
    scan_delay 0
    # also_scan_dirs UEFISYS:EFI/arch/core,UEFISYS:EFI/arch/mainline
    dont_scan_dirs UEFISYS:EFI/boot
    scan_all_linux_kernels
    default_selection "Arch Linux Core Kernel"
    #include manual.conf
    menuentry "Arch Linux Core Kernel" {
    icon /EFI/refind/icons/os_arch.icns
    volume UEFISYS
    loader /EFI/arch/core/vmlinuz-arch-core.efi
    initrd /EFI/arch/core/initramfs-arch-core.img
    options "root=PARTUUID=6f44c56d-d5c2-41ca-8c54-873d8dc5e5e3 rootfstype=ext4 rw loglevel=6 printk.time=y pcie_aspm=force i915.i915_enable_rc6=1 nouveau.nofbaccel=1 add_efi_memmap systemd.unit=graphical.target"
    ostype Linux
    graphics off
    menuentry "Arch Linux Core Kernel Fallback" {
    icon /EFI/refind/icons/os_arch.icns
    volume UEFISYS
    loader /EFI/arch/core/vmlinuz-arch-core.efi
    initrd /EFI/arch/core/initramfs-arch-core-fallback.img
    options "root=PARTUUID=6f44c56d-d5c2-41ca-8c54-873d8dc5e5e3 rootfstype=ext4 rw loglevel=6 printk.time=y pcie_aspm=force i915.i915_enable_rc6=1 nouveau.nofbaccel=1 add_efi_memmap systemd.unit=graphical.target"
    ostype Linux
    graphics off
    menuentry "Arch Linux Mainline Kernel" {
    icon /EFI/refind/icons/os_arch.icns
    volume UEFISYS
    loader /EFI/arch/mainline/vmlinuz-arch-mainline.efi
    initrd /EFI/arch/mainline/initramfs-arch-mainline.img
    options "root=PARTUUID=6f44c56d-d5c2-41ca-8c54-873d8dc5e5e3 rootfstype=ext4 rw loglevel=6 printk.time=y pcie_aspm=force i915.i915_enable_rc6=1 nouveau.nofbaccel=1 add_efi_memmap systemd.unit=graphical.target"
    ostype Linux
    graphics off
    menuentry "Arch Linux Mainline Kernel Fallback" {
    icon /EFI/refind/icons/os_arch.icns
    volume UEFISYS
    loader /EFI/arch/mainline/vmlinuz-arch-mainline.efi
    initrd /EFI/arch/mainline/initramfs-arch-mainline-fallback.img
    options "root=PARTUUID=6f44c56d-d5c2-41ca-8c54-873d8dc5e5e3 rootfstype=ext4 rw loglevel=6 printk.time=y pcie_aspm=force i915.i915_enable_rc6=1 nouveau.nofbaccel=1 add_efi_memmap systemd.unit=graphical.target"
    ostype Linux
    graphics off
    menuentry "Arch Linux x86_64 Archboot" {
    icon /EFI/refind/icons/os_arch.icns
    volume UEFISYS
    loader /EFI/arch/archboot/vmlinuz-archboot.efi
    initrd /EFI/arch/archboot/initramfs-archboot.img
    options "rw loglevel=7 efi_no_storage_paranoia add_efi_memmap"
    ostype Linux
    graphics off
    menuentry "UEFI Shell x86_64 v2" {
    icon /EFI/refind/icons/os_hwtest.icns
    volume UEFISYS
    loader /EFI/tools/shellx64_v2.efi
    graphics off
    menuentry "UEFI Shell x86_64 v1" {
    icon /EFI/refind/icons/os_hwtest.icns
    volume UEFISYS
    loader /EFI/tools/shellx64_v1.efi
    graphics off
    My /boot/refind_linux.conf
    "Boot into Graphics mode" "root=PARTUUID=6f44c56d-d5c2-41ca-8c54-873d8dc5e5e3 rootfstype=ext4 rw loglevel=6 printk.time=y pcie_aspm=force i915.i915_enable_rc6=1 nouveau.nofbaccel=1 add_efi_memmap systemd.unit=graphical.target initrd=/initramfs-linux-fallback.img initrd=/initramfs-linux-mainline-fallback.img"
    "Boot into Terminal mode" "root=PARTUUID=6f44c56d-d5c2-41ca-8c54-873d8dc5e5e3 rootfstype=ext4 rw loglevel=6 printk.time=y pcie_aspm=force i915.i915_enable_rc6=1 nouveau.nofbaccel=1 add_efi_memmap systemd.unit=multi-user.target initrd=/initramfs-linux-fallback.img initrd=/initramfs-linux-mainline-fallback.img"
    "Boot into Rescue mode" "root=PARTUUID=6f44c56d-d5c2-41ca-8c54-873d8dc5e5e3 rootfstype=ext4 rw loglevel=6 printk.time=y pcie_aspm=force i915.i915_enable_rc6=1 nouveau.nofbaccel=1 add_efi_memmap systemd.unit=rescue.target initrd=/initramfs-linux-fallback.img initrd=/initramfs-linux-mainline-fallback.img"

  • How can I transfer files from one external HD (WD My Passport) to another external HD (Seagate Backup Plus)?  WD drive was improperly ejected and Finder no longer recognizes it.  Tried fixing with Disk Utility but failed.

    How can I transfer files from one external HD (WD My Passport 2T) to another external HD (Seagate Backup Plus 2T)?  WD drive was improperly ejected (although we did tell it to eject) and now Finder no longer recognizes it.   Using MacBook Pro and I just upgraded to Yosemite before this happened. Was told at Apple Store to use Disk Utility to repartition, but it failed.  It says to backup files and restore.  But how do I backup files?  Or would appreciate any other suggestions to repair drive.

    You may drag & drop between external hds. 
    Should you run into trouble.
    Take the exernal drive appart.  Take out the harddrive.  Try reading the data via a usb adapter. Put a household finan on the hd.
    http://www.cablewholesale.com/products/usb-firewire/usb-2.0-products/product-40u   2-01000.php?utm_source=Nextag&utm_medium=cpc&zmam=54972865&zmas=1&zmac=4&zmap=4 4 77

  • How can I copy a time machine backup from one Time Capsule to another ?

    How can I copy a time machine backup from one Time Capsule to another ? I bought a 1 Tb Time Capsule to replace my 512Mb Time Capsule. Now, I like to copy my time machine backup from the old Time Capsule to the new one so I can keep using my backup.

    from this support article: 
    (click on image to enlarge)

  • How to include one view into another view

    Hi SDN's,
                   Could any please tell me,How to include one view into another view.
    In my requirment.I want to create a 'Z' view for an interface .In that  view i have to take,
    1) Ship-to-email adrr by
                              LIKP-KUNNR -> KNA1-ADRNR
                              KNA1-ADRNR -> ADR6-ADDRESNUMBER.
    2) E-mail addr of person who created the document.i.e
        LIKP-ERNAM -> USR21-BNAME.
        USR21-ADDRESNUMBER ->  ADR6-ADDRESNUMBER 
        USR21-PERSNUMBER -> ADR6-PERSNUMBER.
       In both the case we have to pass ADDRESSNUMBER to ADR6 table.
    If we pass these condition it fails,B'Coz at a time it passes Two ADDRESSNUMBER and a PERSNUMBER.
    So i created two which fetches only the email addr of  person who created the document.and another view fetches Ship-to-email addr.
    Now i want to include the second view into first view . Is it possible?or please
    tell me someother way to get these email addresses in a single view.

    hi
    as per my knowledge, nested views are not possible. However, while creating a new view, selection method will not giv u option to select the already created view(S) except the tables..i think so.
    regards,
    shamim

Maybe you are looking for