Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Pages: 1
Hi together,
i wanted to use 'rsync' and 'cp' to implement periodic incremental backups as described here:
http://www.mikerubel.org/computers/rsyn … ncremental
(4 backup versions would look like this:
"rm -rf backup.3
mv backup.2 backup.3
mv backup.1 backup.2
cp -al backup.0 backup.1
rsync -a --delete source_directory/ backup.0/")
and to add a cron job as posted here:
http://dns323.kood.org/forum/p1642-2007 … html#p1642
But busybox's 'cp' command lacks the '-l' parameter (to create space saving hard link copies)...
So using rsync is possible but space saving incremental copies aren't possible.
My question is:
Can someone compile a version of 'cp' (GNU / Debian / ...) for our DNS 323 which supports the parameter '-l' or
does someone have a workaround?
Thanks in advance
Gonzo
Offline
cp from busybox 1.4.2 seems to support -l. there is a compiled version in
http://www.inreto.de/dns323/bootstrap.tar (actually a symlink to the busybox binary)
another idea: mv backup.0 backup.1 ; rsync --link-dest=backup.1 .... backup.0/
no idea if that does what you want (didnt try it), but the man page says about --link-dest:
--link-dest=DIR hardlink to files in DIR when unchanged
Offline
What you want is this:
http://www.rsnapshot.org/
Works nice on the nslu2 !
Offline
fonz wrote:
cp from busybox 1.4.2 seems to support -l. there is a compiled version in
http://www.inreto.de/dns323/bootstrap.tar (actually a symlink to the busybox binary)
...
Hi fonz,
thanx for the busybox binary (1.4.1, but cp -l exists :-) - that's what I needed for my backup purposes.
I tried to use this busybox binary as telnet shell but didn't succeed, telnet doesn't work when I exchange the binaries. Any idea why?
(same topic written here: http://dns323.kood.org/forum/p1688-Yest … html#p1688 - 5.)
frodo wrote:
What you want is this:
http://www.rsnapshot.org/
Works nice on the nslu2 !
frodo's rsnapshot is interesting too, but there aren't DNS323 binaries yet, right?
Thanx a lot
Gonzo
Offline
Gonzo.T.Durden wrote:
I tried to use this busybox binary as telnet shell but didn't succeed, telnet doesn't work when I exchange the binaries. Any idea why?
(same topic written here: http://dns323.kood.org/forum/p1688-Yest … html#p1688 - 5.)
You need to configure /dev/pts:
mknod -m 0666 /dev/ptmx c 5 2
mkdir /dev/pts
mount -t devpts devpts /dev/pts
I also explictly pass a shell to the telnetd:
telnetd -l /opt/bin/ash
Not sure, if it also works with the shipped shell /bin/sh.
I've attached my telnetd-start script (looks for telnetd and shell
in /opt/bin).
Offline
rsnapshot is perl. So it needs perl.
Offline
Pages: 1