Which is better to use for backup, Oracle's RMAN or the Unix Operating System shell commands such as the cp or dd commands? Please explain the reasons why you would choose use one over the other.
They are completely different animals that better fit on different file or device manipulation cases:
dd
***
This command was created as a "copy and convert" utility, originally intended for converting files between the ASCII, little-endian, byte-stream world of DEC computers and the EBCDIC, big-endian, appearing at the first time on Unix Version 5. It became the de facto command utility to manipulate everything that can be mapped as a file inside your Unix-like operating system(clone a disc, backup of mbr, clone a disk as file, copy some blocks of one device file, write an image to a usb stick..), and piped to other commands, the sky is the limit. One alternative to this software is the dcfldd command.
cp
***
Make copy of files and directories. This is a more "higher" level of abstraction, where you can copy directories recursively, without caring about block size, file conversion, etc. It is a better tool to deal with "1-to-many" cases of file copy, ownership, symbolic link follow, recursively copy, and verbosity. However, it has it's limitations like dealing with file changes, remote copy, and those things better handled by rsync.
RMAN
*****
Using RMAN, you can automatically backup the database to tape.
Using RMAN Block Media Recovery, you can recover your database in the data block level. If some data blocks of huge datafiles are corrupted, you do not need to restore and recover the whole datafile. In this case, by using Block Media Recovery, only corrupted data blocks are recovered.
Most production databases are big in size and change frequently. It is not the right option to backup the whole database each time (every day). By using the incremental backup functionality, you only take a backup of changed data blocks by reducing time of backup and future recover process.
Using compression, you can easily create binary compressed
backup sets. Although more CPU will be used while taking such
backups, the backup pieces will be smaller, reducing the
requirement for disk/tape space to hold the backups.
Using the Encryption feature, you can create encrypted backup sets
which will make this backup more secure. By using the correct key,
these backup sets will be decrypted automatically during restore
and recovery operations.
Using the cross platform tablespace conversion functionality, you can convert the tablespace which was created in one OS to another.Because RMAN does not take a backup of the temporary tablespace, during recovery it is created automatically by RMAN. It makes the DBA's work easier.
if you have any doubt then please ask me without any hesitation in the comment section below , if you like my answer then please thumbs up for the answer , before giving thumbs down please discuss the question it may possible that we may understand the question different way and we can edit and change the answers if you argue, thanks :)
Which is better to use for backup, Oracle's RMAN or the Unix Operating System shell commands...
Explain what the following UNIX command does: Is 'echo I.txt' Please type shell commands (for Windows. UNIX, or any other system that you like) for: creating a directory called hello world list the contents of this directory create a file called iwashere.txt display the contents of the file iwashere.txt from the command-line Please write a simple program in C for accepting a string from the command-line, reversing and printing the reversed string to standard output.
You are the backup administrator for a large trust company. The backup server is a Linux operating system server. Your goal is to create a backup plan utilizing a technique from Chapter 11. Select from the following: Tape Archive Copy in Out Dump Dd Disc Buring Software Explain why you would select this technique. Once you have selected the technique, describe the commands you would utilize to set up the backup (give command examples). Your paper should be 1-2 pages...
Unix questions, i need help on Hint: Commands to study to answer this question: predefined shell variables, and .profile script file, echo SHELL, HOME, PATH, MAIL and TERM are predefined shell variables. You can use the value of a shell variable in a shell command putting $ in front of it. For example, to display the value of the HOME directory of the user, specify $HOME in the echo command like echo $HOME. Do not give just the value of...
Hello Experts, I need help with the following Operating System(Unix) question. Using node js as a shell and using a Linux system please answer as briefly as possible with example if needed. will UPVOTE!! Q: When ssh runs commands on remote systems, does ssh directly execve the executable, or does it first call a shell which then runs the specified program? How can you verify this behavior?
Revision Question 3 on Linux. Please explain the shell script commands in the context of post execution. You have just logged in and have a directory called "novel" in your home directory containing the following files: chapter1.docx chapter2.docx chapter3.docx draft.pdf save where "save" is itself a directory and contains the files Attributes.txt draft.pdf.1 draft.pdf.2 draft.pdf.3 indexA.txt indexB.txt list1.txt list2.txt a) Describe the results you would expect when executing the following shell commands: i) ls novel/save/*A* ii) ls novel/*r[23]* iii) rmdir...
THE C-SHELL: Find three reasons online for why some computer users prefer to use the Linux operating system instead of Windows. List the reasons you find and for each one write if you think this is a good reason, and why or why not. Afterwards, explain why you personally would or would not consider switching your personal computer platform to Linux from your current one. (If you already use Linux, explain why you made this choice.) Investigate some of the...
[1] How can you change the inode associated with a regular file? Specifically, what commands can you run that will result in a file that has exactly the same name as before but has a different inode? Please give the commands and explain what each does. [1] Does a "hole" in a UNIX file affect its logical size? What about its physical size? Explain briefly. [1] To setup key-based login using ssh, what file do you have to create or...
this is the code you should use from already existing shell i
created .
Just gothrough the programand execute that command.and execute
in linux. It takes the command from the user and execute.
#include<stdio.h>i
#include<stdlib.h>
#include<string.h>
int main()
{
//cmd1 is the ,hr variable which holds the commands
char cmd1[10];
printf("Enter the command without options like ls or date");
scanf("%s",&cmd1);
printf("%s\n",cmd1);
//system function is used for to run the unix commad, it use
system(cmd1);
return 0;
}
#include<stdlib.h>
int main()...
COSC 3411 /ITAP 3411 Homework (UNIX Shell Commands) How would you ensure that all ordinary files created by you have rw-rw---- as default permissions? How would you sort in the background a file called "bad.txt", and place the results in a file called "sort.txt"? Archive the contents of your home directory (including any subdirectories) using tar. Compress the tar archive with gzip. Now extract their contents. Use the “find” command to locate in /docs and /usr/docs all files that Begin...