Forum Index  ViceVersa HOME         FAQ and Knowledge Base

 FAQForum FAQ   SearchSearch Forum  RegisterRegister 
 ProfileProfile   Log inLog in 

Confused on why I have to create the directory structures

 
Post new topic   Reply to topic     Forum Index -> Support
Author Message
deriderj



Joined: 16 Sep 2007
Posts: 24

PostPosted: Sun Sep 16, 2007 2:12 am    Post subject: Confused on why I have to create the directory structures Reply with quote

Is there any way to have ViceVersa place backup files under the directory name that I've selected? For example:


C:\Data\Company\Invoices\*.* to F:\Backup\
and
C:\Data\Company\Invoices\ has 2 files in it file1.txt and file2.txt


After execution I want the target directory to look like this:

F:\Backup\Data\Company\Invoices\
and
have file1.txt and file2.txt in the Invoices directory.


Right now I have to create the higher level directory structures or execution fails. I am doing a backup / one way mirror target t to source.

I have the same problem when I code robocopy manuallly and was hoping that ViceVersa did some automation to help me out with this.

Did I miss something or do I always have to create the top level directory strucuture?


Thanks in advance.
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8763

PostPosted: Sun Sep 16, 2007 9:14 am    Post subject: Reply with quote

Hello, this can be done using a folder variable. Set

C:\Data\Company\Invoices\ as source
and
F:\Backup\<sourcewithoutdrive> as target

the variables <sourcewithoutdrive> will expand to Data\Company\Invoices\

You can also have multiple sources e.g.

C:\Data\Company\Invoices\ <-> F:\Backup\<sourcewithoutdrive>
C:\FolderA\ <-> F:\Backup\<sourcewithoutdrive>
C:\FolderB\FolderC <-> F:\Backup\<sourcewithoutdrive>

etc.

Additional info can be found in the help file, under folder variables.
thanks
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
deriderj



Joined: 16 Sep 2007
Posts: 24

PostPosted: Sun Sep 16, 2007 5:35 pm    Post subject: Reply with quote

That's exactly what I was looking for. I figured I wasn't the only person that wanted to do this and I'm glad the functionality is there.

Thanks for the help.
Back to top
deriderj



Joined: 16 Sep 2007
Posts: 24

PostPosted: Sun Sep 16, 2007 6:01 pm    Post subject: Reply with quote

Hmmm, maybe I spoke too soon. It isn't a big deal to type in the directories ViceVersa User Interface. The problem is I don't want to create anything but the root directory for on the target machine and I want ViceVersa to create the rest. For example I used:

Source: \\MYSERVERA\Company\lotus\
Target: \\MYSERVERB\Data\<sourcewithoutdrive>\

I got the same error message as when I had:

Source: \\MYSERVERA\Company\lotus\
Target: \\MYSERVERB\Data\Company\lotus\

Which was directory not found. In my instance I have already created the \Data directory on MYSERVERB. I want ViceVersa to go ahead and create the Company and lotus directories and then start copying the files.

How can I create a Backup/Mirror profile that will create all the directories that are part of the Target if only the Target "Data" directory exists?

I should mention that on the source machine the "Company" directory has hundreds of sub directories with the "lotus" directory being one of them. That's why I cannot specify the "Company" directory (I don't want the hundreds of sub directoreis copied; just the "lotus" directory.

I hope I've described my problem correctly but if I wasn't clear please let me know.
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8763

PostPosted: Mon Sep 17, 2007 1:00 am    Post subject: Reply with quote

Hello, try switching on the option "Create source/target folders if they do not exist" in the profile settings->folders

VV will ask you to if you want to create the new target folders the first time you run only.
If you run in automatic mode VV will create all folders automatically without asking.

thanks
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
deriderj



Joined: 16 Sep 2007
Posts: 24

PostPosted: Mon Sep 17, 2007 6:32 am    Post subject: Reply with quote

Thank you, that option does what I need.
Back to top
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Support All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can 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


Powered by phpBB © phpBB Group
Copyright © TGRMN Software. TGRMN Software products: