euglug.org

[Eug-lug] Dell Service?

작성자

카테고리:



Allen BrownTue Sep 14 14:50:36 PDT 2004

larry price wrote:
> 
> You're thinking of mkisofs
> 
> depending on the size of your hard drive that may not work
> even with compression
> 
> are you wanting to make a low level copy of the entire disk
> or are you willing to go with a tar based solution
> you could do something along the lines of
> 
> tar -c -z -f - /${top_level_dir} | ssh you at otherhost "mkisofs -o
> backup.iso -pathlist -"
> #note this probably is not portable or even correct  check man pages before use

Really?  I didn't know mkisofs could read a tar file from stdin.
I think you better verify that this is the case before trying this.

I think you would be better off running mkisofs on the source side.
See http://www.peak.org/~abrown/HOWTO-cdrw-write.html

> which tars and gzips everythinng in ${top_level-dir} and pipes to ssh
> which runs mkisofs on the other
> machine and pipes the whole shmear into backup.iso
> 
> from there you can burn cd's or what have you.
> 
> This is not a low level copy, you will need to set up a filesystem
> before you can unpack the monster tarball.
-- 
Allen Brown
  work: Agilent Technologies      non-work: http://www.peak.org/~abrown/
        allen_brown at agilent.com	            abrown at peak.org
  Who is General Failure and why is he reading my hard disk?

> On Tue, 14 Sep 2004 14:10:16 -0700, Jason Van Cleve <jason at vancleve.com> wrote:
> > Thanks for all the feedback so far.  My laptop became inoperable earlier
> > today, but now it's hanging on, so I'm typing this with light fingers,
> > trying not to upset that hard drive!
> >
> > I'd like to attempt a full system backup onto our LAN at this point.
> > I'm wondering what I could use to accomplish it.  Does anyone know if an
> > ISO would work?  I think there's a program that's used with cdrecord,
> > which will make an ISO from a set of files.  Will it retain all my
> > ownerships and permissions?  I'm thinking of just copying the whole
> > system back into a new hard drive that way.
> >
> > Is this possible?
> >
> > --Jason V. C.
> >
> > --
> > Death to all fanatics!