BACKUP IN LINUX
BACKUP IN LINUX
Backup: ---- it is the for securing
the data in case if it deleted or misplacing or lose.
Backup
is automatically done by the system
Or we can schedule the backup as we want.
For
this in which partition we take the
backup the permanent mounting is needed
In the LINUX the backup is done on the command line mode.
How lets do_______________________
To do backup we have to create a
partition in which we have to take the backup of the data make a
partition first
#fdisk
/dev/sda
(command(m
for help)) n ____________________to make a new
partition
Make
a partition according to the size of the data
(
command ( m for help)) w ______________ to save
n exit
#
rm –rf /dev/fd0 ______ to stop the floppys drive
# partprobe __________ to refresh MBR
#
mke2fs –j /dev/sda4 ______-
format in ext3
# mkdir /backup _________ make a directory with which
the partition will be mounted.
# mount /dev/sda4 /backup _______ permanent mounting is
necessary for the backup
Because
automatic backup is only done when the partition is permanent otherwise the
automatic or
Scheduled
backup does not work
Lets suppose we have a file in a partition 3 and we have to take the backup of that in the
partition 4 then how to do that in command mode is below-------
NOW
BACKUP______________________________________________________________________________________________________________________________________________________________________________
![]() |
/dev/sda3 /dev/sda4
We have a data in
/dev/sda3 as
/dev/sda/jass/a b c jass.tar
____________ backup file
To take the backup of that in /dev/sda4
# tar cvf /backup/jass.tar /jass __________ this is to take the backup and
when we take the backup we are in the




|
|
|
|
To recover backup
_______________________________________________________________________

|


|
|||
|
|||
0 comments: