본문 바로가기

IBM/AIX

savevg

10.4.1 The savevg command

The savevg command finds and backs up all files belonging to a specified volume

group. The command has the following syntax:

savevg [ -e ] [ -f Device ] [ -i | -m ] [ -p ] [ -v ] [ -X ] VGName

The commonly used flags are shown in Table 10-2.

 

Table 10-2 Commonly used flags for the savevg command

Flag Description

-e    Excludes files specified in the /etc/exclude.vgname file from being backed up by this command.

-f     Device Specifies the device or file name on which the image is to be stored. The default is the /dev/rmt0 device.

-i     Creates the data file by calling the mkvgdata command.

-m   Creates the data file with map files.

-p    Disables software packing of the files as they are backed up.

-X   Specifies to automatically expand the /tmp file system if necessary.

 

The savevg command uses a data file created by the mkvgdata command. The

data file created is as follows:

/tmp/vgdata/vgname/vgname.data

The vgname.data file contains information about a user volume group. The

savevg command uses this file to create a backup image that can be used by the

restvg command to re-create the user volume group.

'IBM > AIX' 카테고리의 다른 글

Ready for AIX recovery with mksysb and mkdvd  (0) 2015.05.06
Creating a mksysb backup to DVD in AIX V5, V6 and V7  (0) 2015.05.06
^M 없애는 방법  (0) 2014.04.21
반드시알아둘AIX명령  (0) 2012.11.09
P7_OS지원버전  (0) 2012.11.09
randev_디바이스이름변경(AIX7)  (0) 2012.11.09
mpio_get_config  (0) 2012.11.09
lqueryvg  (0) 2012.11.09
hitachi_disk_정보확인  (0) 2012.11.09
오라클tunning  (0) 2012.11.09