Explain Backup Managment commands in Linux.
Answers were Sorted based on User's Feedback
Answer / rahul gupta
Backup Management can be done with following commands
1. tar
2. dd
3. mt
4. cpio
| Is This Answer Correct ? | 13 Yes | 2 No |
Answer / susheel narayan singh
to take a backup of a file if file name is susheel --
# tar -cvf file susheel
c for create
v for verbose
f for file
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / arnab
tar -jcvf log.tar.gz log
where j = .gz extention
c = create
v = varbose
f = file
or
tar -zcvf log.tar.bz2 log
where z = .bz2 extention
c = create
v = varbose
f = file
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / kashinath
#tar -icvf file name
then fire another command
#tar file (source)name.tar (destination path)
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / rajshree
To take the backup of complete file by using tar command.
tar -cvf <destination directory> <source directory>
To take the backup of selected file by using the CPIO command
ls -d <source file> | cpio -ov > <destination file>.cpio
To take the back up remotely by using the scr command
scr -rv <source directory> <dest.sys ip>:<destination derectory>
To take full,incrimental,differential backup by using the DUMP command.
For full backup command is
dump 0uf <dest file> <source file>
For incremental backup command is
dump -2uf <dest file> <source file>...This is for 1st incrimental.
For 2nd incrimental command is
dump -3uf <dest file> <source file>
The value need to be increase depends on no of incrementals.
For the differential backup command is
dump -1uf <dest dir> <source dir>
| Is This Answer Correct ? | 0 Yes | 0 No |
what is snmp and for what purpose we are using in linux
You are required to restore the file memo.ben. It was backed up in the tar file MyBackup.tar. Which command would you use to do it?
How you will uncompress the file?
What are the basic command in linux?
What does uname command do?
What is filter command in unix?
What is trusted/untrusted operating system?
What is the use of mv command in linux?
Please send Security on linux related questions and answers.
Which Command used to lock user password in Linux?
Which command is used to uncompress gzip files?
What is shell scripting commands?