I think I got it now.
mysql -u root -p observium < observium.sql
Thanks, ----------------------- Leo Dano
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Dano, Leo Sent: Monday, June 06, 2016 1:44 PM To: Observium Network Observation System observium@observium.org Subject: Re: [Observium] Need to upgrade from Ubuntu 12 to 14
Got the new Ubuntu 14 up and followed all the reinstall instructions. Got a problem in importing back into mysql. Sorry, new to mysql.
mysql -u root -p < observium.sql Enter password: ERROR 1046 (3D000) at line 22: No database selected
Thanks, ----------------------- Leo Dano
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Simon Smith Sent: Monday, June 06, 2016 9:46 AM To: Observium Network Observation System <observium@observium.orgmailto:observium@observium.org> Subject: Re: [Observium] Need to upgrade from Ubuntu 12 to 14
export: mysqldump -u root -p observium > observium.sql
import: mysql -u root -p < observium.sql
Simon
On 6 Jun 2016, at 5:41 pm, Dano, Leo <ldano@qualcomm.commailto:ldano@qualcomm.com> wrote:
Excellent! Did you use something like phpmyadmin to backup and restore your db? Or is there an easier way?
Thanks, ----------------------- Leo Dano IT Engineer Associate Engineering Compute Business Unit Qualcomm Inc. 858-845-2610
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Simon Smith Sent: Monday, June 06, 2016 9:38 AM To: Observium Network Observation System <observium@observium.orgmailto:observium@observium.org> Subject: Re: [Observium] Need to upgrade from Ubuntu 12 to 14
just did exactly that this morning :)
our 12.04 goofed up big style
backed up DB and rrd folder,
new install of 14, copied config.php, db, and rrd folder
and away it went happily :)
Simon
On 6 Jun 2016, at 5:18 pm, Adam Armstrong <adama@memetic.orgmailto:adama@memetic.org> wrote:
Follow install guide, copy config.php and rrd directory. Copy Observium database. Adam. Sent from BlueMailhttp://www.bluemail.me/r On 6 Jun 2016, at 16:50, "Dano, Leo" <ldano@qualcomm.commailto:ldano@qualcomm.com> wrote: Hello All,
Our Corp Linux images keep us from using the Canonical way to upgrade, which means I need to reimage my server with Ubuntu 14.
My question is what is the process in backing up and restoring all the Observium pieces?
Thanks, ----------------------- Leo Dano
________________________________
observium mailing list observium@observium.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium