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 mask and umask in linux?
To Check Which Service is Running at Present in System what is the Command?
How to hide the partition in GRUB booting? (This technique is required when you have more that one Windows system on different partitions of the same disk, let us say the first and second partitions of the first hard drive, to boot from the first partition you must hide the second one)
How do I stop a linux job?
Enlist some linux networking and troubleshooting commands?
To move /home/ben/memos dir in /home/bob/memos, what is the result by mv /home/ben/memos /home/bob
What is env command in linux?
What is difference between egrep and grep?
How do I check cpu usage?
1.I want to change runlevel but the Users shall not be disturbed?how? 2.Disk have 5gb disk utilization even though files unable to create, why? 3.what are the internal and external command in linux? 4.sar command o/p? 5.how list the open files? 6.what is kernel compiling? 7.How do u See complete configuration in ur system? 8.how will u make a daily updates with cron daily? 9.which port is associated with ttys0? 10.specific some problems linux admin(if u are linux admin)faced and how did u overcome it?
10 Answers IBM, TCS,
how to run the boot loader in the linux.......
How can I type in cmd?