Amanda-Users

Re: cygwin & spaces in disklist directory

2003-06-11 10:55:39
Subject: Re: cygwin & spaces in disklist directory
From: JC Simonetti <simonetti AT echo DOT fr>
To: amanda-users AT amanda DOT org
Date: Wed, 11 Jun 2003 16:54:05 +0200
Oh... It seems that "tar" files are also refused by Norton Antivirus.
At this point I won't rename my files with "txt" or "png" extension or anything 
that could go through your AV, and/or tar/gzip/dd them, I give up. Sorry... 
Consider revising your antivirus parameters, guys...


On Wed, 11 Jun 2003 16:46:30 +0200
JC Simonetti <simonetti AT echo DOT fr> wrote:

> Sorry guys, I would have been aware that Outlook and other Exchange softwares 
> would be afraid of my previous attachments since they were 2 ".bat" files...
> So in case of someone could not get them and would have to get them, I've 
> tar'ed and reattached them here, just in case.
> 
> No, they are not viruses, they are batch files written by me to backup and 
> restore the Windows registry. But if Windows thinks backing up its registry 
> is a virus behavior... ;-)
> 
> 
> On Wed, 11 Jun 2003 14:17:45 +0200
> JC Simonetti <simonetti AT echo DOT fr> wrote:
> 
> > Hi!
> > Concerning the backup of the Windows Hives, I've made a brainstorm using MS 
> > documentation (ouch my head). So this is the result.
> > The Windows Hives are composed of many files:
> > _ %windir%\system32\cache\* for the system hives
> > _ ~user\ntuser.dat for the user hive
> > The system hives are always loaded, the user hives are loaded if the user 
> > is logged.
> > When a hive is loaded, Windows puts a lock on the files corresponding to 
> > this hive, an exclusive read and write lock.
> > 
> > Thus there is only one way to backup the loaded hives (and only one to 
> > restore them): using 2 Windows programs available in the Windows Resource 
> > Kit:
> > _ regback.exe
> > _ regrest.exe
> > I cannot join them to this mail since they are not free, you will have to 
> > buy the Resource Kit to get them...
> > 
> > I made some months ago 2 batch scripts that backup the hives using these 
> > programs, check the 2 attached files. I thought I would be the only one to 
> > use them so the comments are a bit light and... in French, sorry...
> > I suggest you put the "save_registry.bat" script in a crontab (the Windows 
> > "AT" batch command) to regularly backup the registry.
> > 
> > 
> > You can also find some help at:
> > http://www.windowsitlibrary.com/Content/267/1.html
> > 
> > 
> > Good luck!
> > 
> > 
> > 
> > On Wed, 11 Jun 2003 09:58:54 +0200
> > Paul Bijnens <paul.bijnens AT xplanation DOT com> wrote:
> > 
> > > Andy Howell wrote:
> > > >    ln -s  '/cygdrive/c/Documents and Settings' 
> > > > /cygdrive/c/DocsAndSettings
> > > > 
> > > > did the trick. Recovery works fine as well. Now all I have to do is 
> > > > figure out some permission problems with some NTUSER.DAT and related 
> > > > files, and I'll be all set.
> > > 
> > > Not possible; windows keep these open files locked.  But if you find
> > > out how to get around that limitation, there are many people that want
> > > to know how you did it!
> > > 
> > > 
> > >      "Why use windows, when you can use the door?"
> > >           -- Anonymous
> > > 
> > > 
> > > -- 
> > > Paul Bijnens, Xplanation                            Tel  +32 16 397.511
> > > Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
> > > http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation 
> > > DOT com
> > > ***********************************************************************
> > > * I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
> > > * quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
> > > * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
> > > * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
> > > * kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...    *
> > > * ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
> > > ***********************************************************************
> > > 
> > 
> 
> 
> -----------------------------------------------------------------------
> Jean-Christian SIMONETTI    email: jean-christian.simonetti AT wanadoo DOT com
> SysAdmin Wanadoo Portails   phone: (+33)493004911
> Sophia Antipolis, France
> -----------------------------------------------------------------------