Exclude a folder from backup operation

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Ctrl/Alt/Del
Posts: 34
Joined: 15 Jan 2008 09:05
Location: Birmingham, Alabama, United States

Exclude a folder from backup operation

Post by Ctrl/Alt/Del »

I mirrored a certain section of a Windows 7 help site, the tutorial section, and it came out to be a 7GB file. I have it all in one folder and I enjoy having the folder on my computer for offline viewing but, I don't want to back it up.

I have my hard drive partitioned into a few different volumes. For example:

A: is for technical files and reference material and things like that.

B: is for music and videos, etc...

I regularly backup all of A drive and all of B drive to flash drives. I have the 7GB folder nested within A: drive in a folder called technical.

If I back up A:, as normal, it will try to include the 7GB folder. How can I exclude this one particular folder from a backup?

Thanks.

acheton
Posts: 292
Joined: 27 Jul 2010 23:58
Location: XY 64bit, Win 11 at 100%

Re: Exclude a folder from backup operation

Post by acheton »

Good suggestion, I think it would be helpful to have an exclusion list which applies to backup operations.

admin
Site Admin
Posts: 65009
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Exclude a folder from backup operation

Post by admin »

One could do sth similar to the Custom Copy Blacklist, but with a list of sources instead of targets.

Or use scripting backupto and add a parameter "exclude" or so.

But it's currently not so high on my list.

acheton
Posts: 292
Joined: 27 Jul 2010 23:58
Location: XY 64bit, Win 11 at 100%

Re: Exclude a folder from backup operation

Post by acheton »

admin wrote:But it's currently not so high on my list.
Fair enough

RalphM
Posts: 2044
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Exclude a folder from backup operation

Post by RalphM »

Sorry to revive this thread after 11 years.

Still not high enough on the list?
Ralph :)
(OS: W11 24H2 Home x64 - XY: Current x32 beta - Office 2024 32-bit - Display: 1920x1080 @ 125%)

admin
Site Admin
Posts: 65009
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Exclude a folder from backup operation

Post by admin »

Not that high. :) Can you give a convincing example of its utmost importance?

RalphM
Posts: 2044
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Exclude a folder from backup operation

Post by RalphM »

If I backup my "C:\Data" directory to my NAS, it includes a subdirectory which is a symbolic link to a directory already stored on the NAS.
I moved my iPhone iTunes backups to the NAS a while ago because they used up way too much space on the laptop and replaced the directory on the laptop with a symlink to the NAS, so iTunes still behaves as normal.

So in the above described backup, I backup several GB of data (10000's of small files) to my NAS where they already exist just in a different location.

By being able to exclude such symlink folder I could avoid duplicating that data and speed up the backup significantly.
Ralph :)
(OS: W11 24H2 Home x64 - XY: Current x32 beta - Office 2024 32-bit - Display: 1920x1080 @ 125%)

admin
Site Admin
Posts: 65009
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Exclude a folder from backup operation

Post by admin »

Are you aware of the filter parameter in backupto and sync?

Code: Select all

backupto [location], [source], [on_collision], [preserve_dates], [create_log], [pop_stats], [skip_junctions], [verify], [show_progress], [filter]
sync source, target, [copy_items], [on_collision], [delete_items], [switches], [logfile], [filter]

RalphM
Posts: 2044
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Exclude a folder from backup operation

Post by RalphM »

No, I wasn't until now.
I'll look into it and try to solve my problem that way.

Thanks for the hint. :appl:
Ralph :)
(OS: W11 24H2 Home x64 - XY: Current x32 beta - Office 2024 32-bit - Display: 1920x1080 @ 125%)

Post Reply