Obsolete Releases > SME 8.x Contribs
upgrade to new HW using Affa : not copy all content
janet:
newburns & jader
--- Quote ---In my experience, I've found out that I moved hardware without my /opt folder...
--- End quote ---
Well that is only because you did not include /opt in the list of folders to backup, ie in the backup job properties.
As Stefano says, refer to http://wiki.contribs.org/Affa#Job_configuration_properties
Include[] and Exclude[] directives.
I recall you have been told this in the past too !
The reason /opt is not included by default, is because /opt is NOT part of the standard sme backup inclusions.
If you choose to use /opt or any other non standard location to install or save data, then you need to include that location in the backup.
You can add many Include[]
ie
'Include[0]'=>'/opt',
'Include[1]'=>'/myfolder',
'Include[2]'=>'/etc/dansguardian',
& so on.
It is very easy to add these to a backup job.
Refer http://wiki.contribs.org/Backup_server_config#Standard_backup_.26_restore_inclusions
Jáder:
My question here is about Wiki do not tell JUST DEFAULT SME things will be copied.
If it's a FULL MOVE TO NEW HW solution... should copy EVERYTHING including /var, /opt, ...
I'll find out other way (rsync!) because I need to move forward.
Jáder
janet:
jader
--- Quote ---....do not tell JUST DEFAULT SME things will be copied.
If it's a FULL MOVE TO NEW HW solution... should copy EVERYTHING including /var, /opt, ...
--- End quote ---
Your interpretation is not correct.
Affa is not a disk cloning tool.
Affa (in default usage) conforms to the standard sme server backup concept, in that it backs up directories as listed in
http://wiki.contribs.org/Backup_server_config#Standard_backup_.26_restore_inclusions
ie
home/e-smith
etc/e-smith/templates-custom
etc/e-smith/templates-user-custom
etc/ssh
root
etc/sudoers
etc/passwd
etc/shadow
etc/group
etc/gshadow
etc/samba/secrets.tdb
etc/samba/smbpasswd
etc/smbpasswd
which does not by default include /opt or /var or anything else not on that list.
You can add other non standard directories to be included in a backup by using the Include[] directive.
To move to new hardware still requires you to install sme server on the new hardware, then run through the procedure to use Affa to move to new hardware, which includes installing the affa contrib & later reinstall any other contribs.
If you effectively want a disk cloned, then you need to use some other method, or make modifications to Affa or to the Affa backup job.
Keep in mind you do not really want to clone the drive & use it in different hardware, because various drivers & setups required for the newer/different architecture will most likely be incorrect.
Stefano:
you don't need other ways, just use Affa and add the dir you need to move..
pmstewart:
Very well explained Mary, AFFA has saved our butts a time or two (build two production servers, different hardware - one installed with AFFA). If the main production server has failed we simply rise the second server and off we go. We use the "include" and "exclude" statements to ensure we get only what we want and need. As an extra precaution we also attach external drives to backup the production server info just in case but have never needed to restore from the external disk.
AFFA is what you need to do the job because it works on different hardware or is not identical hardware dependent!
Navigation
[0] Message Index
[*] Previous page
Go to full version