SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
disklist and whitespaces
Author Message
Post disklist and whitespaces 
Hello.

On one host I would like to backup the Windows "Documents and Settings"
directory from Linux, but it appears Amanda is bitching about those
embedded whitespaces.

I've tried both escaping them and quoting the whole path (as above), but
still no luck.

Has anyone dealt with a similar problem before? Apart from simply
ignoring such paths, how should I add them to the disklist?

TIA,
Andrea.

--
Homepage: http://andrea.borgia.bo.it / Amateur radio: IZ4FHT
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?

Post disklist and whitespaces 
* Andrea Borgia <borgia < at > cs.unibo.it> [2004:07:15:18:48:50+0200] scribed:
Hello.

On one host I would like to backup the Windows "Documents and Settings"
directory from Linux, but it appears Amanda is bitching about those
embedded whitespaces.

I've tried both escaping them and quoting the whole path (as above), but
still no luck.

Has anyone dealt with a similar problem before? Apart from simply
ignoring such paths, how should I add them to the disklist?

Assuming that you are backing up over Samba, what I do is share
"Documents and Settings" as something else (e.g., docs), which
alleviates this problem.

hth

--
Best Regards,

mds
mds resource
877.596.8237
-
Dare to fix things before they break . . .
-
Our capacity for understanding is inversely proportional to how much
we think we know. The more I know, the more I know I don't know . . .
--

Post disklist and whitespaces 
Michael D Schleif wrote:

Assuming that you are backing up over Samba, what I do is share
"Documents and Settings" as something else (e.g., docs), which
alleviates this problem.

Nope, sorry I forgot that bit: the client is running Linux and I am
trying to backup that directory that is located on the Windows partition
on the same disk and mounted read-only.

Can anything be done in this situation? I mean, short of having XP
zipping the directory and placing the result in a "well-behaved" path.

Andrea.

--
Homepage: http://andrea.borgia.bo.it / Amateur radio: IZ4FHT
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?

Post disklist and whitespaces 
Andrea Borgia wrote:
the client is running Linux and I am
trying to backup that directory that is located on the Windows partition
on the same disk and mounted read-only.

Then create a symlink to that directory with a simple name from
somewhere else and backup that symlink (not the directory containing it,
but the link itself).

Alex

--
Alexander Jolk / BUF Compagnie
tel +33-1 42 68 18 28 / fax +33-1 42 68 18 29

Post disklist and whitespaces 
Alexander Jolk wrote:


Then create a symlink to that directory with a simple name from
somewhere else and backup that symlink (not the directory containing it,
but the link itself).

So brilliantly simple and obvious that I didn't think of it 8-)

I still believe amanda should deal with such filenames properly, but
this workaround is more than ok with me. Tested it today and it appears
to be fine.

Thanks,
Andrea.

--
Homepage: http://andrea.borgia.bo.it / Amateur radio: IZ4FHT
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB