public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Best way to backup a cygwin installation ?
@ 2003-09-29 12:32 Olaf Foellinger
  2003-09-29 14:14 ` Igor Pechtchanski
  0 siblings, 1 reply; 3+ messages in thread
From: Olaf Foellinger @ 2003-09-29 12:32 UTC (permalink / raw)
  To: cygwin

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

what is the best way to backup a cygwin installation ? I have a working
installation here on w2k with a size of appr. 700 MB. I use ntsec and I
wonder which is the best way:

- - copy the file sin windows ?
- - make a tar.gz archive under cygwin ?

I want a possibility to turn back to this version in case the upgrade to
1.5.x fails.  
 
Gruss Olaf Föllinger

- -- 
Olaf Föllinger
Berater 
S.E.S.A. Software und Systeme AG

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (Cygwin)

iD8DBQE/eCR7QhZYH/dN/jsRAh/6AJ9x5UC8aPAgoK29kgSCXBtWQV55BgCeIV0Y
7GIvYX3OtbJ67RZaHqG8TNQ=
=/EYq
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Best way to backup a cygwin installation ?
  2003-09-29 12:32 Best way to backup a cygwin installation ? Olaf Foellinger
@ 2003-09-29 14:14 ` Igor Pechtchanski
  2003-09-29 14:38   ` Igor Pechtchanski
  0 siblings, 1 reply; 3+ messages in thread
From: Igor Pechtchanski @ 2003-09-29 14:14 UTC (permalink / raw)
  To: Olaf Foellinger; +Cc: cygwin

On Mon, 29 Sep 2003, Olaf Foellinger wrote:

> Hi,
>
> what is the best way to backup a cygwin installation ? I have a working
> installation here on w2k with a size of appr. 700 MB. I use ntsec and I
> wonder which is the best way:
>
> - - copy the file sin windows ?
> - - make a tar.gz archive under cygwin ?
>
> I want a possibility to turn back to this version in case the upgrade to
> 1.5.x fails.
>
> Gruss Olaf Foellinger

Olaf,

You probably want to make a tar archive under Cygwin to keep the
permissions and the ownership.  To make sure you can actually extract that
archive, you should make extra copies of tar.exe, gzip.exe, cygwin1.dll,
cygiconv-2.dll, and cygintl-2.dll into your backup directory.  When you
extract, make sure to explicitly use the tar from the backup directory,
and that no other Cygwin processes are running at the time.

It would be a good idea to also back up your mount table in a file called
"mounts.bat" in the same directory (by using the output of "mount -m"),
and then restore them after untarring the backup.  You will need to make
an extra copy of mount.exe (no dependences).  So, your backup directory
will probably look like:

    cygiconv-2.dll
    cygintl-2.dll
    cygwin1.dll
    cygwin-backup.tgz
    gzip.exe
    mount.exe
    tar.exe

Hope this helps,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Best way to backup a cygwin installation ?
  2003-09-29 14:14 ` Igor Pechtchanski
@ 2003-09-29 14:38   ` Igor Pechtchanski
  0 siblings, 0 replies; 3+ messages in thread
From: Igor Pechtchanski @ 2003-09-29 14:38 UTC (permalink / raw)
  To: cygwin; +Cc: Olaf Foellinger

On Mon, 29 Sep 2003, Igor Pechtchanski wrote:

> On Mon, 29 Sep 2003, Olaf Foellinger wrote:
>
> > Hi,
> >
> > what is the best way to backup a cygwin installation ? I have a working
> > installation here on w2k with a size of appr. 700 MB. I use ntsec and I
> > wonder which is the best way:
> >
> > - - copy the file sin windows ?
> > - - make a tar.gz archive under cygwin ?
> >
> > I want a possibility to turn back to this version in case the upgrade to
> > 1.5.x fails.
> >
> > Gruss Olaf Foellinger
>
> Olaf,
>
> You probably want to make a tar archive under Cygwin to keep the
> permissions and the ownership.  To make sure you can actually extract that
> archive, you should make extra copies of tar.exe, gzip.exe, cygwin1.dll,
> cygiconv-2.dll, and cygintl-2.dll into your backup directory.  When you
> extract, make sure to explicitly use the tar from the backup directory,
> and that no other Cygwin processes are running at the time.
>
> It would be a good idea to also back up your mount table in a file called
> "mounts.bat" in the same directory (by using the output of "mount -m"),
> and then restore them after untarring the backup.  You will need to make
> an extra copy of mount.exe (no dependences).  So, your backup directory
> will probably look like:
>
>     cygiconv-2.dll
>     cygintl-2.dll
>     cygwin1.dll
>     cygwin-backup.tgz
>     gzip.exe
>     mount.exe

    mounts.bat

>     tar.exe
>
> Hope this helps,
>         Igor

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-09-29 14:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-29 12:32 Best way to backup a cygwin installation ? Olaf Foellinger
2003-09-29 14:14 ` Igor Pechtchanski
2003-09-29 14:38   ` Igor Pechtchanski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).