SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
(Take 2) rsnapshot on OpenWRT
Author Message
Post (Take 2) rsnapshot on OpenWRT 
Hi,

I've been using rsnapshot 1.3 for some months now on OpenWRT KAMIKAZE
r6772, running on a Asus WL700g. This box is supposed to backup my
xen-domains. But I just found out it doesn;t work :(

To get the commands executed, I run /usr/local/bin/rsnapshot -t hourly.

I just pick one of the outputted commands, and execute them by hand,
which results in:

root < at > router:/hdd/rsnap# /opt/bin/rsync -a --delete --numeric-ids
--relative --delete-excluded --rsh=/usr/bin/ssh -p 22 -i
/etc/dropbear/id_rsa root < at > www.bartbaars.nl:/home /hdd/hourly.0/home/
rsync: link_stat "/hdd/rsnap/22" failed: No such file or directory (2)
rsync: link_stat "/hdd/rsnap/root < at > www.bartbaars.nl:/home" failed: No
such file or directory (2)
rsync error: some files could not be transferred (code 23) at
main.c(977) [sender=2.6.9]

Now, when I add some extra quotes, all works fine:

root < at > router:/hdd/rsnap# /opt/bin/rsync -a --delete --numeric-ids
--relative --delete-excluded --rsh="/usr/bin/ssh -p 22 -i
/etc/dropbear/id_rsa" root < at > www.bartbaars.nl:/home /hdd/hourly.0/home/

Is there anyway I can patch RSnapshot, so the quotes will always be
included?

Cheers,

Bart

Sorry for the previous mail btw, wrong button at the wrong time ;)



-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post (Take 2) rsnapshot on OpenWRT 
Bart,

I take it you only have a problem if you take the command as it is
logged and manually execute it. We haven't taken too much trouble
to support a method of operation where people cut & paste output
from the log file and then run that.

When rsnapshot actually runs the commands (in non-test mode),
it doesn't need quotes because rsnapshot stores and executes
the commands as separate words.

Is there any problem if you run
/usr/local/bin/rsnapshot hourly
(without -t)?

On Thu, Nov 29, 2007 at 09:38:51PM +0100, Bart wrote:
Hi,

I've been using rsnapshot 1.3 for some months now on OpenWRT KAMIKAZE
r6772, running on a Asus WL700g. This box is supposed to backup my
xen-domains. But I just found out it doesn;t work :(

To get the commands executed, I run /usr/local/bin/rsnapshot -t hourly.

I just pick one of the outputted commands, and execute them by hand,
which results in:

root < at > router:/hdd/rsnap# /opt/bin/rsync -a --delete --numeric-ids
--relative --delete-excluded --rsh=/usr/bin/ssh -p 22 -i
/etc/dropbear/id_rsa root < at > www.bartbaars.nl:/home /hdd/hourly.0/home/
rsync: link_stat "/hdd/rsnap/22" failed: No such file or directory (2)
rsync: link_stat "/hdd/rsnap/root < at > www.bartbaars.nl:/home" failed: No
such file or directory (2)
rsync error: some files could not be transferred (code 23) at
main.c(977) [sender=2.6.9]

Now, when I add some extra quotes, all works fine:

root < at > router:/hdd/rsnap# /opt/bin/rsync -a --delete --numeric-ids
--relative --delete-excluded --rsh="/usr/bin/ssh -p 22 -i
/etc/dropbear/id_rsa" root < at > www.bartbaars.nl:/home /hdd/hourly.0/home/

Is there anyway I can patch RSnapshot, so the quotes will always be
included?

Cheers,

Bart

Sorry for the previous mail btw, wrong button at the wrong time ;)



-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

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

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB