How to get list with statuses for migrating!

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

How to get list with statuses for migrating!

Postby GDelkos » Mon Feb 16, 2015 12:10 pm

Hi there

i would like to get my list from a vicibox that i have and migrate to another without loosing my statuses!
is there any way to acomplish that ?
#thank you in advance!
GDelkos
 
Posts: 67
Joined: Tue Dec 02, 2014 8:50 am

Re: How to get list with statuses for migrating!

Postby paolo » Mon Feb 16, 2015 12:19 pm

Hi,

I know that my suggestion might be tedious depending on the amount of Data we are talking about, but why not get the vicidial_lists from your database and export it and import it on the new database. Or you can export your database and zip it and create your new database from the exported database.

Regards,

Paolo
MyCallCloud.com - Cool Vici Customizations - Hosted - Configured - Supported
Web: https://mycallcloud.com
P: 888-663-0760
E: sales@mycallcloud.com
paolo
 
Posts: 48
Joined: Wed Oct 08, 2014 11:38 am

Re: How to get list with statuses for migrating!

Postby GDelkos » Mon Feb 16, 2015 12:25 pm

Hello and thanks for the quick reply but i have like a big amount of data that i would like to migrate, plus i have 3 different servers that i would like to migrate to a big one!
we are talking about loads of list from different servers!
i loss on the status would mean a lot of trouble!
is there any way to get a list with the status in them? so i can migrate them and continue to work?
GDelkos
 
Posts: 67
Joined: Tue Dec 02, 2014 8:50 am

Re: How to get list with statuses for migrating!

Postby paolo » Mon Feb 16, 2015 12:32 pm

Yeah that sounds like a big headache. you might want to merge the data into one database and see if theres its distinct data to see if there could be a possibility of merging your 3 database into one.
MyCallCloud.com - Cool Vici Customizations - Hosted - Configured - Supported
Web: https://mycallcloud.com
P: 888-663-0760
E: sales@mycallcloud.com
paolo
 
Posts: 48
Joined: Wed Oct 08, 2014 11:38 am

Re: How to get list with statuses for migrating!

Postby GDelkos » Wed Feb 18, 2015 7:13 am

SELECT * FROM table AND status FROM vicidial_list FOR list_id = xxxx;

i am trying to get something like that but cant seem to get it working!

any help?
GDelkos
 
Posts: 67
Joined: Tue Dec 02, 2014 8:50 am

Re: How to get list with statuses for migrating!

Postby GDelkos » Thu Feb 19, 2015 7:47 am

No one had the same problem? i am wondering!
Bump!
GDelkos
 
Posts: 67
Joined: Tue Dec 02, 2014 8:50 am

Re: How to get list with statuses for migrating!

Postby paolo » Thu Feb 19, 2015 10:49 am

GDelkos wrote:No one had the same problem? i am wondering!
Bump!



Here's the query that you wanted I think

select * from vicidial_list where list_id in (select list_id from vicidial_lists where campaign_id = ?);

just replace the questionmark at the end with the campaign id
MyCallCloud.com - Cool Vici Customizations - Hosted - Configured - Supported
Web: https://mycallcloud.com
P: 888-663-0760
E: sales@mycallcloud.com
paolo
 
Posts: 48
Joined: Wed Oct 08, 2014 11:38 am

Re: How to get list with statuses for migrating!

Postby mav2287 » Thu Feb 19, 2015 12:11 pm

Why not just go to the list detail page and click download at the bottom. Then on your never servers you just do an import? You can even create a template on the never servers that lines up with CSV so all you have to do is download and upload. Unless you have a ton of lists to do this seems like the easy way to do this.
ViciBox5.x86_64-5.0.3.preload from .iso upgraded to 13.1 | VERSION: 2.10-444c BUILD: 150129-0828 | 1.8.32.2-vici | Dual Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel twin quad core 3Ghz Xeon chips | 32gb of RAM
mav2287
 
Posts: 256
Joined: Thu Oct 03, 2013 6:47 pm

Re: How to get list with statuses for migrating!

Postby paolo » Thu Feb 19, 2015 2:55 pm

I think I found a way to get this rolling.

serverip/vicidial/lead_tools_advanced.php

is the advance lead tools management

you can move all you list to a specific list so that it can be downloaded in one file.

I believe this will retain the status of the leads.

Once you have merged the leads into one list download them and re-import on new server.


Good Luck with your project and I hope this helps
MyCallCloud.com - Cool Vici Customizations - Hosted - Configured - Supported
Web: https://mycallcloud.com
P: 888-663-0760
E: sales@mycallcloud.com
paolo
 
Posts: 48
Joined: Wed Oct 08, 2014 11:38 am

Re: How to get list with statuses for migrating!

Postby GDelkos » Mon Feb 23, 2015 10:38 am

thank you so much paolo for the help!

i am now stuck on how to upload them since i do it from the load new leads and it dosent keep the status...it makes all leads as new leads!

/usr/share/astguiclient/VICIDIAL_IN_new_leads_file.pl --help

i know this can be helpfull but i have no idea how that works even with the help!

any help would be awesome!
GDelkos
 
Posts: 67
Joined: Tue Dec 02, 2014 8:50 am

Re: How to get list with statuses for migrating!

Postby paolo » Mon Feb 23, 2015 10:51 am

Do an insert statement directly into the database on the vicidial_list table
MyCallCloud.com - Cool Vici Customizations - Hosted - Configured - Supported
Web: https://mycallcloud.com
P: 888-663-0760
E: sales@mycallcloud.com
paolo
 
Posts: 48
Joined: Wed Oct 08, 2014 11:38 am

Re: How to get list with statuses for migrating!

Postby GDelkos » Mon Feb 23, 2015 11:05 am

will it then also show on my webform?i mean the inserted lists!
GDelkos
 
Posts: 67
Joined: Tue Dec 02, 2014 8:50 am

Re: How to get list with statuses for migrating!

Postby paolo » Mon Feb 23, 2015 3:59 pm

GDelkos wrote:will it then also show on my webform?i mean the inserted lists!



I believe it should. If you extracted the data off the database directly andinserted them directly the mapping should still be there.
MyCallCloud.com - Cool Vici Customizations - Hosted - Configured - Supported
Web: https://mycallcloud.com
P: 888-663-0760
E: sales@mycallcloud.com
paolo
 
Posts: 48
Joined: Wed Oct 08, 2014 11:38 am

Re: How to get list with statuses for migrating!

Postby GDelkos » Tue Feb 24, 2015 4:38 am

paolo u are a lifesaver any chance to give me some light onthe insert command for mysql?
>>>> total n00b here on mysql!
GDelkos
 
Posts: 67
Joined: Tue Dec 02, 2014 8:50 am

Re: How to get list with statuses for migrating!

Postby paolo » Tue Feb 24, 2015 10:21 am

Please be reminded that it's not just the vicidial_list that you will need to import since the table is linked to other tables and fields you will need to insert other data as well. Now for the SQL tips I would suggest w3schools.com
MyCallCloud.com - Cool Vici Customizations - Hosted - Configured - Supported
Web: https://mycallcloud.com
P: 888-663-0760
E: sales@mycallcloud.com
paolo
 
Posts: 48
Joined: Wed Oct 08, 2014 11:38 am


Return to Support

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 84 guests