data-migration

Apache Solr index upgrade from 4.7 to 5.2

痞子三分冷 提交于 2019-12-20 06:19:49
问题 We are looking to upgrade from Apache Solr 4.7 to ApacheSolr 5.2. upgraded server and run script to upgrade the data index. it is showing below errors. ./upgradeindex.sh -t 5 /home/solr Target version is 5 Downloading http://central.maven.org/maven2/org/apache/lucene/lucene-backward-codecs/4.10.4/lucene-backward-codecs-4.10.4.jar curl: (7) couldn't connect to host Downloading http://central.maven.org/maven2/org/apache/lucene/lucene-backward-codecs/5.5.4/lucene-backward-codecs-5.5.4.jar curl:

Migration Access to SQL server 2012

ⅰ亾dé卋堺 提交于 2019-12-18 09:36:48
问题 For an project, I need to migrate an Access database to SQL server 2012 express, I found some ways to do this, like using Microsoft up-sizing, but this question is not very technical but just to find out alternative ways, the database in access contains confidential data, so im not allowed to see data and I want to find out is there is any procedure that can be useful for me to achieve migration with out seeing the database itself and how to verify the data is exact in both. I don't have

Migrating from Postgres to SQL Server 2008

谁说我不能喝 提交于 2019-12-18 04:02:58
问题 I need to migrate a database from Postgres 7 to SQL Server 2008. I am familiar with the SSIS Import and Export wizard but I am stumped about how to define the data source or define the data provider. What is the best way to migrate Postgres to SQL Server, and how do I define data sources/drivers for postgres? 回答1: I wish you the best of luck in trying to import from PostgreSQL into SQL Server using SQL Server Import and Export Wizard. However, I have read numerous message board threads with

Migrating from Postgres to SQL Server 2008

最后都变了- 提交于 2019-12-18 04:02:13
问题 I need to migrate a database from Postgres 7 to SQL Server 2008. I am familiar with the SSIS Import and Export wizard but I am stumped about how to define the data source or define the data provider. What is the best way to migrate Postgres to SQL Server, and how do I define data sources/drivers for postgres? 回答1: I wish you the best of luck in trying to import from PostgreSQL into SQL Server using SQL Server Import and Export Wizard. However, I have read numerous message board threads with

How do I move a column (with contents) to another table in a Rails migration?

蓝咒 提交于 2019-12-17 21:49:49
问题 I need to move some columns from one existing table to another. How do I do it using a rails migration? class AddPropertyToUser < ActiveRecord::Migration def self.up add_column :users, :someprop, :string remove_column :profiles, :someprop end def self.down add_column :profiles, :someprop, :string remove_column :users, :someprop end end The above just creates the new columns, but values are left empty... I want to avoid logging in to the database to manually update the tables. If there is a

mysqldump equivalent for SQL Server

倾然丶 夕夏残阳落幕 提交于 2019-12-17 15:44:09
问题 Is there an equivalent schema & data export/dumping tool for SQL Server as there is for MySQL with mysqldump. Trying to relocate a legacy ASP site and I am way out of happy place with working on a windows server. Note: The DTS export utility own seems to export data, without table defs. Using the Enterprise Manager and exporting the db gets closer with exporting the schema & data... but still misses stored procedures. Basically looking for a one does it all solution that grabs everything I

How (and whether) to populate rails application with initial data

こ雲淡風輕ζ 提交于 2019-12-17 15:19:11
问题 I've got a rails application where users have to log in. Therefore in order for the application to be usable, there must be one initial user in the system for the first person to log in with (they can then create subsequent users). Up to now I've used a migration to add a special user to the database. After asking this question, it seems that I should be using db:schema:load, rather than running the migrations, to set up fresh databases on new development machines. Unfortunately, this doesn't

Django: What are the best practices to migrate a project from sqlite to PostgreSQL

淺唱寂寞╮ 提交于 2019-12-17 15:17:40
问题 I need to migrate a complex project from sqlite to PostgreSQL. A lot of people seems to have problem with foreign keys, data truncature and so on... Is there a full automated utility ? Do I need to check some data or schema before the migration ? Edit : I tried django-command-extensions DumpScript but it doesn't run on my 2GB RAM PC with my current DataSet. 回答1: In my experience, dumping & restoring from SQL doesn't work properly. You should follow this sequence instead: 1. Dump db contents

What is the best approach to change primary keys in an existing Django app?

孤街醉人 提交于 2019-12-17 07:17:44
问题 I have an application which is in BETA mode. The model of this app has some classes with an explicit primary_key. As a consequence Django use the fields and doesn't create an id automatically. class Something(models.Model): name = models.CharField(max_length=64, primary_key=True) I think that it was a bad idea (see unicode error when saving an object in django admin) and I would like to move back and have an id for every class of my model. class Something(models.Model): name = models

SSIS Data Migration: Split Flat table into Parent + Child/Grandchild tables

帅比萌擦擦* 提交于 2019-12-14 02:07:34
问题 I need to migrate data in a large flat table located in SQL Server 2005 into a new SQL Server 2005 schema that consists of a parent table and multiple child tables. This seems like the opposite of a merge or merge join in SSIS but I don't understand how I would go about accomplishing this. Any recommendations are greatly appreciated. Ever seen any examples of how other accomplish this sort of thing? The flat Source table [FlatSource] has < 280K records and some garbage data so I will need to