Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Remote Backups and Command Line Stuff
- Date: Fri, 7 Jul 2006 10:36:47 +0200
- From: Godwin Stewart <godwin.stewart@example.com>
- Subject: Re: [tlug] Remote Backups and Command Line Stuff
- References: <1151534641.8763.26.essertier@example.com> <20060703094633.52817827.jep200404@example.com> <1151968575.40 36.9.camel@example.com> <20060703211743.57969020.jep200404@example.com s.rr.com> <87veqdzw49.fsf@example.com> <1152008948.4056.4.came l@example.com> <20060704093214.36e71741.jep200404@example.com> <1152022372.21252.19.camel@example.com> <20060704192307.4cb92eef.j ep200404@example.com> <1152044213.7689.10.essertier@example.com> <87ac7oy7g5.fsf@example.com> <1152099441.4356.10.camel@example.com ost.localdomain> <20060705081510.1cef4091.jep200404@example.com> <44ABB41 C.8030500@example.com> <1152181802.3673.14.camel@example.com> <20060706 084226.6c307b10.jep200404@example.com> <1152222830.5455.12.camel@example.com st.localdomain> <20060706220049.3d46a70a.jep200404@example.com> <1152243550.2578.286.camel@example.com>
On Fri, 07 Jul 2006 12:39:10 +0900, Scott VanDusen <Scott_VanDusen@example.com> wrote: > #!/bin/bash > > # this tars up joe's home directory into myhome.tar.gz tarball. > /bin/tar -zcpf /home/joe/myhome.tar.gz /home/joe > > # This sends the tarball to the remote directory > cat /home/joe/myhome.tar.gz |ssh remotemachine "cd backup; cat > > backup.tar.gz" There's a way to do it that doesn't involve wasting space with a local tarball: tar -zcp /home/joe | ssh remotemachine "cd backup; cat > backup.tar.gz" The output of tar is piped stright into ssh instead of making a tarball with it and pipint *that* through ssh. I do this frequently. -- G. Stewart - godwin.stewart@example.com Hurewitz's Memory Principle: The chance of forgetting something is directly proportional to ..... to ........ uh ..............Attachment: pgpeQMiu4z2Yv.pgp
Description: PGP signature
- Follow-Ups:
- Re: [tlug] Remote Backups and Command Line Stuff
- From: Stuart Luppescu
- References:
- Re: [tlug] Which X Driver for VIA Chipset Micro ATX?
- From: Jim
- Re: [tlug] Which X Driver for VIA Chipset Micro ATX?
- From: Stephen J. Turnbull
- Re: [tlug] Which X Driver for VIA Chipset Micro ATX?
- From: Jim
- Re: [tlug] Which X Driver for VIA Chipset Micro ATX? [SOLVED]
- From: essertier
- Re: [tlug] Which X Driver for VIA Chipset Micro ATX?
- From: Joseph Essertier
- Re: [tlug] Which X Driver for VIA Chipset Micro ATX?
- From: Stephen J. Turnbull
- [tlug] Command Line is Good to Learn . . . . . . . . . . . . . . . .(was Re: Which X Driver for VIA Chipset Micro ATX? [SOLVED])
- From: Jim
- Re: [tlug] Command Line is Good to Learn . . . . . . . . . . . . . . . .(was Re: Which X Driver for VIA Chipset Micro ATX? [SOLVED])
- From: essertier
- Re: [tlug] Remote Backups and Command Line Stuff
- From: Jim
- Re: [tlug] Remote Backups and Command Line Stuff
- From: Scott VanDusen
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Command Line is Good to Learn . . .
- Next by Date: Re: [tlug] Japanese input on Centos
- Previous by thread: Re: [tlug] Remote Backups and Command Line Stuff
- Next by thread: Re: [tlug] Remote Backups and Command Line Stuff
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links