Page 1 of 3

Exclude Files

Posted: Thu May 03, 2012 9:22 am
by Falk
Hello,

Running Image for Windows from the Command Line:

imagew /b /d:0@0x01 /f:1@0x01:\mypath\filename

On Backup-Partition 0@0x01 I want to exclude some files (WindowUpdate.log, pfirewall.log etc.).
How is the option-parameter to exclude files from a backup image?

THX

Re: Exclude Files

Posted: Thu May 03, 2012 6:12 pm
by TeraByte Support(PP)
With the exception of the page file and the hibernation file, files can't be excluded from a backup image.

Re: Exclude Files

Posted: Sat May 05, 2012 12:32 pm
by DrTeeth
On Thu, 3 May 2012 11:12:14 PDT, just as I was about to take a herb,
TeraByte Support(PP) disturbed my reverie and wrote:

>With the exception of the page file and the hibernation file, files can't be excluded from a backup image.

:-((((.

Is it impossible to use any work around to enable users to exclude
user-definable folders? I know I have asked this before, but it is
such a big wish of mine...
--

Cheers

DrT
______________________________
We may not be able to prevent the stormy times in
our lives; but we can always choose to dance
in the puddles (Jewish proverb).

Re: Exclude Files

Posted: Sat May 05, 2012 10:24 pm
by TAC109
On Sat, 5 May 2012 05:32:09 PDT, DrTeeth wrote:

>On Thu, 3 May 2012 11:12:14 PDT, just as I was about to take a herb,
>TeraByte Support(PP) disturbed my reverie and wrote:
>
>>With the exception of the page file and the hibernation file, files can't be excluded from a backup image.
>
> :-((((.
>
>Is it impossible to use any work around to enable users to exclude
>user-definable folders? I know I have asked this before, but it is
>such a big wish of mine...

The only workaround I am aware of is to put these folders into a
special partition that you don't back up. (Or just say "What the heck"
and let them get backed up anyway. Might be useful some day?)

Re: Exclude Files

Posted: Sun May 06, 2012 7:06 pm
by DrTeeth
On Sat, 5 May 2012 15:24:09 PDT, just as I was about to take a herb,
Tom Cole disturbed my reverie and
wrote:

>The only workaround I am aware of is to put these folders into a
>special partition that you don't back up. (Or just say "What the heck"
>and let them get backed up anyway. Might be useful some day?)

To a non programmer like myself, if one file can be excluded so can
another. All I would like to do is leave out my games folder, it would
make such a difference to the speed and space requirements of my
backups. I am desperate for more hard disk space, but am waiting until
the prices drop to their pre-Thai flood levels. The save games and
config data is generally saved in the documents folder in win 7 so is
backed up anyway. My current games folder is 168GB *and* I am holding
back on installing Rage again (its a 21 GB install).
--

Cheers

DrT
______________________________
We may not be able to prevent the stormy times in
our lives; but we can always choose to dance
in the puddles (Jewish proverb).

Re: Exclude Files

Posted: Sun May 06, 2012 8:56 pm
by Brian K
DrT,

You don't like the idea of junction points? Your Games folder would be in another partition but would still "appear" to be in the C: drive even though the C: drive data would be 126 GB smaller.

Re: Exclude Files

Posted: Mon May 07, 2012 5:34 pm
by DrTeeth
On Sun, 6 May 2012 13:56:22 PDT, just as I was about to take a herb,
Brian K disturbed my reverie and wrote:

>You don't like the idea of junction points? Your Games folder would be in another partition but would still "appear" to be in the C: drive even though the C: drive data would be 126 GB smaller.

That's a great idea, I'll look into it. Would be still easier if TBU
could code something ;-).
--

Cheers

DrT
______________________________
We may not be able to prevent the stormy times in
our lives; but we can always choose to dance
in the puddles (Jewish proverb).

Re: Exclude Files

Posted: Mon May 07, 2012 8:39 pm
by DrTeeth
On Mon, 7 May 2012 10:34:48 PDT, just as I was about to take a herb,
DrTeeth disturbed my reverie and wrote:

>That's a great idea, I'll look into it.

It cannot be that easy, can it? I have run some tests and it looks
like I would have the ability to create a junction point on another
local hard drive and just transfer the games folders contents without
any reinstalling.

Thank you so much for this tip.
--

Cheers

DrT
______________________________
We may not be able to prevent the stormy times in
our lives; but we can always choose to dance
in the puddles (Jewish proverb).

Re: Exclude Files

Posted: Mon May 07, 2012 10:03 pm
by Brian K
DrT,

It is that easy. But the instructions in this web page are confusing.

http://technet.microsoft.com/en-us/sysi ... s/bb896768

Let's say your folder is C:\Program Files\abc\games

Move (not copy) the "games" folder to another partition. Let's say it is now E:\def\ghi\games

Use this from a command prompt (junction.exe is in the folder where you are running the command prompt)

junction "C:\Program Files\abc\games" "E:\def\ghi\games" -s

Remember the " "

Good luck!

Re: Exclude Files

Posted: Mon May 07, 2012 10:14 pm
by TAC109
On Mon, 7 May 2012 10:34:48 PDT, DrTeeth wrote:

>On Sun, 6 May 2012 13:56:22 PDT, just as I was about to take a herb,
>Brian K disturbed my reverie and wrote:
>
>>You don't like the idea of junction points? Your Games folder would be in another partition but would still "appear" to be in the C: drive even though the C: drive data would be 126 GB smaller.
>
>That's a great idea, I'll look into it. Would be still easier if TBU
>could code something ;-).

Using junction points is useful for folders which cannot be easily
referenced when they are on another drive, but surely your games can
be installed to the drive and folder of your choice? Wouldn't junction
points be an unnecessary complication in this case?

A I understand it, the 'special' code in the imaging products to
'omit' the page and hibernation files does not in fact do this.
Rather, the files are included as normal but with their contents
replaced with all zeros so that the compression algorithm will reduce
them down to an insignificant size in the image.

On restore, these files would be re-created as they were in the same
locations, but with content of zero, which doesn't matter with these
files as they will be initialised by Windows when next used. Is this
what you want to happen with your games files and folders?

Just some thoughts.