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.
Exclude a folder from backup operation
-
Ctrl/Alt/Del
- Posts: 34
- Joined: 15 Jan 2008 09:05
- Location: Birmingham, Alabama, United States
Re: Exclude a folder from backup operation
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
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.
Or use scripting backupto and add a parameter "exclude" or so.
But it's currently not so high on my list.
FAQ | XY News RSS | XY X
Re: Exclude a folder from backup operation
Fair enoughadmin wrote:But it's currently not so high on my list.
Re: Exclude a folder from backup operation
Sorry to revive this thread after 11 years.
Still not high enough on the list?
Still not high enough on the list?
Ralph 
(OS: W11 24H2 Home x64 - XY: Current x32 beta - Office 2024 32-bit - Display: 1920x1080 @ 125%)
(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
Not that high.
Can you give a convincing example of its utmost importance?
FAQ | XY News RSS | XY X
Re: Exclude a folder from backup operation
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.
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%)
(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
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]
FAQ | XY News RSS | XY X
Re: Exclude a folder from backup operation
No, I wasn't until now.
I'll look into it and try to solve my problem that way.
Thanks for the hint.
I'll look into it and try to solve my problem that way.
Thanks for the hint.
Ralph 
(OS: W11 24H2 Home x64 - XY: Current x32 beta - Office 2024 32-bit - Display: 1920x1080 @ 125%)
(OS: W11 24H2 Home x64 - XY: Current x32 beta - Office 2024 32-bit - Display: 1920x1080 @ 125%)
XYplorer Beta Club