Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Backup and Restore of Bugzilla

2,888 views
Skip to first unread message

jeff patterson

unread,
Sep 25, 2008, 4:46:41 PM9/25/08
to support-...@lists.mozilla.org
Hi,
I was trying to backup bugzilla on one server and restore it on another server. I took a dump of the mysql database and copied the bugzilla directory as given in the documentation. But when i tried to restore it on another server everything was fine untill i tried to test it. When i log in to bugzilla i get directed to the first server and i get logged in to the first server. I guess the IP address of the first server gets hard coded in the installation. Can anyone help me how to change it.

Thanks

Jeff



Sandeep Athiyarath

unread,
Sep 25, 2008, 10:47:46 PM9/25/08
to jeff_...@yahoo.com, support-...@lists.mozilla.org

You may have to check two things:

1, $Bugzilladir/data/params file urlbase and sslbase entry.
2, hostname in your dns server is correct or not ?

Regards
Sandeep


>
> _______________________________________________
> support-bugzilla mailing list
> support-...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/support-bugzilla
> PLEASE put support-...@lists.mozilla.org in the To: field when you
> reply.
>

Chavez, Larry

unread,
Sep 26, 2008, 12:45:49 PM9/26/08
to support-...@lists.mozilla.org
Backup/restore procedures:

Backup Procedure

-----------------

This procedure was tested on the production machine (nn.nn.nn.1) running
Bugzilla 3.0.4

mysqldump --opt -u bugs -p bugs > bugs.sql

Restore Procedure

------------------

This procedure was tested on the backup machine (nn.nn.nn.2) running
Bugzilla 3.0.5

mysql -u bugs -p bugs < bugs.sql

./checksetup.pl

It worked when I initially installed 3.0.5

However when I backed up and restored the second time using the commands
above and logged into 3.0.5 box I get:


Forbidden


You don't have permission to access /index.cgi on this server.

________________________________

Apache/2.0.52 (Red Hat) Server at nn.nn.nn.2 Port 80

Tosh, Michael J

unread,
Sep 29, 2008, 9:24:17 AM9/29/08
to Chavez, Larry, support-...@lists.mozilla.org
Quoting Chavez, Larry:
> mysql -u bugs -p bugs < bugs.sql
> ./checksetup.pl
>
> However when I backed up and restored the second time using the
> commands above and logged into 3.0.5 box I get:
> Forbidden
> You don't have permission to access /index.cgi on this server.

You may need to run checksetup.pl a few times in order to get it to set
the permissions correctly.

Also note that if you are on a "backup server", that your webservergroup
may or may not be the same.

Chavez, Larry

unread,
Sep 29, 2008, 5:09:37 PM9/29/08
to Tosh, Michael J, support-...@lists.mozilla.org
I still get:


Forbidden


You don't have permission to access /index.cgi on this server.

________________________________

Apache/2.0.52 (Red Hat) Server at xx.xx.xx.48 Port 80

0 new messages