- Community Home
- >
- Servers and Operating Systems
- >
- Server Clustering
- >
- Re: Excluding a directory from CMU backup
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2013 06:46 AM
02-06-2013 06:46 AM
Excluding a directory from CMU backup
Hi,
is there a way to exclude a directory from the backup process?
Let's assume there is a /scratch directory on e.g. the root-partition and there is no need to backup/clone this typically rather large directory.
Best regards,
T.Z.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2013 07:25 AM - edited 07-01-2013 09:43 AM
02-13-2013 07:25 AM - edited 07-01-2013 09:43 AM
Re: Excluding a directory from CMU backup
(Edited my reply)
There is no need to exclude it.
If you don't want the contents of /scratch, then simply delete the contents of it before you run the backup. CMU IS capturing the entire partition. The backup function is only using tar to capture the files that are on disk, so you should be deleting anything that does not need to be in the image anyway.
You want the other nodes to actually have a /scratch directory, so why not backup an empty one. Then you do not have to script the creation of one in the reconf.sh.
Also remember that CMU only backups up one "disk." So, if you defined sda as the disk device for that LG, then CMU will not backup sdb (which is where /scratch is typically located if a node has two disks).