Backup your NEMS configuration files automatically

One of the worst things that can happen to your NEMS deployment is having your SD card fail. So keeping a current backup of your NEMS configuration is a smart idea.

Your NEMS Migrator snapshots are always accessible at http://NEMSIP/backup/ and will automatically generate and send a backup.nems file, which contains all the NEMS configuration settings, logs, data, etc. to allow an easy recovery by restoring to a new NEMS deployment.

Knowing this, it’s easy to add a NEMS backup to your daily backup script.

From your Linux server (where your backups run), simply add this to your backup task:

… where /backup/backup.nems is where you want it to output the download, NEMSIP is the actual internal IP address of your NEMS server and YOURUSER and YOURPASSWORD are those you set during nems-init. From there, I recommend you have your backup script run an rdiff-backup of your /backup folder (in this example) to allow for versioning.

Leave a Reply

2 Comments on "Backup your NEMS configuration files automatically"

Notify of
avatar
Sort by:   newest | oldest | most voted
Allen Arguijo
Guest

Just fired up NEMS and seems great but having two probably easy to solve problems with debianserv rnpe for check_disk.I keep getting the below critical errors. Any idea how to solve?

 

Thx!

Allen

 

Host 
Service 
Status 
Last Check 
Duration 
Attempt 
Status Information

debianserv

Check disk space of /var

CRITICAL
2016-12-25 15:43:42
0d 20h 21m 21s
30/30
NRPE: Command ‘check_disk -w 80 -c 90 -p /var’ not defined

Check the root filesystem disk space

CRITICAL
2016-12-25 15:43:24
0d 20h 19m 33s
30/30
NRPE: Command ‘check_disk -w 80 -c 90 -p /’ not defined

wpDiscuz