You are here

Including / Excluding Rules

14 posts / 0 new
Last post
Peter.Puk
Offline
Last seen: 15 years 8 months ago
Joined: 2009-03-17 14:59
Including / Excluding Rules

I want to make a Sync->Update of all of the following folders, but cant get it done

  • %systemdrive%/Documents and Settings/$Username/Application Data/[a list of folders]
  • %systemdrive%/Documents and Settings/$Username/Desktop/
  • %systemdrive%/Documents and Settings/$Username/My Documents/

I had in Tab "Sync" as source "C:/Documents and Settings/" (without quotes)

In Rules -> Exclude

  • Default User
  • LocalService
  • NetworkService
  • Administrator
  • All Users
  • [one for all usernames]

In Rules -> Include

  • * /Documents and Settings/*/Application Data/[one for each folder]
  • * /Documents and Settings/*/Desktop/
  • * /Documents and Settings/*/My Documents/

Quote from helpfile:
"Files and folders in this list will always be included, even if they are also present in one of the exclusion lists. This list supports regular expressions as long as they are prefixed with a *. "

What am i doing wrong?

Also one tip, enlarge the helpfile with examples.

Steve Lamerton
Steve Lamerton's picture
Offline
Last seen: 11 years 3 months ago
Developer
Joined: 2005-12-10 15:22
I

may be wrong but the following should work:

Exclude:
* Documents and Settings
Include
* Application Data
* Desktop
* My Documents

You might also want to try the latest development test avalible here as is has a completely new sync backend and preview system.

As for examples I am hoping to add more soon Smile

Peter.Puk
Offline
Last seen: 15 years 8 months ago
Joined: 2009-03-17 14:59
Still not working

As you said, i downloaded the development test.

Added the exclude/include rules. But it is copying the whole Documents and Settings folder, instead of the three folders in include

Also the 'cancel' botton doesn't work when syncing

Steve Lamerton
Steve Lamerton's picture
Offline
Last seen: 11 years 3 months ago
Developer
Joined: 2005-12-10 15:22
You

are of course correct, I commited fixes for this tonight, it will be fixed in the next dev test.

Peter.Puk
Offline
Last seen: 15 years 8 months ago
Joined: 2009-03-17 14:59
Ill be waiting :D

Thx, ill look out for it

Steve Lamerton
Steve Lamerton's picture
Offline
Last seen: 11 years 3 months ago
Developer
Joined: 2005-12-10 15:22
You

can get it here.

Peter.Puk
Offline
Last seen: 15 years 8 months ago
Joined: 2009-03-17 14:59
Looks like its still not working

Here are the contents of my Rules.ini
[code]
[General]
Version=202
[Settings]
FilesToInclude=|* Application Data|* Desktop
FilesToExclude=
FoldersToExclude=|* Documents and Settings
[/code]

and my Jobs.ini
[code]
[General]
Version=202
[Settings]
Source=C:\\Documents and Settings
Dest=K:\\Toucan Backup
Function=Vernieuwen
TimeStamps=1
Attributes=1
IgnoreReadOnly=0
IgnoreDaylightSavings=1
Rules=Settings
Type=Sync
[SyncRemember]
Source=C:\\Documents and Settings
Dest=K:\\Toucan Backup
Function=Vernieuwen
TimeStamps=1
Attributes=1
IgnoreReadOnly=0
IgnoreDaylightSavings=1
[BackupRemember]
BackupLocation=
Locations=
Function=Volledig
Format=Zip
Ratio=3
IsPass=0
[SecureRemember]
Locations=
Function=Encrypteer
[/code]

The ini files are all in Dutch, if you need something translated, let me know.

Steve Lamerton
Steve Lamerton's picture
Offline
Last seen: 11 years 3 months ago
Developer
Joined: 2005-12-10 15:22
I

have added an example to the help file of pre-release 2 https://portableapps.com/node/18705 and done a couple of bug fixes, this definitely works for me now in Vista.

Peter.Puk
Offline
Last seen: 15 years 8 months ago
Joined: 2009-03-17 14:59
It works, but....

Right now, the preview system works correctly. But when i start to copy the files, toucan crashes each time. Is there any possibility to make a logfile or something?

Updating the helpfile with another example was a good idea Biggrin

Also i have some improvements/feature requests for the next versions.
- Make folders in preview gray (or an other color) when they have subfolders that need to be backupped
- Option to not takeover the whole folder structure of the folders with no contents (or is this not possible)
- Better support for regex, see http://krijnhoetmer.nl/stuff/regex/cheat-sheet/

or should i make a feature request for these topics myself?

Steve Lamerton
Steve Lamerton's picture
Offline
Last seen: 11 years 3 months ago
Developer
Joined: 2005-12-10 15:22
Ok

I shall take a look at that crash, at least we are getting somewhere though!

As for the requests:

-No quite sure what you mean here, can you explain more?
-Can you give an example, I don't quite understand this either Sad
-Perhaps this guide will help explain the regex that is currently included, it is definitely and are I need to do more documentation!

Thanks for all the feedback so far!

Steve Lamerton
Steve Lamerton's picture
Offline
Last seen: 11 years 3 months ago
Developer
Joined: 2005-12-10 15:22
I

can only make it crash if I try to copy the files to a sub directory of the source, i.e. C:\Users to C:\Users\Steven\Desktop for example, as it ends up copying endlessly, is the the case in your test?

Peter.Puk
Offline
Last seen: 15 years 8 months ago
Joined: 2009-03-17 14:59
Explanations

1. See: http://img22.imageshack.us/img22/4472/20090404163446.png. The folder "All Users" has a subfolder which needs to be included. To see immediately which folders have subfolders that need to be included, make then grey.

2. At the destination directory, the folder structure is exactly the same as the source directory. Even if i excluded some folders. The only difference now, if that the excluded folders have no contents. But is it possible to remove the "folders"?

3. Ill have a look at that one. I sometimes uses RE with python programming. But im no expert in programming.

The destination of the copy is an external HDD, so it should be something else. BTW, i have the dutch version of windows (could that make any difference). If there is any possibility to make a error log, ill be glad to help.

Steve Lamerton
Steve Lamerton's picture
Offline
Last seen: 11 years 3 months ago
Developer
Joined: 2005-12-10 15:22
Ahhh

1. I havent yet figured out how to do this, I am working on it though Smile

2. I shall look into this, it is supposed to try its best to clean them up

Unfortunately I cannot reproduce this whatever I try Sad Is there an easy way to do so? For example a certain set of options that cause it?

Peter.Puk
Offline
Last seen: 15 years 8 months ago
Joined: 2009-03-17 14:59
Crash

Still not clear why the crash happens. I tried several setups, but it quits every time at an different file.

I tried another destination HDD, but this would help neither.

Log in or register to post comments