Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Avaya CMS Backup Retention - NFS

Avaya CMS Backup Retention - NFS

Avaya CMS Backup Retention - NFS


We upgraded to a new CMS R19 in a VM environment.

Backups are now done to the local VM instance to the CMS_Backups directory of the CMS.

No one thought of the retention of the files and clearing of the old files and there are currently no processes for removing the old files.

Is there an Avaya document that provides their recommendation for retention and maintenance of the CMS_Backups directory?

My opinion is that we keep 7 days of data backups and 1 current/1 previous administrative backup.

I'm assuming the process for deletion is just going to be going into the CLI and executing the del command to remove older files one by one, but thought I'd see if there was a better mouse trap out there.

- Stinney

“The man who asks a question is a fool for a minute, the man who does not ask is a fool for life.” - Confucius

RE: Avaya CMS Backup Retention - NFS

I just send all CMS backups to NFS share, external to the CMS. There is some CMS docs to set this up and mount the share. Once mounted the share looks like a local directory to CMS and you tell your CMS server to backup there. Then I use a simple script to keep only X number of files.

I think these are the steps.

mkdir /mnt/backup
vi /etc/fstab and add the network server. Be sure to automatically mount after reboot. Probably looks something like this:
server@domain.com:/path/to/share /mnt/backup nfs defaults 0 0

mount /mnt/backup
df -h
then go into the CMS menu and select backup/restore devices and setup the location as other.

To delete you can use something like this in a cron job to show files, then delete files.
find /mnt/backup/* -type f -mtime +50 -print >> /mnt/backup/delete.log
find /mnt/backup/* -type f -mtime +50 | xargs rm -rf >/dev/null 2>&1

RE: Avaya CMS Backup Retention - NFS


We have the NFS setup and it backs up to /CMS_Backups and it is backing up to the directory. We can see all the daily incremental data backups and the monthly CMSADM backups.

I'll look at the cron jobs you posted, they look promising. However, I was looking for something official from Avaya that states what we should be doing. One would think they would have a documented process, especially if they are supporting the system. But, I've been wrong about what I expect from a vendor before....

- Stinney

“The man who asks a question is a fool for a minute, the man who does not ask is a fool for life.” - Confucius

RE: Avaya CMS Backup Retention - NFS

While the cron job posted will work, I suggest you add a line to check for a number of files. If backups stop working and you continue to delete them simply based on date you can eventually delete all of your backups.

RE: Avaya CMS Backup Retention - NFS

Yea that's a good point jimbojimbo. I my case I have a separate script which looks at all my backup folders to confirm new data is always there.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close