dbaddour
I normally do a frequent backup using the GUI “backup and restore” to my desktop. Is that satisfactory to have all the contribs? Is that include all of add on contribs?
No
Add on contrib packages (rpms) are not included in most of the standard backups.
The configuration data & mysql data for add on contribs is (should be) included in standard backups (including a desktop backup).
After a correct restore procedure, you will still need to reinstall add on contribs packages (rpms).
Only the "backup to tape" backup includes all file systems that are on your server, which therefore includes installed rpms, which includes add on contrib rpms.
Note that a restore from Tape backup does not restore all these files, it only restores the standard list of backup inclusions.
What you are probably expecting or looking for is some type of bare bones backup, like a disk copy or clone function. There was a contrib for that backup in sme5 or 6 days, but it is no longer maintained by the developer.
There may be commercial alternatives available.
Doing that kind of backup it doesn’t show or allow selecting what I should back up or choosing?
The GUI backup to desktop uses the default locations specified here
http://wiki.contribs.org/Backup_server_config#Standard_backup_.26_restore_inclusionsNote if you want /opt/... included in the backup, you will have to modify the settings, refer to
http://wiki.contribs.org/Backup_with_dar#Adding.2FExcluding_Directories_and_Files_from_the_backup_listNow for the site to site VPN.. I am using the OpenVPN site to site.. From http://wiki.contribs.org/OpenVPN_SiteToSite
The comments above about backing up contribs and contrib data, still apply to this.
I suggest you carefully read the Manual & Howtos about the Backup & Restore process.
If you really want to keep all contrib rpms & back them up, then create an ibay called
installedrpms
& copy every installed package (rpm) & dependencies (rpms) into that ibay at the time you install a contrib.
The ibay will automatically be included in backups & restored later, but you will still have to manually reinstall those contrib rpms after doing a fresh install & a restore to new hardware. Note that some of the rpms may not be appropriate if you have moved to a new version of sme server eg from 8 to 9 etc (from el5 to el6 rpms), so the process is not perfect.