©XSIBackup-Free: Free Backup Software for ©VMWare ©ESXi

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1 2020-02-25 07:07:49

cdasn
Member
Registered: 2020-01-27
Posts: 12

Upgrade and uninstall procedure

Hello,

Could you provide an upgrade procedure and an uninstall procedure for DC or help me find existing ressources?

Thanks for your help.

Offline

#2 2020-02-26 18:39:22

admin
Administrator
Registered: 2017-04-21
Posts: 2,072

Re: Upgrade and uninstall procedure

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

#3 2020-03-03 10:21:16

cdasn
Member
Registered: 2020-01-27
Posts: 12

Re: Upgrade and uninstall procedure

Thanks for your help.

Offline

Board footer