Introduce File Backups


Introduce File Backups


 


The fundamental mission of system administrator is protecting the data in system. Unfortunately ,data always missed for some reasons.,such as hardware trouble, system failure and so on.Therefore,system administrator need to make a plan for backups termly.


There are three kinds of backups,as follows:


1.Full backups


Backup all data every time。


2.Incremental backups


An incremental backup copies only files in the file system that have been added or modified since a previous lower-level backup


3.Differential backups


Copie all of files updated in the file system since a full backup last time.


A example:


(1)   Rewind the tapes


 #mt rewind



(2)   Create /export/home backup


 #ufsdump 0S /export/home


#umount /export/home


#ufsdump 0uf /dev/rmt/0 /export/home


#cat /etc/dumpdates



       (3)add files and directories into /export/home file system


 #monut /dev/dsk/c0t0d0s7 /export/home


#cp –r /root/ /export/home


#umonut /export/home



(4)incremental backups


 #mt –f /dev/rmt/0 fsf 1


#ufsdump 1uf/dev/rmt/0 /export/home



(5)remove the tape


 #mt offline



       (6)display backup log files


# cat /etc/dumpdates

评论:

发表一条评论:
  • HTML语法: 禁用
About

This is Chinese Functional CA Team Blog. Any suggestion is appreciated.

Search

Archives
« 四月 2014
星期日星期一星期二星期三星期四星期五星期六
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
今天