본문 바로가기

IBM/AIX

tar 대신 다른 명령으로 backup하기

How can I archive a directory with backup?

 

TARON AIX HAS SEVERE LIMITATIONS. IF I WANT TO ARCHIVE AN DIRECTORY WITHOUT THESE LIMITATIONS I THINK ABOUT THEBACKUPCOMMAND. BUT WHAT WOULD BE THE SYNTAX?

Assuming you want to backup /usr/local the tar command would be something like this:
# tar cvpf /tmp/archive.tar ./usr/local/
You could use the following backup command instead:
 # find ./usr/local/ | backup -iqvpf /tmp/archive.bff
To restore the backup you can use the restore command:
 # restore -xqvf /tmp/archive.bff
(the corresponding tar command would be tar xvpf /tmp/archive.tar)

이 글은 스프링노트에서 작성되었습니다.

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

tune_TCP_stack  (0) 2012.11.09
TCP및UDP성능조정  (0) 2012.11.09
Repairing Corrupt File Systems or File System Log Devices  (0) 2012.11.09
Inodes used 100% while filesystem is not full  (0) 2012.11.09
vmm memory tuning  (0) 2012.05.25
rootvg사이즈를dynamic하게변경하기  (0) 2012.02.17
Dynamic Tracking of Fibre Channel devices  (0) 2012.01.11
How to NFS Mount a cdrom Filesystem  (0) 2011.12.22
mkisofs(이미지생성)  (0) 2011.12.21
timezone  (0) 2011.11.14