Hi guys,
This is just a follow-up so others can use this really simple shell
script to backup their machines on a network using tar over ssh.
I took the advice of Angus, Jan and Steve who suggested
that I use a test in the .bashrc for interactive invocation of the
shell by checking the value of
This one time, at band camp, Mike Lake wrote:
>Just thought that surely someone in slug does *streaming* backup to another
>machine using *tar over ssh* and must have examples of how the do it.
Yeah, and it's exactly like everyone's said, the caveat is that there is no
output from roots .profile,
On Tue, Oct 23, 2001 at 07:33:13AM +1000, Grant Parnell wrote:
> Hmmm consider writing a little program to insert in the pipe that filters
> all output until it gets a marker.
> ssh root@martel 'echo "MARKER"; tar cvf - /home/mikel/testing' | filter.pl
> | dd >/dev/rmt0
Nice idea but I am backi
Hmmm consider writing a little program to insert in the pipe that filters
all output until it gets a marker.
ssh root@martel 'echo "MARKER"; tar cvf - /home/mikel/testing' | filter.pl
| dd >/dev/rmt0
filter.pl goes something like this..
#!/usr/bin/perl
$mark=0;
while() # read a line from STDI
On Sun, Oct 21, 2001 at 04:50:40PM +1000, Michael Lake wrote:
> Howard Lowndes wrote:
> > Have you considered doing rsync across machines. it is considerably faster
> > as it only transfers the changes.
>
> Ah that that would be sensible to run in between full tar backups.
> Wow I am right at t
Howard Lowndes wrote:
> Have you considered doing rsync across machines. it is considerably faster
> as it only transfers the changes.
Ah that that would be sensible to run in between full tar backups.
Wow I am right at this moment doing an "apt-get install rsync" and
will browse that info but I
Jamie Wilkinson wrote:
>
> This one time, at band camp, Mike Lake wrote:
> >The problem is that when ssh logs into root .bashrc & .profile gets run
> >and there is some output from the login shell. This is prepended to the
> >tar file so its not a tar file anymore. I can see the lines of the logi
Have you considered doing rsync across machines. it is considerably faster
as it only transfers the changes.
On Sun, 21 Oct 2001, Mike Lake wrote:
> Hi guys,
>
> Persuant to a suggestion that I should not be trying to backup machines
> using tar over NFS as it can lead to probs (such as root on
This one time, at band camp, Mike Lake wrote:
>The problem is that when ssh logs into root .bashrc & .profile gets run
>and there is some output from the login shell. This is prepended to the
>tar file so its not a tar file anymore. I can see the lines of the login
>if I run "/test | more".
'touc
Hi guys,
Persuant to a suggestion that I should not be trying to backup machines
using tar over NFS as it can lead to probs (such as root on the remote
machine not being able to read the machine to backup) I have been trying
to get tar over ssh going.
This was the problem I had.
Date: Sun, 7
10 matches
Mail list logo