Giter Site home page Giter Site logo

Comments (16)

GaryAllan avatar GaryAllan commented on June 15, 2024

From the web GUI.

Administration->Import / Export, Prepare Mysql dump

from phpipam.

sandeepypatil avatar sandeepypatil commented on June 15, 2024

Thanks for reply i have tried on GUI i got 2kb file .sql in my download folder. does that dump auto saved in server itself in any directory ?????

below is file content

phpipam Database dump

command executed: mysqldump --opt -h 'localhost' -u '' -p'' 'phpipam'

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

-- MySQL dump 10.13 Distrib 5.7.19, for Linux (x86_64)

-- Host: localhost Database: phpipam


-- Server version 5.7.19-log

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT /;
/
!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS /;
/
!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION /;
/
!40101 SET NAMES utf8 /;
/
!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE /;
/
!40103 SET TIME_ZONE='+00:00' /;
/
!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 /;
/
!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 /;
/
!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' /;
/
!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Temporary table structure for view IP Record Changes - Past 30 days

DROP TABLE IF EXISTS IP Record Changes - Past 30 days;
/!50001 DROP VIEW IF EXISTS IP Record Changes - Past 30 days/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/!50001 CREATE VIEW IP Record Changes - Past 30 days AS SELECT
1 AS Change Date,
1 AS User,
1 AS IP Address,
1 AS DNS Name
/;
SET character_set_client = @saved_cs_client;

--
-- Temporary table structure for view Proxy

DROP TABLE IF EXISTS Proxy;

from phpipam.

GaryAllan avatar GaryAllan commented on June 15, 2024

does that dump auto saved in server itself in any directory ?????

No. Downloaded only to your PC.

from phpipam.

sandeepypatil avatar sandeepypatil commented on June 15, 2024

I am trying to take a dump below are the error
[root@XXXXX ~]#
[root@XXXXX ~]# mysqldump -u root -p --opt --all-databases > may2024.sql
Enter password:
mysqldump: Couldn't execute 'SHOW FIELDS FROM Proxy': View 'phpipam.Proxy' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them (1356)
[root@XXXXX ~]#

is there workaround i can create dump in .sql Format which i can migrate on Latest phpipam Version
Thanks in advance

from phpipam.

GaryAllan avatar GaryAllan commented on June 15, 2024

Via the web GUI. Administration -> import export -> prepare MySQL dump

from phpipam.

sandeepypatil avatar sandeepypatil commented on June 15, 2024

i am able to take dump with below commands
mysqldump -u root -p --opt --all-databases --ignore-database=information_schema --ignore-database=mysql > may2024.sql

i have copied dump file to new server on redhad 8 phpipam 1.6

rename the file name MIGRATE.sql when i get in mysql i can see databases which i kept in but on installation page not able to get Automatic database migration

config.php copied from old server to new server & rapleced is there any way i can migrate my .sql dump to new server

from phpipam.

sandeepypatil avatar sandeepypatil commented on June 15, 2024

i can able to access phpipam but i see below error

Your phpIPAM version is too old to be upgraded, at least version1.4is required for upgrade.

from phpipam.

GaryAllan avatar GaryAllan commented on June 15, 2024

Upgrade to v1.6

from phpipam.

sandeepypatil avatar sandeepypatil commented on June 15, 2024

yes from 1.3 to 1.6 i am doing

from phpipam.

sandeepypatil avatar sandeepypatil commented on June 15, 2024

image

from phpipam.

GaryAllan avatar GaryAllan commented on June 15, 2024

yes from 1.3 to 1.6 i am doing

Version 1.7 bumped the minimum supported upgrade version to 1.4.

You're trying to upgrade to v1.7 (master/development) code.

from phpipam.

sandeepypatil avatar sandeepypatil commented on June 15, 2024

image

phpIPAM IP address management [v1.7.0] dbversion 41

from phpipam.

sandeepypatil avatar sandeepypatil commented on June 15, 2024

do i need install phpipam 1.6 so i can get .sql database detected

from phpipam.

GaryAllan avatar GaryAllan commented on June 15, 2024

If you're migrating from anything older than 1.4 you need to upgrade to 1.6 as an intermediate step.

1.19->1.6->1.7+

from phpipam.

GaryAllan avatar GaryAllan commented on June 15, 2024

You can migrate 1.3 straight to 1.6

from phpipam.

sandeepypatil avatar sandeepypatil commented on June 15, 2024

Thanks for suggestion i will downgrade my phpipam version 1.7 to 1.6 can you share latest steps .because we wanted install 1.6 only but might be in github clone link 1.7 get downloaded. if any steps by steps guide only for 1.6 kindly suggest

following i did earlier

phpipam 1.6:

from phpipam.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.