Questions tagged [migrate]

Migration is the process of moving data from container to another. This includes migration to and from physical containers (e.g. hard disks) and migration to and from logical containers.

Migration is the process of moving data from container to another. This includes migration to and from physical containers (e.g. hard disks) and migration to and from logical containers.

Migration often involves some form of reorganization of the data.

Physical migration includes (but is not limited to):

  • moving data from an old hard disk to a newer one
  • moving data from one server to another

Logical migration includes (but is not limited to):

  • migrating data from one database system to another (e.g. Oracle 10g to MySQL 5)
  • migrating existing web applications from one web server to another
  • migrating a cell phones contact list to another cell phone

In contrast to , the data held in the original system after the migration process has been successfully completed is not necessarily used any more.

1099 questions
7
votes
4 answers

How to migrate data from Cassandra cluster of size N to a different cluster of size N+/-M

I'm trying to figure out how to migrate data from one cassandra cluster, to another cassandra cluster of a different ring size...say from a 5 node cluster to a 7 node cluster. I started looking at sstable2json, since it creates a json file for the…
Turbo
  • 2,490
  • 4
  • 25
  • 30
7
votes
4 answers

flask db init leads to "KeyError: 'migrate'

I created already a database and added 2 tables (venue, artist). This is a party from my app.py: import json import dateutil.parser import babel from flask import Flask, render_template, request, Response, flash, redirect, url_for from flask_moment…
Luke
  • 195
  • 1
  • 1
  • 8
7
votes
2 answers

Django Postgresql dropping column defaults at migrate

i'm facing an issue with defaults values of tables. for example i have this model: class model1(models.Model): field1 = models.CharField(max_length=50, default='My Default Value 1',db_column='field1') field2 =…
7
votes
2 answers

Migrate Django development database (.sql3) to Heroku

How does one migrate their Django .sql3 development database to heroku? Per here, and here I tried: heroku pg:psql --app sblic < database.sql3 but my Django admin shows no new uploads (even after syncdb/migrate/ or collectstatic
ecoe
  • 4,994
  • 7
  • 54
  • 72
7
votes
1 answer

Test whether DB migration result are consistent with (ORM)? models

I am using migrate to create SQL database schema and populate it with initial data. Later SQLAlchemy is used to work with this DB. How could I test that my SQLAlchemy models are relevant/correct for real DB schema generated by migrate?
Roman Bodnarchuk
  • 29,461
  • 12
  • 59
  • 75
7
votes
2 answers

How can I upload a DB to Heroku

I have a shared heroku app, now I wan't to create a test app also in heroku with the same code, so I've created a new app, ok, the thing is that for the app to work it needs a database, so I'm trying to upload my local DB but don't know how to. Can…
Sascuash
  • 3,661
  • 10
  • 46
  • 65
7
votes
6 answers

Load Excel data sheet to Oracle database

I am looking for a free tool to load Excel data sheet into an Oracle database. I tried the Oracle SQL developer, but it keeps throwing a NullPointerException. Any ideas?
whiz
  • 1,063
  • 2
  • 11
  • 19
7
votes
2 answers

Cannot get django-activity-stream database tables installed

Using django-south, is it possible to setup a table only to the last, most recent configuration without applying all the preceeding migrations? We are interested in using a 3rd party tool (django-activity-stream) but are having difficulties running…
Aitch
  • 934
  • 11
  • 20
6
votes
1 answer

Primefaces 3.0 to 3.1 migration

I try to migrate from 3.0 to 3.1 primefaces and gave me error on the first page. I'm testing the code that works perfectly with the jar-3.0.RC2.jar primefaces and try to change the primefaces-3.1.RC1.jar. Thank you for your help. SERVER: JBOSS 6…
Paul Rodas
  • 63
  • 1
  • 4
6
votes
2 answers

error: Could not find document for file ... under target project workspace in process upgrade from Framework to .Net6

When I try to upgrade my project from Framework to .Net6 by migration tools, I get an error messages as error: Could not find document for file "Some File Path" under target project workspace I can`t find an answer, and want a right solution, that…
isx
  • 61
  • 4
6
votes
1 answer

Prisma: "Can't reach database server" when trying to connect to digitalocean database

So I'm currently following this tutorial from DigitalOcean: https://www.digitalocean.com/community/tutorials/how-to-build-a-graphql-api-with-prisma-and-deploy-to-digitalocean-s-app-platform I created a postgres database hosted on digitalocean. When…
HavanaSun
  • 446
  • 3
  • 12
  • 39
6
votes
6 answers

Unable to install golang migrate library on Ubuntu 20.4

Steps followed as in the documentation $ curl -L https://packagecloud.io/golang-migrate/migrate/gpgkey | apt-key add - $ echo "deb https://packagecloud.io/golang-migrate/migrate/ubuntu/ $(lsb_release -sc) main" >…
sajir mohamed
  • 355
  • 1
  • 3
  • 9
6
votes
2 answers

ProgrammingError at "url" relation "app_model" does not exist LINE 1: SELECT COUNT(*) AS "__count" FROM "app_model"

I've searched every Stack Overflow question on this error but none of the responses helped. I'm getting this error when trying to access the admin page of this particular model (AgentBasicInfo). 'manage.py makemigrations' works fine. 'manage.py…
Valachio
  • 1,025
  • 2
  • 18
  • 40
6
votes
4 answers

How do I add taxonomy terms using Drupal Migrate

I'm using the migrate module to copy data from several sources to a new drupal installation. So far, I'm able to replicate a lot of what I need from the examples provided with the module. I'm currently stuck on adding terms or taxonomy to newly…
labue
  • 2,605
  • 3
  • 26
  • 35
6
votes
2 answers

migrate command not found error even if migrate is installed

I have executed command - npm install migrate and it has executed successfully. But when I try to execute the command migrate in terminal it gives me error as migrate command not found Please find image here. Has anyone got the same error?