본문 바로가기

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' 카테고리의 다른 글