Linux/Unix Commands





Español Français 中文 Deutsch Portuguese Japanese nederlands
   
 
LINUX / UNIX cmd
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example Introduction
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example Commands in A
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example Commands in B
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example Commands in C
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example Commands in D
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example Commands in E
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example Commands in F
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example Commands in G
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example Commands in H
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example Commands in I
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example Commands in J
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example Commands in K
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example Commands in L
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example Commands in M
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example Commands in N
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example Commands in P
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example Commands in R
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example Commands in S
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example Commands in T
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example Commands in U
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example Commands in W
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example Commands in Y
Forums Ask your doubts
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example More about Linux
LINUX/UNIX Commands tutorial/reference - Find linux cmd, syntax, example Feedback
 





restore Linux Commands


Tutorials Linux-commands

Topic

What is Linux restore Command?



Explanation

restore COMMAND:
     restore - command restores the data from the dump-file or backup-file created using dump command.

SYNTAX:
  The Syntax is
     restore [options]

OPTIONS:
     
-f Used to specify the backup or dump file
-C Used to compare dump-file with original file
-i Restore in Interactive mode
-v Displays Verbose Information
-e Exclude inode while making backup

    Commands used in interactive mode:
ls List the files and directories in backup file
add Add files in dump-file to current working directory
cd Changes the directory
pwd Displays the current working directory
extract Extract the files from the dump
quit Quit from the interactive mode



EXAMPLE:
     
  1. To restore file and directories from backup-file :
    restore -if databack

    Where,
    i-To make restore with interactive mode
    f-To restore from the backup-file specifed
    databack -Is a name of backup-file or dump-file
    This command gets you to interactive mode as follows:
    restore >
    Now the following commands are entered to restore:
    restore > ls-Lists files and directories in dump file
    restore > add-add files to the current directory
    restore > ls-Lists the file added from the backup file to current directory
    restore > extract-Extracts the file from the backup file to current directory
    restore > quit-Quits from the interactive mode

  2. To compare and display any dump-file with the original file:
    restore -Cf databack

    This command will compare,
    -1-Is the dump-level [1 specifies incremental backup]
    databackup-Is a dump-file [or backup-file]
    /home/user1/data-Is a directory for which a backup is created





A Note

Find LINUX Commands... Hope you enjoy this tutorial. We welcome your Valuable feedbacks or suggestions on this LINUX / UNIX cmd reference. This is a copyright content.


Other Links

web hosting

 

Free Hosting

Top Hosting Companies