Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have set up BackupPC on a CentOS server, and it works great.

The only problem I have is; How do I exclude everything in /media/ except /media/ncpvolues/ ?

Here is a screenshot of what I have tried so farscreenshot

This approach doesn't include /media/ncpvolumes/ as hoped.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

The reason you have a problem here is that you are trying to back everything up using one share (in this case /).

What you need to do is have at least two shares: one for / and one for /media/ncpvolumes/

Then for the / share exclude dev/ proc/ tmp/ mnt/ media/ var/named/chroot/proc var/cache as you have done so in your existing configuration. Make sure media/ is excluded.

Then for the /media/ncpvolumes share do not exclude anything.

That will have the result of backing up everything in /media/ncpvolumes but nothing else in /media.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.