Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CMS backup over Lan 1

Status
Not open for further replies.

SoDoTo

Technical User
Sep 22, 2004
250
GB
Hi

I have the doc about this but looking for a quick soundbite as to what's required before I delve into the doc.

If anyone can answer these with a quick 1 line that would be great.

1. How easy is it, assumming unix skills required?

2. Can the back up be scheduled. daily, weekly and monthly?

Throw any other useful bits I might need to know about at me.

CMS R16

Cheers
 
Q1. Easy
Q2. Yes

How's that for one line.

My NFS Backup Notes:

I used a Linux CentOS server for my backups. On that box I first.
Code:
NFS Server Configuration
This was configured on the remote device to be used as the NFS server to share a directory with the CMS machine for backing up configuration files.
	1. Edited /etc/export and added
	#CMS NFS file system for backup
	/var/CMSBackups xxx.xxx.xxx.xxx(rw,sync)
	2. Started portmap on Server
	/sbin/service portmap start
	Starting portmap:                                          [  OK  ]
	3. Started NFS
	/sbin/service nfs start
Directory maintenance on the NFS server
Created a cron job to clean the directory of incremental files older than 3 days.
Added root to /etc/cron.d/cron.allow
crontab -e
Code:
0 6 * * 1 find /var/CMSBackups/CMS-* -mtime +3 -exec rm {} \;
Translates to being executed every Monday at 6am.
Code:
CMS NFS Client Configuration

The CMS uses automount configuration to mount the file share when needed and disconnect the connection when not in use.

1. Created /nfs directory
2. Enabled autofs  svcadm enable svc:/system/filesystem/autofs
3. Edited /etc/auto_master to add "/nfs            auto_nfs        -nosuid" to the end of the file.
4. Created /etc/auto_nfs with line telling it to create the directory backup under /nfs
	#NFS automounts
	backup  -rw,vers=3      10.0.10.32:/var/CMSBackups
References:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top