2019-02-07, 22:58:32
(This post was last modified: 2019-02-07, 23:11:22 by vanfruniken.)
When unzipping my site_archive.zip (macOS Mojave archive utility) yield the following weirdness ?
Looks like this should be
I first suspected that my macOS Archive Utility.app was restoring the file hierarchy in the wrong way?
(meaning that data/, plugins/, theme/, should be at the same level as gsconfig.php, index.php, etc.)
I tried expanding with third party apps (The Unarchiver.app, Stuffit Expander.app), but got the same result.
I also see 2 copies of .htaccess(*) and gsconfig.php(**).
Isn't this a bug? Or did I miss something?
Besides, why should the zip file convey information on where everything was located on the server anyway?
Doesn't everything down from the GS root suffice? (see square brackets).
Of course, with some care, this kind of backup is very usable.
But, when migrating a site, what one would ultimately want to do, is install a shiny new version of GS, and copy the contents of the GS data/, plugins/, theme/ over it (it is probably best to apply any user changes to config.php manually, in order not to disturb any new stuff that might be in e.g., GS 3.4.x). Correct me if I am mistaken.
Code:
.htaccess (* GetSimple CMS access ROOT file)
pathFromServerRoot/
to/
my/
sharedHostSpace/
myGSRootSubFolder/
.htaccess (yes, the same one as *)
gsconfig.php (**)
index.php
LICENSE.txt
readme.txt
robots.txt
sitemap.xml (a nuisance if you have pages other shouldn't know about)
data/
gsconfig.php (yes, the same as **)
plugins/
theme/
Code:
[
pathFromServerRoot/
to/
my/
sharedHostSpace/
]
myGSRootSubFolder/
.htaccess
gsconfig.php
index.php
LICENSE.txt
readme.txt
robots.txt
sitemap.xml (a nuisance if you have pages other shouldn't know about)
data/
plugins/
theme/
(meaning that data/, plugins/, theme/, should be at the same level as gsconfig.php, index.php, etc.)
I tried expanding with third party apps (The Unarchiver.app, Stuffit Expander.app), but got the same result.
I also see 2 copies of .htaccess(*) and gsconfig.php(**).
Isn't this a bug? Or did I miss something?
Besides, why should the zip file convey information on where everything was located on the server anyway?
Doesn't everything down from the GS root suffice? (see square brackets).
Of course, with some care, this kind of backup is very usable.
But, when migrating a site, what one would ultimately want to do, is install a shiny new version of GS, and copy the contents of the GS data/, plugins/, theme/ over it (it is probably best to apply any user changes to config.php manually, in order not to disturb any new stuff that might be in e.g., GS 3.4.x). Correct me if I am mistaken.