[SAC] [OSGeo] #2994: wordpress-dev updates from wordpress
OSGeo
trac_osgeo at osgeo.org
Thu Oct 5 19:38:48 PDT 2023
#2994: wordpress-dev updates from wordpress
---------------------------+---------------------------------------
Reporter: cvvergara | Owner: sac@…
Type: task | Status: closed
Priority: normal | Milestone: Sysadmin Contract 2023-I
Component: Systems Admin | Resolution: fixed
Keywords: wordpress |
---------------------------+---------------------------------------
Changes (by robe):
* status: new => closed
* resolution: => fixed
Comment:
@cvvergara I created script
/var/www/backups/scripts/restore_osgeo_from_prod.sh in osgeo4-wordpress-
dev
It downloads the latest site and database backups from prod, restores the
db and the files, and updates the config.php so it points to
dev.www.osgeo.org. I'm doing a trial run of it again.
I'll leave it up to you to decide which git repo the scripts should be
stored.
Also the old osgeo.org, I backed up in /var/www/osgeo.org.231005
I'm also debating if we really need a staging repo at all since the only
code difference that would be different between prod and dev.www.osgeo.org
would be in the config.php file which isn't even stored in the git repo.
but anyway something is screwed up with staging and can't figure out what
cause when I check out it does like you said remove a bunch of stuff and
complains it's diverged from the gitea repo.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2994#comment:5>
OSGeo <https://osgeo.org/>
OSGeo committee and general foundation issue tracker.
More information about the Sac
mailing list