NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
steviep1
Nov 28, 2013Aspirant
Backing up Addon and system
Hi, I've got a RN316 at work which now has a number of services running on it from the list of addons: Orange HRM, Ajaxplorer, MySQL etc. These now have data and config in them. I'm wondering what...
xeltros
Jan 13, 2014Apprentice
One of the most common way to backup a linux is to use TAR + CRON but this would require SSH and Netgear may deny support after that. Moreover I never tried to restore such backups of the whole system, I'm used to backup only useful data and have an install procedure/script. That way I can reinstall the system quickly then restore the data. The other trick is that I mainly work with VM, so I can backup virtual disks anyway.
For MySQL DB you can use Mysqldump and use CRON for automation. Think about setting alerts when script fails otherwise you could end up with a failed backup and never know until it's too late.
To summarize my approach is to save the DB and the files you have modified. Your problem is to determine where they are, that's why I always prefer manual install for the apps I want to backup/configure.
By the way storing a backup on the device you would want to restore if anything go wrong is a bad idea... If you have no access to your data how would you restore ?
I confirm addons are .deb so dpkg is called in the process.
For MySQL DB you can use Mysqldump and use CRON for automation. Think about setting alerts when script fails otherwise you could end up with a failed backup and never know until it's too late.
To summarize my approach is to save the DB and the files you have modified. Your problem is to determine where they are, that's why I always prefer manual install for the apps I want to backup/configure.
By the way storing a backup on the device you would want to restore if anything go wrong is a bad idea... If you have no access to your data how would you restore ?
I confirm addons are .deb so dpkg is called in the process.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!