Obsolete Releases > SME 8.x Contribs

upgrade to new HW using Affa : not copy all content

(1/2) > >>

Jáder:
I'm following this
http://wiki.contribs.org/Moving_SME_to_new_Hardware
to move my SME8 to new HW (HP N40L) but it do not copy everything the way I supposed... so or something is wrong or I'm doing something wrong. I'm betting the problem it's me... if not I'll open a bug. :)

I follow howto but from 596 GB (as seen on backup/restore screen of SME) it just copy 174GB (as seen from "df -h" of new server).
The old server is a Affa server with 315GB of data just for /var/affa.
The /var is not included in copy and no info about this exist on Wiki!!!


--- Code: ---[root@leopardo Antigo]# ls -la scheduled.0/
total 28
drwxr-xr-x  5 root root 4096 Feb 13 11:08 .
drwx------  5 root root 4096 Feb 13 11:08 ..
-rw-r--r--  1 root root  615 Feb 13 11:08 .AFFA-REPORT
-rwx------  1 root root 1721 Feb 13 11:08 Antigo-setup.pl
drwxr-xr-x  5 root root 4096 Feb 12 19:45 etc
drwxr-xr-x  3 root root 4096 Dec 12 17:14 home
drwxr-x--- 24 root root 4096 Feb 12 12:28 root
[root@leopardo Antigo]#

--- End code ---


The Antigo.log files reports a completed backup... but the missing rpm list is empty!
Even after I included the SMEServer=yes on config, it do not populate the list!

Am I missing something ?

Jáder

Stefano:

--- Quote from: jader on February 13, 2013, 04:12:18 PM ---Am I missing something ?

--- End quote ---

yes.. re-read carefully Affa wiki page, you will discover you can add or exclude path from backup

if the old server is an affa server, moving datas is not (IMHO and AFAIK) trivial, as affa uses hard links

Jáder:

--- Quote from: Stefano on February 13, 2013, 04:26:50 PM ---yes.. re-read carefully Affa wiki page, you will discover you can add or exclude path from backup

--- End quote ---
Hum... I've used affa for long time to backup client data... this is my first time using it to move to a new server BUT I'd think EVERYTHING should be copied from OLD to NEW, no just important parts (as defined by Affa). I'd think about to update Wiki about this.

--- Quote ---if the old server is an affa server, moving datas is not (IMHO and AFAIK) trivial, as affa uses hard links

--- End quote ---

I've done this before... it's a matter of find out what exact options activate on rsync... I should have take notes on previous one! :$

Stefano:
http://wiki.contribs.org/Affa#Job_configuration_properties

Include[] and Exclude[] directives..

newburns:
In my experience, I've found out that I moved hardware without my /opt folder, which was horrible. All of my web apps are there. It is really bad when the previous server has went down, and you set up most of the staff on cloud based apps for productions, which you install into /opt/ directory using SME Site Maker. Installing into /opt/ directory is especially useful when you have different Open BaseDir for different apps.

I've, also, never been able to get the missing rpm listing to work with SME 8.0. I just assumed that AFFA was not made for 8.0, so all the extra features may not be working. I'm not sure if this is a bug, or if the AFFA built for SME 7.0 cannot properly evaluate the rpm's installed in an 8.0 environment.
I have not been able to get this to work for an SME 7.0 with AFFA installed, backing up a SME 8.0 production server.

Navigation

[0] Message Index

[#] Next page

Go to full version