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 difference between comm and CMP command?
How do I check dns entry?
What command you execute to display the last five commands you have entered?
Explain about lprm job number?
What does uname command do?
Which commands are used to set a processor-intensive job to use less cpu time?
what is the command to check network interfaces in our system? how to set etho to 10 full duplex speed?
In a company there are 3 groups i.e Finance, HR and Marketing. Each groups having 3 members. There is a file named as file1.txt. The permission set for the above file is rwx-rw----x. Now the question is only the members of Hr and Marketing group can view and edit the file. But the file is not accessible to the members of Finance Group. Can anyone tell me what would be the exact command for linux.root@localhost#<type the exact linux command>
How do you know which shell I am using in linux?
What is the command can be run to remove all the rules in an iptable table?
why context switching time should be minimum? How it depends on hardware support?
i dont know root password then this situation can we change or break root password to ant process