Move all DB files to a folder

Nice day

Our Organization is a non-critical Oracle database.

I want to make a backup copy of every night of it.

I'll stop the oracle OracleService < sid > service, copy all the files that make up the database, and then restart the service.

My first question is: is this a viable procedure?


My second question:

I know that the files that make up a database include:

-control files

-file server settings

-data files

-restore the log files

-temporary file

-password file

In our database, these files are in different folders.

For simplicity, I would all move to a single folder.

How can I do? Maybe there's a script for this?


Concerning

Kamil

Hello

Assuming that on the same server and the new location - high level steps are;

1) STOP NORMAL you database

(2) move all files including controlfile, pfile, data files, redo logs to the new location.

(3) start the database - STARTUP NOMOUNT;

3.1) see the setting parameters

(4) setting controlfile update to point to the NEW LOCATION

(5) ALTER DATABASE MOUNT;

(6) check all locations;

SQL > select log_mode from v database $;

SQL > select name from v$ datafile;

SQL > select Member from v$ logfile;

SQL > select name from v$ tempfile;

SQL > select name from v$ controlfile;

(7) ALTER DATABASE RENAME FILE 'old location' TO 'nouvel_emplacement ';  -Repeat all of the above files.

(8) alter database open;

HTH,

Pradeep

Tags: Database

Similar Questions

  • Move all the files to new folder

    Today, I was working on a hearing CS6 project with a designer of siund.  We have a problem getting a mounted disk and ended with copies of the files project and media on 2 discs.  some of the aif files have beed updatred and its tricky to work exactly what tiles, we used.  to open the project, I need both drives and when he playes the disk activity light flashes on both.

    What should I do to copy the project files and media in a unique folder structure, so I can give him his drive back but can't work out how to do this.  How can I do this?

    Ben

    funkytwig wrote:

    What should I do to copy the project files and media in a unique folder structure, so I can give him his drive back but can't work out how to do this.  How can I do this?

    If you open the correct versions of all the files in your session, you can use the file > export > Session and include the ability to save all of the associated files. You can name and set the location. When you open, he must only reference these files.

    That is, assuming that this option was included in CS6 and I think that it was - have to turn on another machine to check if. If this option is not there, then you must do so via the operating system.

  • timing issue with cruzer blade SCDZ50 - 008G: cannot move all the files from the PC to the USB

    I accidentally deleted this file synchronization that was in the main folder of the USB. now I can't move all the files from the computer to the cruzer blade. I can't find where to download it online. Help, please!

    Too bad. found this

  • How can I move all my files from the user from one user to another on my pc?

    original title: moving files

    How can I move all my files from the user from one user to another on my pc?

    Log an administrator account. Open your folder 'user '. Select all the files, copy them, and paste them into the other folder 'user '.

  • How to print all the files in a folder without having to open each one?

    Hello

    Can someone tell me how to print all the files in a folder? I often need to print multiple files in a folder and it would allow me to save a lot of time!

    Thank you!

    I've done some testing, and it seems that Windows 7 allows print several files when they are all the same type of file.  So, for example, you can select and print 15 Word documents, but not a Word document and a single PDF document.

    To work around this limitation, you can print each file type separately.  For example, to print PDF files in a folder:

    1. Type *. PDF in the search for top-right box.
    2. For 1-15 files, press on CTRL + A to select all the.
    3. For 16 or more files, select 15 of them (click on the first, SHIFT + click the last).
    4. Click any file, and then click print .
    5. Repeat steps 3 and 4 as needed.

    Boulder computer Maven
    Most Microsoft Valuable Professional

  • The temporary internet files folder does not show all the files in this folder property while is more than 1 GB. How to delete temporary internet files. ?

    The temporary internet files folder does not show all the files in this folder property while is more than 1 GB. How to delete temporary internet files. ?  Disk space is very low around 1 & half GB. Please someone help resolve this issue. I am looking for the solution, but it did not have a specific.

    Thank you best regards &.

    Atul Zade.

    CCleaner is very useful to get rid of temporary files, you can get it here: http://www.piriform.com/ccleaner you can use it to clean your temporary files, but DO NOT use registry cleaning works, registry cleaning is mainly a useless effort that can cause more harm than good.

    John

  • How can I delete all the files in a folder with a back order?

    How can I delete all the files in a folder with a back order?

    rmdir

    To get options for rmdir, at the command prompt do: rmdir /? MS - MVP - Elephant Boy computers - don't panic!

  • I tried to convert doc to the pds.  He converted all the files in you folder to the pds.  The problem is that I can't open any files without buying adobe.   I can't unconvert so now I can't read all the files?

    I tried to convert doc to the pds.  He converted all the files in you folder to the pds.  The problem is that I can't open any files without buying adobe.   I can't unconvert so now I can't read all the files?

    Hi chrism43238735,

    May I know the process to convert Doc to PDF files. If you use Acrobat to convert the files, and then with the same application you open.

    If you used another process, in this case try using the Adobe Acrobat Reader application. Adobe - Adobe Acrobat Reader DC Distribution

    Thank you

    Abhishek

  • How to import AVCHD if I have all the files in the folder?

    Hello

    I have to cut a few videos. I got an external with drive. MTS files. However, all the files on the folder structure... aren't there!

    Now, when I import them into Adobe, they are glitchy and out of sync.

    -Should I convert?

    -In the affirmative, what codec/format?

    -With what program?

    Thanks a lot for your help.

    Kind regards.

    Robert

    Sounds to me like your files is of variable image files that are not compatible with the first.  Search for "Handbrake".

  • I am new to Muse, so I am following the tutorial for coffee of Katie.  I downloaded the sample files.  The problem is not that all the files in the folder as in the tutorial.  The color swatch for example is not there.  The updated CC on the road Katies.m

    I am new to Muse, so I am following the tutorial for coffee of Katie.  I downloaded the sample files.  The problem is not that all the files in the folder as in the tutorial.  The color swatch for example is not there.  The CC file to get started Katies.mulib is also not if you can't automatically download all the necessary files.  Can anyone help?

    found in another area

    Where can I find updated cc enroute Katies.mulib file?

  • Read all LVM files in a folder and compile

    Hello

    I want to read all the LVM files in a folder as shown in Figure 1. In each file LVM, there is a row of data that are important, like on the picture 2. I want to extract only the rank of value in all the files this particular file LVM.

    Then I want to compile in 1 Excel or text file.

    Furthermore, I also want to name each line values in newly compile it files. The name will be the name of the file extracted it previously, as well as the date and the time it was created.

    I tried to use the loop and the folder list, but to no avail.

    Hope that this will not be a too much trouble. Thank you

    Hi pengxin,.

    What room are you stuck at?

    Below is a diagram of simple block that I created which should do what you need. First of all, we get all the names of individual files, and then one by one, we read the data from the file. Since you only need the data in the first row, we will index in the array, add the name of the file, the date and time of last modification of the file to the front of the data, and then save them in a new file.

    I hope this helps.

    Kind regards

    Boon Chen

  • Get the "Access denied" error when you try to play all video files in another folder on my external hard drive.

    A couple of days, I've had accidentally one of the folders slipped on my hard drive in the folder above him and was presented with the "Access denied" error messages when I tried the two a) reglisser it out & b) open it from the record she had been driven to (which was not a folder of my making that is a jibberish titled folder containing two .vdm files it contains first)

    After receiving advice of a friend, I did a restore from safe mode on the eve of the day when he moved and he did bring him back with all the files and files in the right place, but now I'm getting an access denied for each file, I try to play. Whether Real Player, Windows Media Player etc none will play.

    Just to test, I slipped a .avi file in the folder to see if he was going to play and he did it can be the folder settings, I'm just hoping that all these files are now not corrupted and unplayable as I have some 180 GB of data in this folder in more than 1000 files.

    Any help is very appreciated.
    Kind regards
    Haley

    Hey HRolston,

    What version/service pack of XP are you using?

    What format of your hard drive is formatted to?

    You can check the version/service pack:

    ·         Click Start

    ·         Right click my computer

    ·         Click on Properties

    ·         On the general tab, under System: you will see your information

    For example: Microsoft Windows XP Professional, Version 2002, Service Pack 3

    You can check what is the format of your hard drive is:

    ·         Click Start

    ·         Click on my computer

    ·         Right click on Local disk (c) (or letter that contains your operating system)

    ·         Click on Properties

    ·         On the general tab, next to file system: you will see the format of your hard drive (Fat32 or NTFS)

    Can't wait to hear back on your part.

    Steven
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • Running the batch if we have all the files in the folder

    Hello

    I just got an odd request. My client wants to Batch Processing to run only if they receive all the files in the OpenBatch folder. An example, the SAP interface will drop each period end 50 files in the OpenBatch folder. My client say make sure the autotask is running if the number of files in the folder is 50. They do not want to look in the folder, if all the files are theyre. They don't want anything manual.

    I don't think that it good idea because it could extend the process of end of month, not a feature of the FDM and process Batch reports will tell you if we load the full set of files.

    You have got it.

  • Cannot move all the files as windows explore crashes - it happens every time when you use an external hard drive (several readers have been tested and work on other machines)

    I need to move files on my laptop, but windows crashes Explorer everytime I try this. This also applies when you use an alternative program to explore. It didn't happen last week but regularly spent the last six months. It is now that I need to migrate these files (mainly the images, but also the music and office documents).

    The error in the Event Viewer log States the following: start the application failing application Explorer.EXE, version 6.0.6002.18005, time stamp 0x49e01da5, failed module unknown, version 0.0.0.0, time stamp 0x00000000, exception code 0xc0000005, offset 0x02db07e0, process id 0 x 1650 error, time 0x01ca547fd1de6851.

    Thank you

    Make sure that the device is compatible with Vista, the Vista Compatibility Center: http://www.microsoft.com/windows/compatibility/windows-vista/default.aspx.

    If you need to get pilots to leave the computer dealer or the manufacturer of the device (NOT of Microsoft Updates).  In fact, you must disable automatic updates in Windows Update driver as follows: http://www.addictivetips.com/windows-tips/how-to-disable-automatic-driver-installation-in-windows-vista/. Follow these steps: http://pcsupport.about.com/od/driverssupport/ht/driverdlmfgr.htm.  Once you have the drivers, you can install them via the Manager device as follows: http://www.vistax64.com/tutorials/193584-device-manager-install-driver.html.  You need to find the NAS device and the NICs in particular - but it would not hurt to look at all the when you're there.

    Go to start / Control Panel / Add Hardware and select the first option (recommended) to see if the system can detect the device.  If this does not work, choose the second and provide the information requested on the device.  You will be asked for drivers - have their practice.  Follow the prompts to install the device (NAS).  Make sure that it is plugged in and turned on when you do so, or he not be recognized.  It's the hard way of installing a hardware device, but your system obviously isn't automatically recognize it then do it manually. Here is a brief tutorial on how to do so: http://www.web-articles.info/e/a/title/Windows-Vista :-Running-the-Add-Hardware-Wizard /.

    I hope this helps.  Good luck! Lorien - a - MCSE/MCSA/network + / A +.

  • How can I move all my files with the exception of windows to another drive?

    Hi, I have recently built my new PC. I have a 120 GB SSD and a 1 TB HARD drive. I have already installed windows 7 on my SSD and some programs installed on it. When I installed more programs on my HARD drive, program files, and other files stored on my SSD economy. Now I have files for the same program on two separate discs. I don't want that. I would like to have windows itself on my SSD and keep my user files, program files, and everything else on my HARD drive. If anyone knows how to do this, their help would be greatly appreciated.
    Thank you, Cooper

    Change the default save location,

    http://Windows.Microsoft.com/en-us/Windows7/customize-a-library

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-files/Win7-how-do-i-move-user-folder-to-a-different/565f16a5-e5ed-43C9-8422-4f56aebb296e

    http://www.bbearren.com/

Maybe you are looking for

  • Erratic results, looking for comments

    Sometimes the research says works and sometimes it doesn't. Here are the results of the two searches of "Spades" played separated by less than a minute. Has anyone observed this behavior? Any suggestions on how to remedy this?

  • Click to call only to detect a number encapsulated in hyperlink

    I noticed that Skype to call does not detect any number on browser that encapsulated in the tag. It detects ordinary number, and I can use click to call. but not on numbers that currently into a hyperlink. is this in any way about this? I checked in

  • Satellite A660 - 13p - where can I find the drivers?

    Where can I find a drivers pack for Toshiba Satellite A660 - 13p?I can't find this model in Support.Toshiba.com. Thank you.

  • "All programs" is empty after running Registry Cleaner

    After running registry cleaning software, I lost the ability to see all my programs when I click on "All programs"... property is (empty)... same problem when I click on "Favorites"... resulting (blank)... suggestions?

  • All the songs have disappeared

    I recently got the Sansa Clip about 2 days ago. I loaded songs and everything worked well. Today, I've paused during a song and set it down for a few minutes, it auto - power off (as he always does to save energy). When I came back to resume the song