Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: dverma on July 23, 2003, 11:39:22 AM

Title: flexbackup and users who stick spaces in directory names
Post by: dverma on July 23, 2003, 11:39:22 AM
ok - I know everyone is tired of hearing about flexbackupbut I'm really stuck and was hoping that someone might have an answer on this:

I can get Flexbackup to do everything except recognise the following directory path :

/home/e-smith/files/ibays/contributory/files/Security Review/Board Reports/Exposures.xls

I've tried to cd to the ibay and can't do that either so I assume it has something to do with the spaces in the names - how do I get around this from a restore point of view?

Obviously people in the Windows space have no issues around sticking spaces in directory names.

Any help would be greatly appreciated.

Cheers

Dave
Title: Re: flexbackup and users who stick spaces in directory names
Post by: Ray Mitchell on July 23, 2003, 01:44:53 PM
try with sigle inverted commas around the full path eg 'xxx'

'/home/e-smith/files/ibays/contributory/files/Security
Review/Board Reports/Exposures.xls'

Regs
Ray
Title: Re: flexbackup and users who stick spaces in directory names
Post by: dave verma on July 23, 2003, 02:09:19 PM
Thankyou for this I'll give it a try and see what happens.
Regards
Dave
Title: Re: flexbackup and users who stick spaces in directory names
Post by: Adserg on July 23, 2003, 05:20:48 PM
Dave

This is what i did might be usefull to you?

I have the same thing at one site Eg

 /home/e-smith/files/ibays/data/files/cash books

If i just type the path /home/e-smith/files/ibays/data/files/cash books
it simply get's  the hump and says it doesnt know that directory.

However if i type the path /home/e-smith/files/ibays/data/files/cash\ books/ its quite happy with that.

You can see how linux sees the file if you just type the first word in this case cash and then hit the tab key.

I suppose there are many ways to do this but it works for me.

regards

Adserg
Title: Re: flexbackup and users who stick spaces in directory names
Post by: dave on July 24, 2003, 07:01:10 AM
Thanks for that it works as well - Nice to know I'm not the only Admin with XPed users out there!.
Regs
Dave
Title: flexbackup and spaces in directory names
Post by: dave on July 24, 2003, 11:04:11 AM
Just a quick update for Ray and Adserg and anybody else who has users who stick spaces in directory names under sme 5.6 - causing flexbackup to have issues with directory locations, either the solutions suggested actually work :

 1) From Ray - sticking the path name in single quotes:
'/home/e-smith/files/ibays/contributory/files/Security
Review/Board Reports/Exposures.xls'

2 From Adserg - using a back slash to fill the gaps :
'/home/e-smith/files/ibays/contributory/files/Security\
Review/Board\Reports/Exposures.xls'

Thanks people you've made a very worried accountant in NZ very happy.

Have a good day.

Regards

Dave

PS - be prepared for a very long wait on the restore process if you are using a DDS3 drive - It took 4 hours and 50 minutes to restore the file.
Title: Re: flexbackup and spaces in directory names
Post by: Ray Mitchell on July 24, 2003, 11:28:16 AM
This is really a Linux issue, not a flexbackup issue.
You would enter the long pathname at a command prompt in the same (or alternative) ways eg 'xxx'
There are a number of ways to correctly refer to long filename paths in Linux.
Have a look at a Linux online reference.

Regs
Ray
Title: Re: flexbackup and spaces in directory names
Post by: Adserg on July 24, 2003, 08:36:09 PM
Hi dverma

Glad to be of service sir.

Regards

Adserg