There have been a lot of threads, but I think my question differs a little.
We plan to migrate from
1.9.3. By doing so we want to utilize bash.
earlier developer has changed core files
we have two folders of Magento (m-v1 [=
18.104.22.168], m-v2 [=
So the file structure looks like this:
- m-v1 - - app - - .. - m-v2 - - app - - ..
We now want to copy ALL custom files from
For that we use the following code:
OLDDIR="~/html/m-v1" NEWDIR="~/html/m-v2" MEDIADIR="$OLDDIR/media/" echo "$MEDIADIR" >> log.txt rsync -au "$OLDDIR/media/" "$NEWDIR/media" rsync -au "$OLDDIR/app/code/community/" "$NEWDIR/app/code/community" rsync -au "$OLDDIR/app/code/local/" "$NEWDIR/app/code/local" rsync -au "$OLDDIR/app/design/" "$NEWDIR/app/design" rsync -au "$OLDDIR/app/etc/modules/" "$NEWDIR/app/etc/modules" rsync -au "$OLDDIR/app/locale/" "$NEWDIR/app/locale" rsync -au "$OLDDIR/js/" "$NEWDIR/js" rsync -au "$OLDDIR/skin/" "$NEWDIR/skin"
Now we come to the question itself:
Beside the local.xml, that has yet to be copied, what else is missing here in order to keep Magento working? It seems that I'm missing something, but I cant figure it out. Is my script sufficient? Are there any better ways to upgrade?
About the core changes: I'm trying to point changed files out and move changed content to modules respective files, in order to make this installation upgrade-able again.