rsnapshot: /bin/cp failed

Jim Stapleton stapleton.41 at
Fri Apr 28 13:43:00 UTC 2006

Anyone know what would cause this? I am on a 6.0 system, an installed
rsnapshot via ports.

It looks like it wants to use the "-a" option, and cp doesn't like
that, what's the fix?

-Jim Stapleton

sjss at aragorn 09:19:03 (0) ~ > sudo /usr/local/bin/rsnapshot hourly
cp: illegal option -- a
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] source_file target_file
       cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] source_file ...
rsnapshot encountered an error! The program was invoked with these options:
/usr/local/bin/rsnapshot hourly
ERROR: /bin/cp failed. Perhaps this is not GNU cp?
ERROR: Error! cp_al("/media/backup/hourly.0/", "/media/backup/hourly.1/")

More information about the freebsd-questions mailing list