Anyway I applied the patch with the -p1 option and the patching process seemed successful to me. And I installed cpbk without any problems, too.
However, when I run cpbk, it worked normally for the first time, copying all the files from the root directory to the destination directory. But when I ran it for the second time right after the first backup, it tried to re-copy all the files instead of updating new files(which aren't supposed to exist at all) and it gave me the following message:
-----------------------------------------------------------------------------------
root@localhost:/mnt/linux/BACKUP# cpbk -t TRASH/ -e "/mnt/,/proc/" / BACKUP/
Searching source files and building lists... Done
Searching destination files and building lists... Done
Comparing files and generating order lists... Done
0/202507 files ( 0KB/2515911KB) 0% [--------------------] Making
mkdir: File exists
Cannot make directory `/mnt/linux/BACKUP/BACKUP/bin'.
------------------------------------------------------------------------------------
One problem that I can think of is that the timestamp changed during the first backup. This is the result of ls -l on both the root and the destination directory right after the first backup.
root:
-------------------------------------------------------------------------------------
root@localhost:/mnt/linux/BACKUP# ls -l /
total 82
drwxr-xr-x 2 root bin 2416 Oct 2 07:00 bin
drwxr-xr-x 2 root root 336 Oct 1 22:46 boot
drwxr-xr-x 15 root root 62328 Oct 3 00:24 dev
drwxr-xr-x 46 root root 4688 Oct 3 00:24 etc
drwxr-xr-x 4 root root 96 Oct 1 22:29 home
drwxr-xr-x 4 root root 2592 Oct 2 06:59 lib
drwxr-xr-x 9 root root 216 Oct 1 23:46 mnt
drwxr-xr-x 4 root root 96 Dec 14 2002 opt
dr-xr-xr-x 64 root root 0 Oct 3 2003 proc
drwx--x--- 3 root root 168 Oct 1 22:48 root
drwxr-xr-x 2 root bin 5704 Sep 2 07:29 sbin
drwxrwxrwt 9 root root 296 Oct 3 00:51 tmp
drwxr-xr-x 18 root root 544 Sep 15 07:25 usr
drwxr-xr-x 16 root root 456 Aug 15 12:17 var
------------------------------------------------------------------------------------
destination:
------------------------------------------------------------------------------------
root@localhost:/mnt/linux/BACKUP# ls -l BACKUP/
total 82
drwxr-xr-x 2 root bin 2416 Oct 3 00:29 bin
drwxr-xr-x 2 root root 336 Oct 3 00:29 boot
drwxr-xr-x 15 root root 62328 Oct 3 00:29 dev
drwxr-xr-x 46 root root 4688 Oct 3 00:29 etc
drwxr-xr-x 4 root root 96 Oct 3 00:29 home
drwxr-xr-x 4 root root 2592 Oct 3 00:29 lib
drwxr-xr-x 4 root root 96 Oct 3 00:32 opt
drwx--x--- 3 root root 168 Oct 3 00:32 root
drwxr-xr-x 2 root bin 5704 Oct 3 00:33 sbin
drwxr-xr-t 10 root root 328 Oct 3 00:33 tmp
drwxr-xr-x 18 root root 544 Oct 3 00:40 usr
drwxr-xr-x 16 root root 456 Oct 3 00:40 var
------------------------------------------------------------------------------------
Have you encounter this problem before?
Anyway, thanks for your help!