Operating System - Linux
1827238 Members
2305 Online
109716 Solutions
New Discussion

Re: Red hat 7.2 full backup command

 
SOLVED
Go to solution
WilliamSmith11
Super Advisor

Red hat 7.2 full backup command

Hi
I have a red hat linix system running 7.2 .

My question is .

I want do a full backup of the system

Whitch command I have to issue to do this ?

These is the output of the df commands and here is the fstab output .

[root@linux_norcal root]# df -k
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/sda5 16895952 5596508 10441176 35% /
/dev/sda1 46668 6075 38184 14% /boot
/dev/sdb1 17488684 1571528 15028764 10% /home
none 127788 0 127788 0% /dev/shm
[root@linux_norcal root]#


[root@linux_norcal root]# more /etc/fstab
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
LABEL=/home /home ext3 defaults 1 2
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/sda2 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0
0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
[root@linux_norcal root]#

Thank you .

I really apprecite your help .

I am just starting wakinh througt Linux.

W.S

rperez
8 REPLIES 8
Solution

Re: Red hat 7.2 full backup command

Hi William,

I think that "tar" will help you, but before explaning this, we really need to know how you want to do this backup.

You've four solutions :
- On a tape
- To another hard drive
- Over the network
- On a CD

Give us more info please.
WilliamSmith11
Super Advisor

Re: Red hat 7.2 full backup command

ok
I want do it to a tape drive .

the tape drive is st0.

rperez
WilliamSmith11
Super Advisor

Re: Red hat 7.2 full backup command

cpio will be better.

what command I will use with the cpio and the tape drive st0.

rperez
WilliamSmith11
Super Advisor

Re: Red hat 7.2 full backup command

The command that the customer is using is
#find . -print | cpio -ovcB>/dev/st0

is that is ok

how will be the restore
rperez
Vipulinux
Respected Contributor

Re: Red hat 7.2 full backup command

hi
to restore

cpio -idmv << /dev/st0

Cheers
WilliamSmith11
Super Advisor

Re: Red hat 7.2 full backup command

Vipulinux
So the command to copy all the system is ok ?.

rperez
Vipulinux
Respected Contributor

Re: Red hat 7.2 full backup command

Hi WS
Check this out:
http://www.sap-basis-abap.com/unix/how-to-backup-data-on-unix.htm

Isnt it beautiful!!
Cheers
Alan_152
Honored Contributor

Re: Red hat 7.2 full backup command

for linux native, do a man on tar, dd, cpio, cp, dump, restore, and amanda.

I'd also recommend reading chapter 11 of Nemeth et al's Unix System Administration Handboo,