Backup database without the data

i have several questions.
i have a typical database with many schema, can the objects, such as view, sequence function, etc, be backup by itself?
secondly, can objects such as table be backup with schema only and no data with it?
third, what is the way to create a minimal backup to backup the existing database, the control files, index defination, pfiles, oracle binary, and etc, with no data in the table of the backup.
yes. i basically like to backup and recreate the objects inside of the schema without any data in the table, because the table has way more data than a tape to handle and i can't get new disk this year.
thanks.
Edited by: user1035690 on May 14, 2010 6:32 PM

To create a non-data backup of your schemas, you will need to utilize exp or expdp. Check expdp or exp.
Sounds like you want a text backup of the controlfile, therefore you can issue the following:
SQL> alter database backup controlfile to trace;And to create a backup of a pfile, you can simply copy the file.

Similar Messages

  • Is it possible to perform network data encryption between Oracle 11g databases without the advance security option?

    Is it possible to perform network data encryption between Oracle 11g databases without the advance security option?
    We are not licensed for the Oracle Advanced Security Option and I have been tasked to use Oracle Network Data Encryption in order to encryption network traffic between Oracle instances that reside on remote servers. From what I have read and my prior understanding this is not possible without ASO. Can someone confirm or disprove my research, thanks.

    Hi, Srini Chavali-Oracle
    As for http://www.oracle.com/technetwork/database/options/advanced-security/advanced-security-ds-12c-1898873.pdf?ssSourceSiteId… ASO is mentioned as TDE and Redacting Sensitive Data to Display. Network encryption is excluded.
    As for Network Encryption - Oracle FAQ (of course this is not Oracle official) "Since June 2013, Net Encryption is now licensed with Oracle Enterprise Edition and doesn't require Oracle Advanced Security Option." Could you clarify this? Thanks.

  • How to do backup database in the menu of Oracle XE

    Dear all,
    When I do database backup selecting from the Oracle XE menu, it output the error as below :
    sql statement: create pfile=''C:\ORACLEXE\APP\ORACLE\PRODUCT\10.2.0\SERVER\DATABASE\SPFILE2INIT.ORA'' from spfile
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of sql command on default channel at 08/31/2006 17:14:14
    RMAN-20000: abnormal termination of job step
    RMAN-11003: failure during parse/execution of SQL statement: create pfile='C:\ORACLEXE\APP\ORACLE\PRODUCT\10.2.0\SERVER\DATABASE\SPFILE2INIT.ORA' from spfile
    RMAN-11001: Oracle Error:
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Best regards,
    Simon Wong

    Don't duplicate thread:
    Cannot do backup database in the startup menu!!
    It's also easier to help you if we have all information and
    errors regarding this issue on one place.
    Thanks!

  • Export PDF converts filled PDF form without the data - Turns filled PDF form onto blank Word doc. Is there a solution to this or did Adobe just sell me a service that doesn't work?

    Export PDF converts filled PDF form without the data - Turns filled PDF form onto blank Word doc. Is there a solution to this or did Adobe just sell me a service that doesn't work?

    ExportPDF is not for forms. In general, converting forms to Word is a really, really bad idea which can even cause legal problems. Work with the form as a PDF. Acrobat (not Reader) can export form data as simple text for example.

  • Keep my Curve 8330 without the data?

    I've had the Curve 8330 for two years.  I just upgraded my teenager from a basic phone to a smartphone and "gave" him my data plan because I just didn't use it enough.
    The problem is this.  I really like the Curve for texting and talking.  Is there any way I can keep it and just use it that way without the data plan?  I have fulfilled my contract.  Why should I have to give up the phone if I want to keep it just without the data plan?
    Is it possible to keep my old phone?  I don't really like his.

    If you activate a smartphone, you must have a data plan on that line.  There is simply no way around it unless the smartphone was made before November 2008.

  • Can I retrieve contact info from a database without the BlackBerry

    Here's my story---a couple of weeks ago, I dropped my Pearl 8130 into a big cup of water. After it miraculously came back to life, I decided it was high time to BACKUP my contact info... so I used desktop manager version 4.3.0.17 to do so... I only clicked on 'Addresses' which I assumed meant contacts. I kid you not---the VERY NEXT DAY, my poor BlackBerry went into the pool with me. Now, despite the fact that I just mentioned having gone swimming, I actually do not lead a lavish lifestyle... I live in the desert, and I needed to get my poor, overheated toddler into the pool asap. I do have cell phone insurance, but I don't have the $50 deductible to get a new BlackBerry. I am using a used Casio G'zOne Boulder right now. I had SO much contact info though, that I need. So, here is my question. Is there a way to convert the database (IPD File) info I saved into a word document, or some other readable form so I can obtain all my contacts?
    Thank you in advance,
    Crystal 
    Solved!
    Go to Solution.

    Crystal, Greetings, and welcome to the BlackBerry.com Support Forums.
    Yes, google search for ABC Amber IPD Converter, and use that. It's not free, but the the trial software will handle limited number of records.
    If you end up getting a new BlackBerry, you can restore that backup IPD file to your new device.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Daily backup file with the date in the filename

    Hello,
    I like to backup the same file every day of the week. And add the date in the copied filename (for example "meta09-O4-04.rtf") to automate and schedule I can use cronnix. But adding the date in the filename doesn't work for me.
    As you can see in the script the backup file must be copied in a directory (for example "vis")that is in the same directory as the main file.
    Can some one help me on this?
    backupFileToFolder("Macintosh HD:Users:gast:Documents:meta.rtf", "Macintosh HD:Users:gast:Documents:vis:")
    on backupFileToFolder(startFile, targetFolder)
    set startFile to startFile as alias
    set targetFolder to targetFolder as alias
    tell application "Finder"
    duplicate ("Macintosh HD:Users:gast:Documents:meta.rtf") to ("Macintosh HD:Users:gast:Documents:vis:")
    end tell
    end backupFileToFolder

    But adding the date in the filename doesn't work for me.
    Might help if you showed how you were trying to add the date.
    That said, it shouldn't be hard to do. There are several ways of getting the date in the format you want, either via AppleScript or a simple shell command:
    AppleScript:
    set curDate to (get current date)
    set dateStr to getYear(curDate) & "-" & getDay(curDate) & "-" & getMonth(curDate)
    on getMonth(theDate)
    set cM to month of theDate as integer
    return text -2 through -1 of ("0" & cM)
    end getMonth
    on getDay(theDate)
    set cD to day of theDate as text
    return text -2 through -1 of ("0" & cD)
    end getDay
    on getYear(theDate)
    set cY to year of theDate as text
    return text -2 through -1 of cY
    end getYear
    Note this is a little more verbose than it needs to be, but it has the flexibility of formatting each date element (year, month, day) as you like.
    If you want a shell version:
    set dateStr to do shell script "date +%y-%d-%m"
    Now you have the dateStr with the date you want, so it's easy to rename the file.
    Just replace your duplicate command with the following:
    set backupFile to duplicate startFile to folder targetFolder
    set n to name of backupFile -- get the current file name
    set nE to name extension of backupFile -- get its filename extension
    set baseName to text 1 through (-1 + (length of nE)) of n -- work out the name without the extension
    set newName to baseName & dateStr & "." & nE -- work out the new name using the dateStr
    set name of backupFile to newName -- and rename the file

  • Do I have to install SharePoint Foundation 2013 via a script in order to name my content databases without the GUID references?

    Hi,
    I want to install SharePoint Foundation 2013 on a standalone server with SQL Express but I want to be able to name the content databases without their GUID references. Will I have to use an install script (AutoSPInstaller perhaps?) to achieve this?
    Thanks.

    You can't do a standalone install if you want the alias (also if you plan to move the databases in the future)
    You'll need to create the alias before you create the farm with the Configuration wizard or PowerShell so you can specify the alias. Whether you create the alias before or after installing SQL Express doesn't matter as long as it points to the instance.
    Jason Warren
    @jaspnwarren
    jasonwarren.ca
    habaneroconsulting.com/Insights

  • Upgrade OM 2012 to SP1 Beta - Version of SQL Server for the Operational Database and the Data Warehouse

    Hello,
    When I try to verify the prerequisites to upgrade my SCOM 2012 UR2 Platform to SP1 Beta, I have these errors :
    The installed version of SQL Server is not supported for the operational database.
    The installed version of SQL Server is not supported for the data warehouse.
    But when I execute this query Select @@version on my MSSQL Instance, the result is :
    Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64)   Jun 17 2011 00:54:03   Copyright (c) Microsoft Corporation  Standard Edition (64-bit) on Windows NT 6.1 <X64> (Build 7600: ) (Hypervisor) 
    But
    here, we can see that :
    Microsoft SQL Server: SQL Server SQL 2008 R2 SP1, SQL Server 2008 R2 SP2, SQL Server 2012, SQL Server 2012 SP1, are supported.
    Do I need to pach my MSSQL Server with a specific cumulative update package ?
    Thanks.

    These are the requirements for your SQL:
    SQL Server 2008 and SQL Server 2012 are available in both Standard and Enterprise editions. Operations Manager will function with both editions.
    Operations Manager does not support hosting its databases or SQL Server Reporting Services on a 32-bit edition of SQL Server.
    Using a different version of SQL Server for different Operations Manager features is not supported. The same version should be used for all features.
    SQL Server collation settings for all databases must be one of the following: SQL_Latin1_General_CP1_CI_AS, French_CI_AS, Cyrillic_General_CI_AS, Chinese_PRC_CI_AS, Japanese_CI_AS, Traditional_Spanish_CI_AS, or Latin1_General_CI_AS.  No other collation
    settings are supported.
    The SQL Server Agent service must be started, and the startup type must be set to automatic.
    Side-by-side installation of System Center Operations Manager 2007 R2 reporting and System Center 2012 Service Pack 1 (SP1), Operations Manager reporting on the same server is not supported.
    The db_owner role for the operational database must be a domain account. If you set the SQL Server Authentication to Mixed mode, and then try to add a local SQL Server login on the operational database, the Data Access service will not be able to start.
    For information about how to resolve the issue, see
    System Center Data Access Service Start Up Failure Due to SQL Configuration Change
    If you plan to use the Network Monitoring features of System Center 2012 – Operations Manager, you should move the tempdb database to a separate disk that has multiple spindles. For more information, see
    tempdb Database.
    http://technet.microsoft.com/en-us/library/jj656654.aspx#BKMK_RBF_OperationsDatabase
    Check the SQL server agent service and see whether it is set to automatic AND started. This got me confused at my first SP1 install as well. This is not done by default...
    It's doing common things uncommonly well that brings succes.

  • Cannot do backup database in the startup menu!!

    Dear all,
    Please help to tell me what's wrong - I cannot do the backup database option in
    the Oracle software menu, the error is :
    Unkown log mode : SP2-0640
    Log file is at SP2-0640
    Can anyone tell me?
    Rgds/Simon Wong

    Unkown log mode : SP2-0640
    Log file is at SP2-0640Hi Simon,
    I tryed to investigate this case and here is a result:
    If Windows user which trying to start backup is not member of the ORA_DBA user group, I'm getting on XP-box your error (above). After putting user in ORA_DBA group backup worked properly.
    Cheers!

  • Time Machine doesn't show any backups even though the data is being backed up

    Time Machine is set to backup my Mac regularly and it seems to be doing so since the backups are being written to my backup disk.
    However, when I enter Time Machine, none of the backups in the past show up on the Time Machine screen.
    Is there a way to have Time Machine recognize the data it has backed up?

    I restarted my Mac and all's well.   Odd.

  • Activating phone requiring Data plan, without the data plan?

    Anyone know of a store activating a phone requiring a data plan without purchasing the data plan? If so, which store? This is where I will purchase the phone I want if I stay with Verizon.
    Thanks.

    mkjudge wrote:
    what is the issue - why won't Verizon allow an iphone or any other smart phone to be activiated without a dataplan?
    What is the purpose other than money?  Is there a legit reason?
    I have an old 3g Iphone I would like to activate for my child and allow him to use data on wifi only, but.....
    Their network and their right to charge what they want and what policies they want.  If people don't like the terms it's best to look elsewhere.  Currently there is no carrier in the world that doesn't require a data plan for a smartphone.  T-Mobile US is one that only if you bought the device outright you don't need one, BUT it's dependent on the plan you get.
    Also the iPhone 3G will not work on Verizon.  Difference in technology...

  • How do I duplicate a spreadsheet keeping all the layout and formulae but without the data?

    I have a good spreadsheet set up. I wish to start a new set of 'books' using the same layout and formula set up but with no data. Other than duplicating the spread sheet and manually deleting the data while preserving the formulae how can I do this?

    Hi Frasercat,
    You could have a table where you input values, and another table with formulae that refer to the input table. Save the original document, then duplicate. Delete the values in the input table. You could Save As Template for future use.
    Regards,
    Ian.

  • Is it possible to create a copy of entire database, not the data, but just database structure?

    Greetings community,
    This question is related to EXPRESS edition.
    Let’s say that I have MyDatabase2014 and I’ve been populating it with some data during the year 2014. Before the end of the year, I want to prepare another database named MyDatabase2015, which should be empty, but of course it should have
    all tables, relations, indexes and stored procedures just like MyDatabase2014. The idea is just to change a connection string and to continue using the same app for the same job.
    So in SSMS, I right-clicked the database, choose script database as / create to / new query, but I didn’t get what I wanted. In query window I’ve got just create database statement, and below that few dozen of alter database set ansi this
    or that statements, and set many other things. However, no table creation was scripted. Also, no stored procedures have been created, and about users, and other security objects better not to start to talk about.
    I could have achieved that simply by right-clicking databases node and select new database. So what’s the point of “script database as”?
    Does this work in SQL server editions other than EXPRESS?
    When it comes to express edition, what’s the best practice to get the empty copy of a database?
    Thanks for any help.

    For scripting out the users and their permissions you can use this script
    -- Capture permissions for all users in a DB
    SET NOCOUNT ON
    DECLARE @Database varchar(max)
    SET @Database = '<Db_Name>'-- set the database name here
    IF EXISTS (SELECT * FROM SYS.SYSDATABASES WHERE name = @Database)
    EXEC('USE ' + @Database + ';
    DECLARE @temp table(Extract Varchar(MAX))
    INSERT INTO @temp (Extract)
    SELECT ''EXEC( ''''USE ' + @Database + '; IF NOT EXISTS (SELECT * FROM sys.schemas WHERE name = N'''''''''' + name + '''''''''')IF EXISTS (SELECT *
    FROM sys.database_principals WHERE name = N'''''''''' + name + '''''''''') DROP USER ['' + name + '']''''); ''
    FROM sys.sysusers WHERE islogin = 1 AND hasdbaccess = 1 AND name NOT IN (''dbo'')
    INSERT INTO @temp (Extract)
    SELECT ''EXEC( ''''USE ' + @Database + '; IF NOT EXISTS
    (SELECT * FROM sys.database_principals WHERE name = N'''''''''' + dp.name + '''''''''')
    CREATE USER ['' + dp.name + ''] FOR LOGIN ['' + sp.name + '']''''); ''
    FROM sys.server_principals sp
    JOIN sys.database_principals dp ON (sp.sid = dp.sid)
    AND dp.name NOT IN (''dbo'')
    INSERT INTO @temp (Extract)
    SELECT ''EXEC( ''''USE ' + @Database + '; IF NOT EXISTS
    (SELECT * FROM sys.database_principals WHERE name = N'''''''''' + dp.name + '''''''''')
    CREATE USER ['' + dp.name + ''] WITHOUT LOGIN ''''); ''
    FROM sys.database_principals dp left
    JOIN sys.server_principals sp ON (sp.sid = dp.sid)
    where dp.principal_id between 5 and 16383
    INSERT INTO @temp (Extract)
    SELECT ''EXEC( ''''USE ' + @Database + '; EXEC sp_addrolemember '''''''''' + User_Name([groupuid]) + '''''''''', '''''''''' + User_Name([memberuid]) +
    FROM sys.sysmembers WHERE User_Name([memberuid]) NOT IN (''dbo'')
    INSERT INTO @temp (Extract)
    SELECT ''EXEC( ''''USE ' + @Database + '; ''
    + CASE [a].[state_desc] WHEN ''GRANT_WITH_GRANT_OPTION'' THEN ''GRANT '' ELSE [a].[state_desc] END
    + '' ''
    + [a].[permission_name] + CASE class WHEN 1 THEN '' ON [''
    + [c].[name]
    + ''].[''
    + Object_Name([a].[major_id]) + ''] '' ELSE '''' END + '' TO [''
    + User_Name([a].[grantee_principal_id])
    + ''] '' + CASE [a].[state_desc] WHEN ''GRANT_WITH_GRANT_OPTION'' THEN '' WITH GRANT OPTION'' ELSE '''' END
    + ''''''); '' COLLATE Latin1_General_CI_AS AS [SQL]
    FROM sys.database_permissions a
    inner join [sys].[all_objects] b
    ON [a].[major_id] = [b].[object_id]
    inner join [sys].[schemas] c
    ON [b].[schema_id] = [c].[schema_id]
    INSERT INTO @temp (Extract)
    SELECT ''EXEC( ''''USE ' + @Database + '; ''
    + [a].[state_desc]
    + '' ''
    + [a].[permission_name]
    + '' TO [''
    + USER_NAME([a].[grantee_principal_id])
    + ''] '''');''
    from sys.database_permissions a
    where a.class=0
    INSERT INTO @temp (Extract)
    SELECT ''EXEC( ''''USE ' + @Database + '; ''
    + [a].[state_desc]
    + '' ''
    + [a].[permission_name]
    + '' ON SCHEMA ::''
    + '' [''
    + SCHEMA_NAME([a].[major_id]) +
    + ''] TO [''
    + USER_NAME([a].[grantee_principal_id])
    + ''] '''');''
    from sys.database_permissions a
    where a.class=3
    SELECT Extract AS [Extract] FROM @temp
    GO
    ELSE
    SELECT '--NO'
    GO
     

  • Query to view the support group of a generated ticket in the Database, not the Data Warehouse

    Hi,
    I need a query to view the support group of a generated ticket, but the query must be useful in the only Database (I don't know what happened in the DW, could be a issue).
    Please help me,
    Greetings! 

    it's "possible", in the same way that low temperature fusion and space elevators are "possible". There's nothing conclusively ruling it out, but not something you want to attempt on your own under a time constraint. 
    The "Active" ServiceManager database is a 5th or 6th normal form dynamic software defined snowflake schema representitive object database. Updating the database directly is strictly unsupported, and
    Travis has discouraged people from even trying to read from it. a college of mine does service manager and operations manager databases at a 400+ level full time, and after 2+ years of doing it, he
    almost understands the operational database. it's WELL beyond me, and I do Service Manager basically full time. 
    That being said, if you are brave and only looking for some basic data, you might be able to tease some things out with the SQL management studio and a good grasp of SQL syntax.
     for a production environment, you're much better off fixing the DW. 

Maybe you are looking for

  • Siebel 8117 and BIP Multilingual reports not working.....

    Hello, We went live with Siebel 8113 and BIP. We have Siebel Reports configured in 4 languages and the choosing the language and locale on report generation pick applet worked fine with correct translated report coming out. We have upgraded Siebel to

  • How do I install CS5 Design Standard on my Macbook Pro when I have disc and the laptop has no disc drive?

    I bought Design Standard CS% a while back for my iMac and my iMac has a disk drive. I got a new Macbook Pro and there is no disc drive. there are also no longer trial links to download the software and then enter my serial numbers. How can I install

  • How to link to multiple pages - help

    My home page has a link to my photo album/photo gallery page. This photo page is filling up, and I will need to add page 2. How do I do this and create the link? I have seen on some of the iWeb pages listed in this dicussion a "page 1/2" and "page 2/

  • 3.0 Update not working

    I recently updated my iPod touch 2nd generation with the 3.0 update and it didn't work even after I restored my iPod. Does anyone know what's going on and how I can fix this? I don't want to waste $10.45 for nothing.

  • Please help this is really annoying..

    Two itunes, two PC's, one Ipod. how can i transfer songs on my ipod from a different pc to a new pc with a different itunes.