Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Remote Backups and Command Line Stuff



On Fri, 7 Jul 2006 18:17:53 +0200, Godwin Stewart
<godwin.stewart@example.com> wrote:

> True. In that case, use gzip:
> 
> tar -cvz back_this_up | ssh user@example.com \
> "cd backupdir; cat > backup.`date +%Y%m%d`.tar.bz2"
                                                 ^^^
Oops. sorry...

Scratch that and try this instead:

tar -cvz back_this_up | ssh user@example.com \
"cd backupdir; cat > backup.`date +%Y%m%d`.tar.gz"

-- 
G. Stewart - godwin.stewart@example.com

Honk if you hate bumper stickers that say "Honk if ..."



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links