How to Exclude Folders from Backup?

Backup, Restore, Netbak Replicator, Cloud Storage Services
onesmallstep1966
Getting the hang of things
Posts: 52
Joined: Wed Apr 03, 2013 12:27 am
Location: Herne Bay, UK

How to Exclude Folders from Backup?

Post by onesmallstep1966 » Tue Dec 10, 2013 3:57 pm

I've setup an external drive backup on my TS-469 Pro and everything works fine except that I want to exclude the following folders from the backup using the Filters option but I can't work out how to do it.

@Recycle
.DS_Store
.AppleDouble

So far (and I've searched these forums to the best of my ability) I can't find a solution. Can anyone help?

onesmallstep1966
Getting the hang of things
Posts: 52
Joined: Wed Apr 03, 2013 12:27 am
Location: Herne Bay, UK

Re: How to Exclude Folders from Backup?

Post by onesmallstep1966 » Wed Dec 11, 2013 4:12 pm

With nearly 200 views and no replies to my question I'm beginning to think this can't be done? Can anyone confirm this so at least I can stop looking for a solution :D
QNAP TVS-672XT Upgraded to 16GB RAM connected via Thunderbolt 3 to Late 2018 MacBook Pro
M.2 Bays = 2 x Samsung 1TB EVO 970 NVMe (RAID 0 for Super-Fast TB3 FCPX editing volume)
Bays 1-6 = 3 x Samsung 1TB EVO 960 SATA and 3 x Seagate 10TB IronWolf (RAID 5 + Qtier)

QNAP TR-004 - Backup device including RTRR for RAID 0 volume
JBOD = 1 x Seagate 10TB IronWolf 1 x Seagate 6TB IronWolf

onesmallstep1966
Getting the hang of things
Posts: 52
Joined: Wed Apr 03, 2013 12:27 am
Location: Herne Bay, UK

Re: How to Exclude Folders from Backup?

Post by onesmallstep1966 » Wed Dec 11, 2013 10:28 pm

I worked it out so I thought I'd post the solution in case anyone else needs to use it.

Just to reiterate, what I wanted to do was remove the temporary files and folders from the external backup that OS X leaves behind (I have also excluded the Google Drive Sync temporary files too).

Add the following to the "Other" box in the "Exclude file types" Filter section.

.grive_state .DS_Store /.trash /@Recycle /.AppleDB /.AppleDesktop /.AppleDouble ._*
QNAP TVS-672XT Upgraded to 16GB RAM connected via Thunderbolt 3 to Late 2018 MacBook Pro
M.2 Bays = 2 x Samsung 1TB EVO 970 NVMe (RAID 0 for Super-Fast TB3 FCPX editing volume)
Bays 1-6 = 3 x Samsung 1TB EVO 960 SATA and 3 x Seagate 10TB IronWolf (RAID 5 + Qtier)

QNAP TR-004 - Backup device including RTRR for RAID 0 volume
JBOD = 1 x Seagate 10TB IronWolf 1 x Seagate 6TB IronWolf

RogerW17
First post
Posts: 1
Joined: Fri Jul 05, 2013 12:32 am

Re: How to Exclude Folders from Backup?

Post by RogerW17 » Sun Feb 23, 2014 9:27 am

Thanks for this post, saved me a lot of time experimenting and I'm not sure I'd ever have tried a leading /. :)

User avatar
pwilson
Guru
Posts: 22568
Joined: Fri Mar 06, 2009 11:20 am
Location: Victoria, BC, Canada (UTC-08:00)

Re: How to Exclude Folders from Backup?

Post by pwilson » Sun Feb 23, 2014 1:56 pm

onesmallstep1966 wrote:With nearly 200 views and no replies to my question I'm beginning to think this can't be done? Can anyone confirm this so at least I can stop looking for a solution :D


Sorry about that. I've been ignoring this thread, simply because it provided no information whatsoever. In fact it still doesn't.

  1. No Firmware Version/Build information.
  2. No Backup Software information. (Talking about Backup Station perhaps?)
  3. No Operating System information provided. (Until you posted your "solution").

Enough said. Glad you figured it out.

Patrick M. Wilson
Victoria, BC Canada
QNAP TS-470 Pro w/ 4 * Western Digital WD30EFRX WD Reds (RAID5) - - Single 8.1TB Storage Pool FW: QTS 4.2.0 Build 20151023 - Kali Linux v1.06 (64bit)
Forums: View My Profile - Search My Posts - View My Photo - View My Location - Top Community Posters
QNAP: Turbo NAS User Manual - QNAP Wiki - QNAP Tutorials - QNAP FAQs

Please review: When you're asking a question, please include the following.

carter76
New here
Posts: 5
Joined: Mon May 12, 2014 6:32 pm

Re: How to Exclude Folders from Backup?

Post by carter76 » Fri May 16, 2014 4:44 pm

Thanks for this, just what I was looking for...

I have simply exluded /.* and /@recycle. Works a treat.

Fairly straight forward and OS/FW independent I would have thought! Shame the manual couldn't have been more specific in how to specify folders for exclusion. Good to know that there are people out there willing to help.

nacer
New here
Posts: 8
Joined: Tue Feb 26, 2013 7:51 pm

Re: How to Exclude Folders from Backup?

Post by nacer » Fri Jun 06, 2014 3:08 am

onesmallstep1966 wrote:I worked it out so I thought I'd post the solution in case anyone else needs to use it.

Just to reiterate, what I wanted to do was remove the temporary files and folders from the external backup that OS X leaves behind (I have also excluded the Google Drive Sync temporary files too).

Add the following to the "Other" box in the "Exclude file types" Filter section.

.grive_state .DS_Store /.trash /@Recycle /.AppleDB /.AppleDesktop /.AppleDouble ._*


Thank you. I had the same problem :)

wilbbrasil
First post
Posts: 1
Joined: Sun Sep 02, 2012 9:30 pm

Re: How to Exclude Folders from Backup?

Post by wilbbrasil » Wed Sep 24, 2014 6:16 pm

onesmallstep1966 wrote:I worked it out so I thought I'd post the solution in case anyone else needs to use it.

Just to reiterate, what I wanted to do was remove the temporary files and folders from the external backup that OS X leaves behind (I have also excluded the Google Drive Sync temporary files too).

Add the following to the "Other" box in the "Exclude file types" Filter section.

.grive_state .DS_Store /.trash /@Recycle /.AppleDB /.AppleDesktop /.AppleDouble ._*


Thanks. Same problem (solved) here.
:)

childnode
New here
Posts: 2
Joined: Thu Jan 29, 2015 4:39 pm

Re: How to Exclude Folders from Backup?

Post by childnode » Thu Jan 29, 2015 4:46 pm

shouldn't the string of excluded files / directories splitted by a comma instead of a space?

unfortunatly help document does say nothing http://docs.qnap.com/nas/4.0/en/index.h ... backup.htm
but popup over "Other" tells me "Enter the file name. Separate the file names with comma (,). For example, test*.*, abc.doc, *.html."

lleone
New here
Posts: 4
Joined: Tue Oct 28, 2014 9:34 pm

Re: How to Exclude Folders from Backup?

Post by lleone » Fri May 01, 2015 1:49 pm

Great! It worked!
Realy thank you and I hope this will be documented sonner or later!

Luca.
Luca

---
TS-453Pro 4.2.1 build 20160201, 16GBram
3xWD60EFRX (raid 5) firmware 82.00A82 -> Storage Pool 1 10.90TB -> DataVol1 (System) 10.80TB
trunk1 = eth1+eth2 / alb (static via dhcp reservation)
trunk2 = eth3+eth4 / tlb - VMs bridge, Virtual Switch 1

ethan11james
New here
Posts: 4
Joined: Tue Apr 21, 2015 1:41 pm

Re: How to Exclude Folders from Backup?

Post by ethan11james » Tue May 05, 2015 4:01 pm

simply by these steps we can exclude these folder need to recover them. just in few steps able to exclude all folder thanks for it

George T
New here
Posts: 5
Joined: Mon Nov 23, 2015 2:43 pm

Re: How to Exclude Folders from Backup?

Post by George T » Mon Nov 23, 2015 3:03 pm

Hi,
I am having trouble understanding the syntax to exclude folders. I've tried a couple of variations but the folder keeps getting backed up.
I have a folder down in a share. The share name is "la".
The folder I want to exclude is "Marketing Images",and everything in it, and the full path is:
\\Cad-9\la\Current\CURRENT PROJECTS - ADMIN\EOI\MARKETING IMAGES
This is the path as it appears in a Windows explorer window.
When I look through File Station in the Qnap browser interface I see Cad-9, underneath it I see Volume 1 and then the list of top level shares of which "LA" (yes in caps) is one.

So, my question is: What exactly do I type into the "Others" box in the external drive backup filter?

Thank you.


Model TS 219PII
Win 10
Firmware 4.2.0

George T
New here
Posts: 5
Joined: Mon Nov 23, 2015 2:43 pm

Re: How to Exclude Folders from Backup?

Post by George T » Tue Nov 24, 2015 7:28 am

Uhm, thanks for the response, but I'm not sure how that addresses my specific question.
And by the way, mentioned specifically I have Windows, not a Mac.

P3R
Guru
Posts: 12375
Joined: Sat Dec 29, 2007 1:39 am
Location: Stockholm, Sweden (UTC+01:00)

Re: How to Exclude Folders from Backup?

Post by P3R » Tue Nov 24, 2015 8:15 am

George T wrote:Uhm, thanks for the response, but I'm not sure how that addresses my specific question.
It wasn't meant to. It's just a clueless spammer trying to establish an account here. Let's hope the admins kick him/her/it out of here before the spam phase begins...
RAID have never ever been a replacement for backups. Without backups on a different system (preferably placed at another site), you will eventually lose data!

A non-RAID configuration (including RAID 0, which isn't really RAID) with a backup on a separate media protects your data far better than any RAID-volume without backup.

All data storage consists of both the primary storage and the backups. It's your money and your data, spend the storage budget wisely or pay with your data!

George T
New here
Posts: 5
Joined: Mon Nov 23, 2015 2:43 pm

Re: How to Exclude Folders from Backup?

Post by George T » Tue Nov 24, 2015 8:56 am

OH, OK.

Post Reply

Return to “Backup & Restore”