Comments (16)
From the web GUI.
Administration->Import / Export, Prepare Mysql dump
from phpipam.
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.
does that dump auto saved in server itself in any directory ?????
No. Downloaded only to your PC.
from phpipam.
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.
Via the web GUI. Administration -> import export -> prepare MySQL dump
from phpipam.
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.
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.
Upgrade to v1.6
from phpipam.
yes from 1.3 to 1.6 i am doing
from phpipam.
from phpipam.
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.
phpIPAM IP address management [v1.7.0] dbversion 41
from phpipam.
do i need install phpipam 1.6 so i can get .sql database detected
from phpipam.
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.
You can migrate 1.3 straight to 1.6
from phpipam.
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:
-
Copy config.php from old server;
-
Download code from Github, checkout branch 1.6 and pull all required submodules:
# cd /var/www/html/
# git clone https://github.com/phpipam/phpipam.git .
# git checkout -b 1.6 origin/1.6
# git submodule update --init --recursive -
Move copied config.php to new server
-
Follow everything as in https://phpipam.net/phpipam-installation-on-centos-7/ (except php/mysql etc installation), ignore 2.1 (git pull)
from phpipam.
Related Issues (20)
- Password validation errors: -Too many symbols (maximum 10). HOT 1
- phpIPAM Outdated and Vulnerable JavaScript Libraries
- phpIPAM clickjacking vulnerability
- Reponse code : 400
- Reponse code: 400
- Circuit Type showing differently in two windows HOT 1
- Rack Map
- possibility of sorting by columns (in logical circuit)
- API controller/Commonphp: Undefined property: stdClass::$isFolder after upgrade to php8
- IP Version, Type, Serial Shows Null After Scan
- IP history tracking
- Create API endpoint to search custom fields HOT 1
- PHPIPAM and GLPI
- Incompatible php and database schema versions: php=v1.6, db=v1.7 HOT 2
- Adding a new IP failed after upgrading to php8.1.2 HOT 2
- Wrong redirect after IP deletion release 1.6
- Undefined array key "rack"
- Warning: Undefined property: stdClass::$class in /srv/www/htdocs/phpipam/app/subnets/addresses/print-address-table.php on line 216
- Cannot load modules/mod_php7.so into server after Upgrade to phpipam1.6x HOT 2
- Can't Add IP address after upgrade - Error: SQLSTATE[HY000]: General error: 1366 Incorrect integer value: ' Warning: Undefined array key ' for column 'PTR' at row 1 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phpipam.