logo       

Re: /bin/cp: erroneous trailing slash?: msg#00047

sysutils.backup.rsnapshot.general

Subject: Re: /bin/cp: erroneous trailing slash?

On Mon, Jul 17, 2006 at 07:32:27AM +0200, Roman Zimmermann wrote:

> Recently I get some strange errors when I try to run my daily
> backup:
>
> /bin/cp: target `/root/sicherung/.snapshots/daily.1/' is not a
> directory: No such file or directory
> ...
> ERROR: /bin/cp failed. Perhaps this is not GNU cp?
> ERROR: Error! cp_al("/root/sicherung/.snapshots/daily.0/",
> "/root/sicherung/.snapshots/daily.1/")

GNU cp recently changed its behaviour with regard to trailing slashes.
The solution is to either comment out cmd_cp in your config file, or to
upgrade to rsnapshot 1.2.9.

--
David Cantrell | Official London Perl Mongers Bad Influence

Today's previously unreported paraphilia is tomorrow's Internet sensation


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise