View Full Version : Rsnapshot on FC5

4th May 2006, 07:47 PM
There is currently a problem with the /bin/cp app in the coreutils-5.93 package with regards to rsnapshot. See this link for more information. http://bugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=339845

Essentially, when rsnapshot tries to run, you receive the following error message:
ERROR: /bin/cp failed.
Perhaps this is not GNU cp? ERROR: Error! cp_al("/backup/daily.0/",

To resolve this error, open up the /usr/bin/rsnapshot script and look for this section;
It's near line 2500

if (0 == $test) {
$result = cp_al(

Remove the trailing slashes at the end of $interval.# so that section reads like this instead

if (0 == $test) {
$result = cp_al(