SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
restore windows path - traversal problem
Author Message
Post restore windows path - traversal problem 
Hello

I am trying to restore a particular file from a backed up windows system.

When i run restore and i get dropped to $ prompt i can pwd c:\Program Files\Bacula/

but i cannot traverse the directories with the 'cd' command.

I did read:

cd
The cd command changes the current directory to the argument specified. It operates much like the Unix cd command. Wildcard specifications are not permitted.
Note, on Windows systems, the various drives (c:, d:, ...) are treated like a directory within the file tree while in the file selection mode. As a consequence, you must do a cd c: or possibly in some cases a cd C: (note upper case) to get down to the first directory.


This does not work though.

Anyone help?

Thanks.

View user's profile Send private message
Post  
bump

this is on going problem for me anyone help plz

ta

View user's profile Send private message
Post restore windows path - traversal problem 
On 2010-07-09 09:00, duxbuz wrote:
bump

Hi Duxbuz,

Mailing lists don't work like web forums. Posting "bump" doesn't bring the entire discussion thread back to the front for everyone to see. All of us here, members of this list, only received your post from today, saying "bump". Those of us who didn't see your message previously have no idea what you're talking about.

I don't know how long ago you asked, so I can't tell if it'd be appropriate to repost or not, but if you did any more investigation/research/tests on the matter, perhaps you could add that to your original problem in hopes it triggers someone's attention and/or memory.

Laurent Chouinard

Post restore windows path - traversal problem 
Forwarding message for those who did not see the original on the mailing list..


---------- Forwarded message ----------
From: duxbuz <bacula-forum < at > backupcentral.com>
Date: Wed, Jul 7, 2010 at 10:04 AM
Subject: [Bacula-users] restore windows path - traversal problem
To: bacula-users < at > lists.sourceforge.net



Hello

I am trying to restore a particular file from a backed up windows system.

When i run restore and i get dropped to $ prompt i can pwd c:\Program
Files\Bacula/

but i cannot traverse the directories with the 'cd' command.

I did read:

cd
The cd command changes the current directory to the argument
specified. It operates much like the Unix cd command. Wildcard
specifications are not permitted.
Note, on Windows systems, the various drives (c:, d:,
...) are treated like a directory within the file tree while in
the file selection mode. As a consequence, you must do a cd c: or
possibly in some cases a cd C: (note upper case) to get
down to the first directory.


This does not work though.

Anyone help?

Thanks.

+----------------------------------------------------------------------
|This was sent by duxbuz < at > hotmail.com via Backup Central.
|Forward SPAM to abuse < at > backupcentral.com.
+----------------------------------------------------------------------



------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users



--
John M. Drescher

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

View user's profile Send private message
Post Fwd: restore windows path - traversal problem 
I had this problem myself, you need to make sure you state the path correctly
in the Fileset.

C:/path/to/dir

not

C:\path\to\dir

Machiel.

On Friday 09 July 2010 03:27:02 pm John Drescher wrote:
Forwarding message for those who did not see the original on the mailing
list..


---------- Forwarded message ----------
From: duxbuz <bacula-forum < at > backupcentral.com>
Date: Wed, Jul 7, 2010 at 10:04 AM
Subject: [Bacula-users] restore windows path - traversal problem
To: bacula-users < at > lists.sourceforge.net



Hello

I am trying to restore a particular file from a backed up windows system.

When i run restore and i get dropped to $ prompt i can pwd c:\Program
Files\Bacula/

but i cannot traverse the directories with the 'cd' command.

I did read:

cd
The cd command changes the current directory to the argument
specified. It operates much like the Unix cd command. Wildcard
specifications are not permitted.
Note, on Windows systems, the various drives (c:, d:,
...) are treated like a directory within the file tree while in
the file selection mode. As a consequence, you must do a cd c: or
possibly in some cases a cd C: (note upper case) to get
down to the first directory.


This does not work though.

Anyone help?

Thanks.

+----------------------------------------------------------------------

|This was sent by duxbuz < at > hotmail.com via Backup Central.
|Forward SPAM to abuse < at > backupcentral.com.

+----------------------------------------------------------------------



---------------------------------------------------------------------------
--- This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


--
Met vriendelijke groet,
Machiel van Veen

Sentia BV - support < at > sentia.nl - 020-7505 733

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Post Fwd: restore windows path - traversal problem 
Where are you trying to go in the tree that is causing you problems? I just tested this on a windows backup: (edited for clarity)

cwd is: /

$ ls

c:/
j:/

$ cd c:

cwd is: c:/

$ cd "Program Files"

cwd is: c:/Program Files/

$ cd "Bacula"

cwd is: c:/Program Files/Bacula/

$ ls
LICENSE
Readme.txt
Uninstall.exe
bacula-fd.conf
bacula-fd.exe
[...]
working/
zlib1.dll
$

So what is your problem exactly? If it's the CD command that returns an error, try using quotes like I did above. Also follow capitalization.

Otherwise paste the command you try, and the error you get.

Regards,
Laurent Chouinard



On 2010-07-09 09:27, John Drescher wrote: Forwarding message for those who did not see the original on the mailing list..


---------- Forwarded message ----------
From: duxbuz <bacula-forum < at > backupcentral.com> ([email]bacula-forum < at > backupcentral.com[/email])
Date: Wed, Jul 7, 2010 at 10:04 AM
Subject: [Bacula-users] restore windows path - traversal problem
To: bacula-users < at > lists.sourceforge.net ([email]bacula-users < at > lists.sourceforge.net[/email])



Hello

I am trying to restore a particular file from a backed up windows system.

When i run restore and i get dropped to $ prompt i can pwd c:Program
FilesBacula/

but i cannot traverse the directories with the 'cd' command.

I did read:

cd
The cd command changes the current directory to the argument
specified. It operates much like the Unix cd command. Wildcard
specifications are not permitted.
Note, on Windows systems, the various drives (c:, d:,
...) are treated like a directory within the file tree while in
the file selection mode. As a consequence, you must do a cd c: or
possibly in some cases a cd C: (note upper case) to get
down to the first directory.


This does not work though.

Anyone help?

Thanks.

+----------------------------------------------------------------------
|This was sent by duxbuz < at > hotmail.com ([email]duxbuz < at > hotmail.com[/email]) via Backup Central.
|Forward SPAM to abuse < at > backupcentral.com ([email]abuse < at > backupcentral.com[/email]).
+----------------------------------------------------------------------



------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net ([email]Bacula-users < at > lists.sourceforge.net[/email])
https://lists.sourceforge.net/lists/listinfo/bacula-users





Post  
Ok thanks for that.

Only learned how to bump the other day.. and it didn't work Sad

Anyway back to the story.

It is ok now.

It was my back up path, being incorrect in the director.

Initially i could not get it to back up the files, i ended up with a path like "c:\\program files\\bacula"

I should have had "c:/program files/bacula",

the first time i tried all this i had no joy with the forward slashes, hence the back slashes, which seemed to work to an extent, i could backup and restore all, but couldnt traverse the tree.

i could even run a find.

Anyway its solved

Thanks for your time.

View user's profile Send private message
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