Standalone backup agent for Microsoft Windows servers and workstations (formerly Veeam Endpoint Backup FREE)
Post Reply
Zek
Service Provider
Posts: 22
Liked: 12 times
Joined: Mar 29, 2019 3:32 am
Contact:

Feauture request: exclude folder for volume (entire) backup

Post by Zek »

The only possible mode of backup OS with ability to bare-metal restore is Veeam Agent volume (or entire) level backup, it automaticaly exclude pagefile, temp and deleted blocks from backup file, but it is not possible to manually add any folder that you don't want to backup from system drive. Please add ability to manually exclude folders from backup file, because, as far as I understand, such mechanism has already been implemented.
For example, OneDrive/Dropbox/GoogleDrive/etc folder, that can takes most of the used space, but already backed up in cloud, or any other large amounts of data that do not require backup.
HannesK
Product Manager
Posts: 14837
Liked: 3084 times
Joined: Sep 01, 2014 11:46 am
Full Name: Hannes Kasparick
Location: Austria
Contact:

Re: Feauture request: exclude folder for volume (entire) backup

Post by HannesK »

Hello Zek,
just in case you have a standalone / local UI configuration... did you try using file based backup? You can achieve it by checking the volume (important) and then un-checking the folder.

Best regards,
Hannes
jmmarton
Veeam Software
Posts: 2097
Liked: 310 times
Joined: Nov 17, 2015 2:38 am
Full Name: Joe Marton
Location: Chicago, IL
Contact:

Re: Feauture request: exclude folder for volume (entire) backup

Post by jmmarton »

BMR capability requires using either "entire computer" or volume-level backup of the system drive. File-level backup does not offer BMR. This sounds like a Feature Request--ability to exclude certain folders when performing either entire computer or volume-level backup.

Joe
Zach123
Enthusiast
Posts: 40
Liked: 3 times
Joined: Jun 04, 2019 12:36 am
Full Name: zaki khan
Contact:

Re: Feauture request: exclude folder for volume (entire) backup

Post by Zach123 »

Hi Team

We are running into a similar issue. Cx does not want Veeam to perform the SQL database backups nor .BAK files stored on the SQL server.
They want the backup to happen from a separate server to which these .BAK files are moved once created on the local SQL Server.
I could not find a way to completely exclude the database backups nor a way to exclude .bak files from SQL server backup.
Egor Yakovlev
Product Manager
Posts: 2579
Liked: 708 times
Joined: Jun 14, 2013 9:30 am
Full Name: Egor Yakovlev
Location: Prague, Czech Republic
Contact:

Re: Feauture request: exclude folder for volume (entire) backup

Post by Egor Yakovlev »

Thanks for the feature request! Noted for future versions.

Cheers!
HannesK
Product Manager
Posts: 14837
Liked: 3084 times
Joined: Sep 01, 2014 11:46 am
Full Name: Hannes Kasparick
Location: Austria
Contact:

Re: Feauture request: exclude folder for volume (entire) backup

Post by HannesK »

folder exclusions already work today, if you do it as I mentioned earlier. Please see screenshot below. It also works for managed by VBR jobs, but this would be more complicated. That's why I recommended using the standalone agent.

Image

For SQL: normally there are separate partitions for log, database, backup etc. So volume level backup should do the job. Just exclude the backup volume. For file type exclusions, you can use the Exclude masks (exclude masks do not work for volume based backup)

Please keep in mind that we are not doing 90s style file backup :-) The product is built for image level block based backup
Zek
Service Provider
Posts: 22
Liked: 12 times
Joined: Mar 29, 2019 3:32 am
Contact:

Re: Feauture request: exclude folder for volume (entire) backup

Post by Zek »

Unfortunately, as can be seen from the screenshot, exceptions can be made only for non-system partitions.
HannesK
Product Manager
Posts: 14837
Liked: 3084 times
Joined: Sep 01, 2014 11:46 am
Full Name: Hannes Kasparick
Location: Austria
Contact:

Re: Feauture request: exclude folder for volume (entire) backup

Post by HannesK »

well, good point - I forgot about that part of your question - sorry
splaxco
Novice
Posts: 8
Liked: 1 time
Joined: Jun 27, 2017 5:29 pm
Full Name: Steve Plaxco
Contact:

Re: Feauture request: exclude folder for volume (entire) backup

Post by splaxco » 1 person likes this post

Running across this for our backups. We are considering deploying hundreds of Veeam agents, however putting a large, diverse group of servers in a managed group is not feasible because the drive letters differ from each host. We are using a competing product for several of our physical systems and the jobs are easy to configure. With that product we can select all local drives, then either per client or per job we can exclude with wildcards (ex. *.ldf, *.mfd, and *.ndf for SQL). If we switched to Veeam we would have to keep up with added/removed drives for each host which gets very dangerous very quickly.

I'll be sure to mention this at VeeamON next week, hopefully the product managers are listening.
Dima P.
Product Manager
Posts: 14720
Liked: 1703 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: Feauture request: exclude folder for volume (entire) backup

Post by Dima P. »

Steve,

We will have an option to backup all content expect the specified volumes in the upcoming major version of Veeam B&R. Will that work for your scenario? Cheers!
sm1990
Lurker
Posts: 1
Liked: never
Joined: Jun 13, 2020 9:20 am
Full Name: srinimyla
Contact:

Re: Feauture request: exclude folder for volume (entire) backup

Post by sm1990 »

Hello Dima,

This would be great feature for us too. We have similar to the OP, ShareSync, which is already being backed up. The ability to exclude a specific set of folders across a protection group is very useful. The drive level snapshot would be way more efficient in terms of performance too right?

Thank you
Dima P.
Product Manager
Posts: 14720
Liked: 1703 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: Feauture request: exclude folder for volume (entire) backup

Post by Dima P. »

Hello and welcome to the community sm1990,

Thank you for sharing! Image-based backup is indeed much faster that file level backup, but to make sure we are on the same page: we are planning to add ability to backup all volumes except selected (i.e. this would work like entire machine backup with specific volumes being excluded).
markrowlands
Lurker
Posts: 2
Liked: never
Joined: Jun 18, 2020 9:14 am
Full Name: mark rowlands
Contact:

Re: Feauture request: exclude folder for volume (entire) backup

Post by markrowlands »

splaxco wrote: Jun 12, 2020 7:37 pm Running across this for our backups. We are considering deploying hundreds of Veeam agents, however putting a large, diverse group of servers in a managed group is not feasible because the drive letters differ from each host. We are using a competing product for several of our physical systems and the jobs are easy to configure. With that product we can select all local drives, then either per client or per job we can exclude with wildcards (ex. *.ldf, *.mfd, and *.ndf for SQL). If we switched to Veeam we would have to keep up with added/removed drives for each host which gets very dangerous very quickly.
Definitely second this, I am facing the same issue, I think you can create a job with all the drive letters and veeam will just ignore the ones that are not there.
"In the file-level backup mode, you can create two types of backups: File-level backup that includes individual folders on your computer. Hybrid backup that contains individual folders and specific volumes of your computer. At this step of the wizard, you must specify the backup scope — define what folders with files or entire volumes you want to include in the backup. The specified backup scope settings will apply to all computers that are added to the backup job. If a specified object does not exist on one or more computers in the job, the job will skip such object on those computers and back up existing ones."

Problem I have is that then the excludes do not seem to work :-

"If you select a volume for backup, you cannot apply filters to include or exclude files of a specific type in/from the backup. You can only exclude specific folders that reside on the volume."

And it will be a pita to list out all of the different sql folders with logs / databases :-( although I guess some powershell hack might exist for that as a pre execution script.
backupquestions
Expert
Posts: 186
Liked: 22 times
Joined: Mar 13, 2019 2:30 pm
Full Name: Alabaster McJenkins
Contact:

Re: Feauture request: exclude folder for volume (entire) backup

Post by backupquestions »

Hannes, you said b&r managed agent jobs can still do a volume level but exclude certain folders right? I'm trying this but not seeing how to do it.

There are less options on the agent managed jobs it seems. I don't have the file system tree to check or uncheck certain folders.

If I want to say.. backup c and d volume level (to allow bare metal restore) but I want only one folder of d drive to back up. Is this possible with b&r managed job?
HannesK
Product Manager
Posts: 14837
Liked: 3084 times
Joined: Sep 01, 2014 11:46 am
Full Name: Hannes Kasparick
Location: Austria
Contact:

Re: Feauture request: exclude folder for volume (entire) backup

Post by HannesK »

Hello,
it's exactly the same, just without tree. Type in the folder you need to exclude.

As you only have one folder that you want to back up, you need to exclude all other folders. If someone creates a new folder, then you need to exclude it again.

Best regards,
Hannes
backupquestions
Expert
Posts: 186
Liked: 22 times
Joined: Mar 13, 2019 2:30 pm
Full Name: Alabaster McJenkins
Contact:

Re: Feauture request: exclude folder for volume (entire) backup

Post by backupquestions »

Hannes,

I'm still not getting it, forgive me. Here is a picture of the job. I chose volume level and then I want operating system so that is checked, but there is not a place to "type in the ones to exclude". Let's say I want to just back up D:\users only... No matter what else is there. If I click "add" the only option is to enter in like d:\ it seems. Or I would maybe enter d:\users? but that doesn't sound right because you are saying I need to somehow add all the ones I DON'T want to back up?

Otherwise if this all won't work, I guess I will try it with the agent managed way you showed, though I really would prefer B&R to manage it.

https://imgur.com/49ZYwJt
HannesK
Product Manager
Posts: 14837
Liked: 3084 times
Joined: Sep 01, 2014 11:46 am
Full Name: Hannes Kasparick
Location: Austria
Contact:

Re: Feauture request: exclude folder for volume (entire) backup

Post by HannesK »

Hello,
in my example above I use file based backup. Then I choose Operating system (for bare metal restore) and the volume for backup. Then I exclude the paths with the "advanced" button.

Image

Best regards,
Hannes
backupquestions
Expert
Posts: 186
Liked: 22 times
Joined: Mar 13, 2019 2:30 pm
Full Name: Alabaster McJenkins
Contact:

Re: Feauture request: exclude folder for volume (entire) backup

Post by backupquestions »

Awesome, thank you!
backupquestions
Expert
Posts: 186
Liked: 22 times
Joined: Mar 13, 2019 2:30 pm
Full Name: Alabaster McJenkins
Contact:

Re: Feauture request: exclude folder for volume (entire) backup

Post by backupquestions »

Hannes,

I just did a backup of a physical server with a B&R managed job. I did the exact setup you listed in your latest picture. The exclude masks do not work. (you actually mentioned earlier in this thread that they do not work for volume based backup) Well, I chose file based backup, but it seems when you add in D:\ it makes a volume based backup of the D drive and then none of those masks do anything. It backed up the whole thing.

So, in your picture, wouldn't the correct thing to do instead be to add D:\myfolder instead of D:\ and trying to use exclude masks? I noticed if I add D:\myfolder it shows a folder as the image icon instead of a volume, meaning it will do true file based backup on that volume it seems.

I am going to redo the backup and see if this will work, but just wanted to point out that what you showed does not appear to function this way.
HannesK
Product Manager
Posts: 14837
Liked: 3084 times
Joined: Sep 01, 2014 11:46 am
Full Name: Hannes Kasparick
Location: Austria
Contact:

Re: Feauture request: exclude folder for volume (entire) backup

Post by HannesK »

The exclude masks do not work.
case number, or I don't believe it ;-)

But yes, you can also point to the one folder you want to backup. Then the software does file based backup which might be "good enough" for the use case.

Note: the folder names will be available in the backups even for the excluded folders. but no data inside these folders.
backupquestions
Expert
Posts: 186
Liked: 22 times
Joined: Mar 13, 2019 2:30 pm
Full Name: Alabaster McJenkins
Contact:

Re: Feauture request: exclude folder for volume (entire) backup

Post by backupquestions »

Damn, I did drill down at least a level or two and I was seeing the folders. So I thought it did not work. I guess I did not drill down all the way to where files would be to see the data. Your note that the folders will still show up but just no data in them is key...

I will try it again and see.

Thank you
splaxco
Novice
Posts: 8
Liked: 1 time
Joined: Jun 27, 2017 5:29 pm
Full Name: Steve Plaxco
Contact:

Re: Feauture request: exclude folder for volume (entire) backup

Post by splaxco »

Dima P. wrote: Jun 12, 2020 9:40 pm Steve,

We will have an option to backup all content expect the specified volumes in the upcoming major version of Veeam B&R. Will that work for your scenario? Cheers!
Good to know but that doesn't cover what I'm looking for. I'm looking for something that backs up all files on all volumes at the file level, then excludes files by wildcard. That way if someone adds a drive to the server without telling us it will automatically be covered. I'm not looking to exclude entire volumes.

Hope this helps, let me know if I should post screen captures of what I'm referring to.
markrowlands
Lurker
Posts: 2
Liked: never
Joined: Jun 18, 2020 9:14 am
Full Name: mark rowlands
Contact:

Re: Feauture request: exclude folder for volume (entire) backup

Post by markrowlands »

Seconded... or is this thirded now? :-) This is exactly how we handle it in "another well known backup product"

Please backup this machine, but skip " *.mdf,*.ldf,*.ndf" wherever you find them.
ml35
Enthusiast
Posts: 42
Liked: 11 times
Joined: May 30, 2019 8:42 pm
Contact:

Re: Feauture request: exclude folder for volume (entire) backup

Post by ml35 »

Dear Veeam,

Instead of letting the user manually go into regedit to setup exclusions, could we have included a frontend editor for the registry key Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\BackupRestore\FilesNotToSnapshot in the veeam agent?

So we could pick up the excluded folder/file with a nice gui file browse dialog when doing entire computer -type backup. You could put there a dedicated REG_MULTI_SZ called "VeeamAgent"
Egor Yakovlev
Product Manager
Posts: 2579
Liked: 708 times
Joined: Jun 14, 2013 9:30 am
Full Name: Egor Yakovlev
Location: Prague, Czech Republic
Contact:

Re: Feauture request: exclude folder for volume (entire) backup

Post by Egor Yakovlev »

Hi ml35.

Your feature +1 has been noted(excludes in entire\volume level backups). We keep it on track for future versions.
Today you can switch to file-level backup mode and select(tick) all volumes, which will show [volume-level backup] next to each volume, essentially backing up entire volume using VSS(thus using FilesNotToSnapshot key), giving you identical to entire machine backup. File excludes will also be present there, with GUI to control excludes.

/Cheers!
Post Reply

Who is online

Users browsing this forum: No registered users and 44 guests