You are not logged in.
Pages: 1
Hello,
Could you provide an upgrade procedure and an uninstall procedure for DC or help me find existing ressources?
Thanks for your help.
Offline
Upgrading is easy, just overwrite the installation folder contents, typically [b]/scratch/XSI/XSIBackup-DC[/b].
As the distributable package does not contain any RSA key nor the /etc/jobs folder, you will be safe in regards to overwriting keys or jobs. Nonetheless the /etc folder does contain an [b]/etc/smtpsrvs.conf[/b] file, thus you could simply rename this file in the unzipped upgrade etc folder to keep your eventually preexisting one. We will rename it to [b]/etc/smtpsrvs.conf.sam[/b] in next release so that the upgrade operation is totally safe to perform this way without overwrtting preexisting configurations.
In regards to the uninstall procedure, it is exactly the same as for [b]©XSIBackup-Free & Pro[/b]
1 - Remove the install folder
2 - Make the /var/spool/cron/crontabs/root file editable by root.
3 - Remove the cron schedules
4 - Restore the default permissions on the file
5 - Remove the cron initialization from the [b]/var/spool/cron/crontabs/root[/b] in case you have installed the [b]©XSIBackup[/b] cron
That's all. You can write that logic into this code snippet. Of course change your INSTALLDIR variable value by your own.
INSTALLDIR="/scratch/XSI/XSIBackup-DC"; \
rm -rf "$INSTALLDIR"; \
chmod 0700 /var/spool/cron/crontabs/root; \
sed -i '/-etc\/jobs/d' /var/spool/cron/crontabs/root; \
chmod 0600 /var/spool/cron/crontabs/root; \
sed -i '/update-cron/d' /var/spool/cron/crontabs/root
Offline
Thanks for your help.
Offline
Pages: 1