1 |
On Fri, 30 Dec 2005 09:44:09 -0600, John Jolet wrote: |
2 |
|
3 |
> > tar outputs to stdout be default, so "-f -" is redundant, as is the |
4 |
> > use |
5 |
> > of dd. All you need is |
6 |
> > |
7 |
> > ssh hostname tar cf /source/path >backup.tar.gz |
8 |
> > |
9 |
> hmm, I'm not sure this behavior is consistent across all versions of |
10 |
> tar and all versions of ssh. |
11 |
|
12 |
The part about stdout being the default is consistent, -f overrides the |
13 |
default. To maintain consistency across ssh versions, it may be safer to |
14 |
use |
15 |
|
16 |
ssh >backup.tar.gz hostname "tar cf /source/path" |
17 |
|
18 |
|
19 |
-- |
20 |
Neil Bothwick |
21 |
|
22 |
Windows95 - crash compatible on Windows 3.x |