Re: 2.4.4b1 cygwin client and specifying DLEs with spaces...

2003-02-13 Thread Richard Morse

On Tuesday, February 11, 2003, at 10:42  PM, John R. Jackson wrote:

  .. /cygdrive/c {
comp-tar
include list "include-1"
  }

and in /cygdrive/c/include-1:

  ./Documents and Settings/myuserfolder

Note that you cannot use "include file" as that passes the thing to
include across to the client in the Amanda protocol and falls prey to
the protocol problems.



Hmmm when I do this, I get "include must be at least 3 character 
long:" and "No include for /cygdrive/c".  I verified that I'm doing 
"include list", not "include file".  Does it matter that I also have an 
exclude list defined for the dump type (because my exclude list falls 
through several layers...)?

Thanks,
Ricky



Re: 2.4.4b1 cygwin client and specifying DLEs with spaces...

2003-02-12 Thread Richard Morse

On Wednesday, February 12, 2003, at 04:57  PM, Joshua Baker-LePain 
wrote:

On Wed, 12 Feb 2003 at 3:47pm, Richard Morse wrote


H at this point, I have a 2.4.2p2 server, which doesn't 
mention
the "include list" in the manpage.  Will it still work?  Or would I
have to upgrade to 2.4.4b1 for the server as well?  In which case,
would I have to upgrade the other 2.4.2p2 clients?

To use include lists you'll need 2.4.3 (or greater) on the server and 
any
clients with disks you want to use the "include" feature on.


Can I just upgrade my server to 2.4.3?  Will it work with the 2.4.2p2 
clients?

Ricky



Re: 2.4.4b1 cygwin client and specifying DLEs with spaces...

2003-02-12 Thread Joshua Baker-LePain
On Wed, 12 Feb 2003 at 5:13pm, Richard Morse wrote

> > To use include lists you'll need 2.4.3 (or greater) on the server and 
> > any
> > clients with disks you want to use the "include" feature on.
> 
> Can I just upgrade my server to 2.4.3?  Will it work with the 2.4.2p2 
> clients?

Yes, but the 2.4.2p2 clients won't be able to use any 2.4.3 features, like 
include lists.  Amcheck will warn you of this if you try to do it.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University




Re: 2.4.4b1 cygwin client and specifying DLEs with spaces...

2003-02-12 Thread Joshua Baker-LePain
On Wed, 12 Feb 2003 at 3:47pm, Richard Morse wrote

> H at this point, I have a 2.4.2p2 server, which doesn't mention 
> the "include list" in the manpage.  Will it still work?  Or would I 
> have to upgrade to 2.4.4b1 for the server as well?  In which case, 
> would I have to upgrade the other 2.4.2p2 clients?

To use include lists you'll need 2.4.3 (or greater) on the server and any 
clients with disks you want to use the "include" feature on.


-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University




Re: 2.4.4b1 cygwin client and specifying DLEs with spaces...

2003-02-12 Thread Richard Morse

On Tuesday, February 11, 2003, at 10:42  PM, John R. Jackson wrote:


If so, then you should be able to use an "include" clause and put the
sub-folders to include within some major top level area, and that file
is only processed by GNU tar and (I think) may contain spaces.

So the DLE might be:

  .. /cygdrive/c {
comp-tar
include list "include-1"
  }

and in /cygdrive/c/include-1:

  ./Documents and Settings/myuserfolder

Note that you cannot use "include file" as that passes the thing to
include across to the client in the Amanda protocol and falls prey to
the protocol problems.



H at this point, I have a 2.4.2p2 server, which doesn't mention 
the "include list" in the manpage.  Will it still work?  Or would I 
have to upgrade to 2.4.4b1 for the server as well?  In which case, 
would I have to upgrade the other 2.4.2p2 clients?

Cause if it will just work, then life is great!  I just am not ready to 
upgrade everything, in part because getting the compiler to work on the 
Solaris 2.6 boxes is a big pain...

Thanks,
Ricky



Re: 2.4.4b1 cygwin client and specifying DLEs with spaces...

2003-02-11 Thread John R. Jackson
>Hi!  This is probably a really easily answered question, but I'm not having
>any luck finding it (probably going blind)...

The answer is easy, you're just not going to like it :-).

>I've got the 2.4.4b1 client set up on a cygwin machine.  The backup is going
>well, but in order to create a DLE, I had to do some aliasing.  Is there a
>way to specify a DLE like:
>X.. /cygdrive/c/Documents and Settings/myuserfolder comp-tar
>
>That is, include paths with spaces?

Unfortunately, several portions of Amanda (client and server) split on
whitespace and have no capability (yet) of escaping or quoting arguments.
This is on my TODO list, but it is a reasonably large thing and has a lot
of potential for getting messed up (just needs lots of careful testing).

However, if I understand things correctly, you're using "native" Amanda
clients on your Windows box rather than Samba to do the backups, right
(I haven't been keeping up with the Amanda under CYGWIN project)?
And that, in turn, uses GNU tar, right?

If so, then you should be able to use an "include" clause and put the
sub-folders to include within some major top level area, and that file
is only processed by GNU tar and (I think) may contain spaces.

So the DLE might be:

  .. /cygdrive/c {
comp-tar
include list "include-1"
  }

and in /cygdrive/c/include-1:

  ./Documents and Settings/myuserfolder

Note that you cannot use "include file" as that passes the thing to
include across to the client in the Amanda protocol and falls prey to
the protocol problems.

If you need/want multiple DLE's based at /cygdrive/c, use the new
"diskname"/"diskdevice" disklist syntax, something like this:

  .. /C-1 /cygdrive/c {
comp-tar
include list "include-1"
  }

  .. /C-2 /cygdrive/c {
comp-tar
include list "include-2"
  }

I haven't used this feature, so the exact details may be a bit off --
sorry.

Obviously, the "-1" and "-2" stuff is just an example.  Use whatever
names make sense to you (as long as they don't contain whitespace :-).

>Alternatively, in the .amanda-gtar-excludes file, can I specify directories
>with spaces?  So I can exclude /Program Files?

Yes, you should be able to put whatever you need to in an exclusion file.
But, just like with "include", you can't use "exclude file" because of
the protocol issue.

>Ricky

John R. Jackson, Technical Software Specialist, ITaP/RCS, [EMAIL PROTECTED]



RE: 2.4.4b1 cygwin client and specifying DLEs with spaces...

2003-02-10 Thread Bort, Paul
If your system is also generating old 8.3 names (for backwards
compatibility) you can mix them in: 

/cygdrive/c/docume~1/myfolder

The command "dir /x" (under XP Pro, yours may vary) shows the short names
for files that need them.


> -Original Message-
> From: Richard Morse [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 10, 2003 2:43 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: 2.4.4b1 cygwin client and specifying DLEs with spaces...
> 
> 
> Hi!  This is probably a really easily answered question, but 
> I'm not having
> any luck finding it (probably going blind)...
> 
> I've got the 2.4.4b1 client set up on a cygwin machine.  The 
> backup is going
> well, but in order to create a DLE, I had to do some 
> aliasing.  Is there a
> way to specify a DLE like:
> X.. /cygdrive/c/Documents and 
> Settings/myuserfolder comp-tar
> 
> That is, include paths with spaces?
> 
> Alternatively, in the .amanda-gtar-excludes file, can I 
> specify directories
> with spaces?  So I can exclude /Program Files?
> 
> Thanks,
> Ricky
> 



Re: 2.4.4b1 cygwin client and specifying DLEs with spaces...

2003-02-10 Thread Doug Kingston
I can show you my .amanda.exclude for a Cygwin installation (attached).  
There is no problem with spaces.

By DLE I assume you mean the disklist file?  Not sure how to get spaces 
in that.  Have you looked at the source?

-Doug-

Richard Morse wrote:

Hi!  This is probably a really easily answered question, but I'm not having
any luck finding it (probably going blind)...

I've got the 2.4.4b1 client set up on a cygwin machine.  The backup is going
well, but in order to create a DLE, I had to do some aliasing.  Is there a
way to specify a DLE like:
X.. /cygdrive/c/Documents and Settings/myuserfolder comp-tar

That is, include paths with spaces?

Alternatively, in the .amanda-gtar-excludes file, can I specify directories
with spaces?  So I can exclude /Program Files?

Thanks,
Ricky

 

./.emacs.d
./CD-Images
./DMI
./Documents and Settings/Owner/Local Settings/Temp
./Documents and Settings/Owner/Local Settings/Temporary Internet Files
./Documents and Settings/Owner/My Documents/Data/Mozilla/dpk/y59np5c1.slt/Cache
./Documents and Settings/Owner/Recent
./Documents and Settings/eb/My Documents/jmcscans
./Documents and Settings/eb/Local Settings/Temp
./Documents and Settings/eb/Local Settings/Temporary Internet Files
./Documents and Settings/amanda/Local Settings/Temp
./Documents and Settings/amanda/Local Settings/Temporary Internet Files
./HP
./I386
./INSTALLS.TMP
./ML
./My Download Files
./PARATOOL
./Program Files
./RECYCLER
./System Volume Information
./WIN51
./WIN51IC
./WINDOWS
./WUTemp
./cygwin/bin
./cygwin/lib
./cygwin/sbin
./cygwin/tmp
./cygwin/usr
./ffastun.ffa
./ffastun.ffl
./ffastun.ffo
./ffastun0.ffx
./hiberfil.sys
./pagefile.sys
./ntldr