Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Apr 2006 09:42:58 -0400
From:      "Jim Stapleton" <stapleton.41@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   rsnapshot: /bin/cp failed
Message-ID:  <80f4f2b20604280642x132ddd28k433d97edc5ef3ee6@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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?

Thanks,
-Jim Stapleton



sjss@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 ...
target_directory
---------------------------------------------------------------------------=
-
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/")



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?80f4f2b20604280642x132ddd28k433d97edc5ef3ee6>