logo       

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

sysutils.backup.rsnapshot.general

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

Roman,

If you are running rsnapshot 1.2.3 or earlier, then upgrade to
rsnapshot 1.2.9 which fixes this problem.

Or if you can't upgrade to 1.2.9, then comment out cmd_cp.

On Sat, Jul 15, 2006 at 09:09:37PM +0200, Roman Zimmermann wrote:
> Dear list!
>
> Recently I get some strange errors while 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
> ----------------------------------------------------------------------------
> rsnapshot encountered an error! The program was invoked with these
> options:
> /usr/bin/rsnapshot daily
> ----------------------------------------------------------------------------
> ERROR: /bin/cp failed. Perhaps this is not GNU cp?
> ERROR: Error! cp_al("/root/sicherung/.snapshots/daily.0/",
> "/root/sicherung/.snapshots/daily.1/")
>
>
> I tried it myself then:
>
> # /bin/cp
> -al /root/sicherung/.snapshots/daily.0/ /root/sicherung/.snapshots/daily.1/
> /bin/cp: target `/root/sicherung/.snapshots/daily.1/' is not a
> directory: No such file or directory
>
> does not work, but:
>
> # /bin/cp
> -al /root/sicherung/.snapshots/daily.0/ /root/sicherung/.snapshots/daily.1
>
> does.
>
> It seems that the trailing slash is wrong ^^
>
> Thanks for any help on this...
>
> regards
> Roman
>
>
>
> -------------------------------------------------------------------------
> 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
> _______________________________________________
> rsnapshot-discuss mailing list
> rsnapshot-discuss@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

--
___________________________________________________________________________
David Keegel <djk@xxxxxxxxxxxxxxxxxx> http://www.cyber.com.au/users/djk/
Cybersource P/L: Linux/Unix Systems Administration Consulting/Contracting


-------------------------------------------------------------------------
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