I want to do a full backup of the Linux GMS, including application parameters, users and groups. How can I do this?
Here's a backup script you can use:
#Backup IMS directory
tar -czf /backup/backupmobile.tgz /opt/ims/
#Vérify status of services
Note that you have to deactivate the cron job during the backup, which restarts services if they are crashed in /etc/crontab
# check scripts in cron.hourly, cron.daily, cron.weekly, and
-*/15 * * * * root test -x /usr/lib/cron/run-crons &&
/usr/lib/cron/run-crons >/dev/null 2>&1
*/1 *1-0* * * * root /etc/init.d/mobilesuite restart-if-crashed >
*/1 *1-0* * * * root /etc/init.d/asadb restart-if-crashed >
*/1 *1-0* * * * root /etc/init.d/securegateway restart-if-crashed
> /dev/null 2>&1
I do the backup between midnight and 1:00 a.m. - I've tested it, and it works well.
Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).
It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.