Cpio cannot backup files larger than or equal to 2 GB

[] [] [] [] []

Symptom
When you back up a file that is larger than or equal to 2 GB, a successful backup is not possible. Furthermore, in the case of older Linux distributions, it is especially critical that cpio seems to back up a file successfully but, in reality, files that are larger than or equal to 2 GB cannot be restored. Therefore, even though the system reports that the backup was successful, it is incomplete.
On the other operating systems supported by brbackup, the backup terminates and the system issues the following error messages, for example:
Unix:
BR278E Command output of ‘… cpio …’:
< btabd.data1 > ?
BR279E Return code from ‘… cpio …’: 2
BR222E Copying … failed.
Windows:
BR278E Command output of ‘… cpio …’:
cpio: warning — file size error in “…” — file truncated
BR279E Return code from ‘… cpio …’: 1
BR222E Copying … failed.
Other terms
BRBACKUP
Reason and Prerequisites
In principle, cpio cannot back up files larger than or equal to 2 GB. This is an internal restriction associated with cpio.
Solution
Use the dd command to back up databases that contain files larger than or equal to 2 GB. To do this, set the following init<DBSID>.sap parameter:
tape_copy_cmd = dd
For more information, see Notes 71058 and 96898.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Leave a Comment