How can I archive a directory with backup?


tar on AIX has severe limitations. If I want to archive an directory without these limitations I think about the backup command. 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)