Moon Software Forum
Moon Software Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Discussion Forums
 Backup Magic
 Can this be done in Backup Magic?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

monty
Member

5 Posts

Posted - 21 April 2004 :  16:36:42  Show Profile  Reply with Quote
Hi,
I'm currently evaluating Backup Magic and I can't seem to be able to do the following with it.

I have a projects directory containing source code and I use CVS for version control. I want to backup *.pas;*.dfm files from all of the directories in the projects folder, EXCEPT in the CVS directories where I want to backup * files.

I've tried creating two groups, 1st group:
copy from: d:\projects
copy to: D:\backups\projects
Include Subfolders: Yes
Include folders mask: *
Exclude folders mask: CVS
Include files mask: *.pas;*.dpr
Exclude files mask:
Incremental Add/Update

Group 2:
copy from: d:\projects
copy to: D:\backups\projects
Include Subfolders: Yes
Include folders mask: CVS
Exclude folders mask:
Include files mask: *
Exclude files mask:
Incremental Add/Update

However, the CVS directories do not get copied across.

So, can this type of backup be done??

thanks
Mark

Ahto/Moon Software
Developer

Estonia
1141 Posts

Posted - 21 April 2004 :  17:08:50  Show Profile  Visit Ahto/Moon Software's Homepage  Reply with Quote
In your Group 2 just change the source folder to:

d:\projects\CVS

and include folders mask to:

*
Go to Top of Page

monty
Member

5 Posts

Posted - 23 April 2004 :  16:07:28  Show Profile  Reply with Quote
My projects folder is something like:
d:\projects
d:\projects\fontedit
d:\projects\fontedit\CVS
d:\projects\tests\testEdit
d:\projects\tests\testEdit\CVS
etc etc.

ie more than 10 projects each with a CVS directory of their own.
I've done a few more tests and it appears that if you have the following simple layout:
d:\projects
d:\projects\CVS

The backup profile I originally specified works, however, if there are anymore sub-directories with CVS in them, then the second Group specified (the one to read the CVS directories) will only work for the top-level CVS directory. ie with a directory layout of:
d:\projects
d:\projects\CVS
d:\projects\test
d:\projects\test\CVS

Only the following folders are backed up:
d:\projects
d:\projects\CVS
d:\projects\test

I also did a test with a single group and to include CVS directories, and again, only the top-level CVS directory gets copied.

By the looks of it the include Sub-Folders option doesn't work for include folders.

cheers
Mark
Go to Top of Page

monty
Member

5 Posts

Posted - 23 April 2004 :  16:14:17  Show Profile  Reply with Quote
The Include Sub-Folders option does, however, work with the Exclude Folders list.
Go to Top of Page

Ahto/Moon Software
Developer

Estonia
1141 Posts

Posted - 26 April 2004 :  00:19:43  Show Profile  Visit Ahto/Moon Software's Homepage  Reply with Quote
Actually your original settings should work but seems there is a bug in program code that prevents recursive inclusion of specified folders. I'll investigate this.
Go to Top of Page

monty
Member

5 Posts

Posted - 24 May 2004 :  13:25:40  Show Profile  Reply with Quote
Any time-frame when a fix/new version will be available?
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Moon Software Forum © Copyright 1996-2011 Moon Software Go To Top Of Page
Snitz Forums 2000