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 |
How do you create a file?
How many linux commands are there?
How can I know my linux os is 32 bit or 64 bit? and How can i know my CPU is 32 bit or 64 bit in linux machine environment.?
How do I run a bash script in linux?
What is the command to check wwn # in linux?
What are the command prompt commands?
What does r mean linux?
A file which is not deleted by normal user and also root (using rm), for that type of file how we delete it?
What is cpu utilization linux?
Is a command a full sentence?
What does top do in linux?
Why do we use cmake?