# Moving large account to IW server

**URL:** <https://forums.interworx.com/t/moving-large-account-to-iw-server/13648>\
**Category:** General Discussion\
**Tags:** large-import, cpanel-import, import\
**Created:** [September 25, 2014, 7:17am UTC](https://forums.interworx.com/t/moving-large-account-to-iw-server/13648 "2014-09-25T07:17:44Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![simchippy](https://forums.interworx.com/letter_avatar_proxy/v4/letter/s/aeb1de/32.png) [@simchippy](https://forums.interworx.com/u/simchippy)\
**Post date:** [September 25, 2014, 7:17am UTC](https://forums.interworx.com/t/moving-large-account-to-iw-server/13648/1 "2014-09-25T07:17:44Z")

</div>

Looking for a recommendation to move a 10gb site from a cpanel server to IW server without down time on old site. I tried the following:

I backed up the site in cpanel and downloaded it. Then tried to upload with import feature in Nodeworx - file size to big I upped the file size limit in php but seems only to change upload size at siteworx account level. Could be wrong but keep getting files size to large error.

I tried to get the two sights connected with mass import but having connection issues maybe due to pub keys.

Trying to Ftp up is having own issues. Set up new siteworx account but because dns is still pointing to the old server not sure how to ftp into the siteworx ftp with dns? I know how to get to the site itself [http://IP](http://IP) Address/~unix name, but how do I ftp in without dns setup?

Any ideas?

Thx

---

<div class="post-metadata">

**Author:** ![d2d4j](https://forums.interworx.com/user_avatar/forums.interworx.com/d2d4j/32/16_2.png) [@d2d4j](https://forums.interworx.com/u/d2d4j)\
**Post date:** [September 25, 2014, 7:37am UTC](https://forums.interworx.com/t/moving-large-account-to-iw-server/13648/2 "2014-09-25T07:37:12Z")

</div>

Hi Simchimpy

Wow, 10GB.

you can FTP using the IP address of server, but using siteworx credentials, i.e. ftp.ip.add.re.ss.

If you want to adjust the PHP file size upload, I believe it needs changing in 2 places, max file size and another, which I’m struggling to remember, but will post when it comes to me sorry, in php.ini, and to be sure, I would restart httpd as well.

I hope that helps a little

Many thanks

John

---

<div class="post-metadata">

**Author:** ![d2d4j](https://forums.interworx.com/user_avatar/forums.interworx.com/d2d4j/32/16_2.png) [@d2d4j](https://forums.interworx.com/u/d2d4j)\
**Post date:** [September 25, 2014, 7:48am UTC](https://forums.interworx.com/t/moving-large-account-to-iw-server/13648/3 "2014-09-25T07:48:31Z")

</div>

Hi Simchimpy

Sorry, please change these 2 settings in php.ini, although I would not like to keep them at 10GB.

upload\_max\_filesize = 10000M  
post\_max\_size = 10000M

I hope that helps

Many thanks

John

---

<div class="post-metadata">

**Author:** ![simchippy](https://forums.interworx.com/letter_avatar_proxy/v4/letter/s/aeb1de/32.png) [@simchippy](https://forums.interworx.com/u/simchippy)\
**Post date:** [September 25, 2014, 7:58am UTC](https://forums.interworx.com/t/moving-large-account-to-iw-server/13648/4 "2014-09-25T07:58:16Z")

</div>

Thanks John, that is exactly what what it did “upload\_max\_filesize = 10000M and post\_max\_size = 10000M” and restarted apache. Will try again.

As far as ftp I tried the ftp.ip address but Im using a shared ip without the dns (its still pointing to the old account. So how do I ftp into a siteworx account without dns? Can it be done with the ip+ unix name?

---

<div class="post-metadata">

**Author:** ![d2d4j](https://forums.interworx.com/user_avatar/forums.interworx.com/d2d4j/32/16_2.png) [@d2d4j](https://forums.interworx.com/u/d2d4j)\
**Post date:** [September 25, 2014, 8:13am UTC](https://forums.interworx.com/t/moving-large-account-to-iw-server/13648/5 "2014-09-25T08:13:46Z")

</div>

Hi Simchimpy

You should be able to use the shared IP address for FTP server address, and then the FTP credentials for the siteworx FTP account as follows:

FTP server 123.456.789.012

username [ftp@mysiteworx.url](mailto:ftp@mysiteworx.url)

password yesIhaveapassword

(sorry, I wonder how many may try those details)

This then bypasses the DNS, as the DNS only resolves the IP of the A record for FTP. Do not use the unix name

to be honest, with PHP, I have never tried to upload 10GB, we do allow 2GB as it’s max. Are you doing the transfer from datacentre to datacentre, or from office to datacentre etc… if later, what speeds are you conneted at

Hope that helps

Many thanks

John

---

<div class="post-metadata">

**Author:** ![d2d4j](https://forums.interworx.com/user_avatar/forums.interworx.com/d2d4j/32/16_2.png) [@d2d4j](https://forums.interworx.com/u/d2d4j)\
**Post date:** [September 25, 2014, 8:56am UTC](https://forums.interworx.com/t/moving-large-account-to-iw-server/13648/6 "2014-09-25T08:56:41Z")

</div>

Hi Simchimpy

I’m sorry, I am slow sometimes, but import is using IW PHP version, therefore any changes to the PHP your making currently is only to the apache version used.

You will need to check IW PHP.ini settings for max file size etc… which I think you can ssh, cd /~iworx/ and look for php.ini I would think, but if I have time later, I’ll try find the php.ini if you have not found it already.

Also, just 1 more thing, a cpanel of just under 5 GB failed due to disk space, so please make sure you have enough disk space, which was posted recently

I hope that helps

Many thanks

John

---

<div class="post-metadata">

**Author:** ![d2d4j](https://forums.interworx.com/user_avatar/forums.interworx.com/d2d4j/32/16_2.png) [@d2d4j](https://forums.interworx.com/u/d2d4j)\
**Post date:** [September 25, 2014, 11:32am UTC](https://forums.interworx.com/t/moving-large-account-to-iw-server/13648/7 "2014-09-25T11:32:48Z")

</div>

Hi Simchippy

Apologies, I have been mispelling your name sorry.

I think to overcome the import of your large backup, you need to adjust the following (IW php.ini), ssh into server, vi ~worx/php.ini and change max post size (which is currently set to 168M), max upload size I think is bigger then your 10GB, or it could just be on boarder, sorry from memory it is 99999M.

Hope that helps, but if your still having import issues, you can always open a support ticket with where you purchased your IW licence from

Many thanks

John

---

<div class="post-metadata">

**Author:** ![stevetoza](https://forums.interworx.com/letter_avatar_proxy/v4/letter/s/c6cbf5/32.png) [@stevetoza](https://forums.interworx.com/u/stevetoza)\
**Post date:** [September 25, 2014, 2:44pm UTC](https://forums.interworx.com/t/moving-large-account-to-iw-server/13648/8 "2014-09-25T14:44:26Z")

</div>

Hello,

Sorry to hi-jack the thread, I normally use the below method 😃

What you could also do its upload the file via scp or ftp (Normally SCP is a lot quicker) to /root or /home on your server then import the account via the command line instead of using the control panel.

To import the account via the command line run the below

~iworx/bin/import.pex --archive /pathtothefile/thefileyouuploaded.tgz --control-panel cpanel --ipv4 x.x.x.x \<- x is the IP address you wish the site to run on

After you have imported the account check everything is ok, Then change your DNS to the new server

Steve

---

<div class="post-metadata">

**Author:** ![d2d4j](https://forums.interworx.com/user_avatar/forums.interworx.com/d2d4j/32/16_2.png) [@d2d4j](https://forums.interworx.com/u/d2d4j)\
**Post date:** [September 25, 2014, 8:56pm UTC](https://forums.interworx.com/t/moving-large-account-to-iw-server/13648/9 "2014-09-25T20:56:54Z")

</div>

Hi steve

I hope you don’t mind but simchippy issue is uploading the file in the first place I believe, but once on the IW server, then your post is excellent for if he wants to do it from CLI

Please post any time, it’s good to see and I am wrong usually, or perhaps not thought enough

Many thanks

John

---

<div class="post-metadata">

**Author:** ![stevetoza](https://forums.interworx.com/letter_avatar_proxy/v4/letter/s/c6cbf5/32.png) [@stevetoza](https://forums.interworx.com/u/stevetoza)\
**Post date:** [September 26, 2014, 12:46am UTC](https://forums.interworx.com/t/moving-large-account-to-iw-server/13648/10 "2014-09-26T00:46:10Z")

</div>

Hello,

The big account I transfer is 70Gb in size, I normally start a new session in a screen (if not installed “yum install screen”) just incase you get disconnected at any point in the transfer

screen -S xfer  
scp [root@oldserverip:/pathtobackupfile.tgz](mailto:root@oldserverip:/pathtobackupfile.tgz) /pathtowhereyouwanttotransfer it to normally /home or /root

Once the transfer has completed type exit to exit out of the screen session

If you get disconnected just run screen -R xfer it will restore the transfer session.

Then import it via my post above

Steve

---

<div class="post-metadata">

**Author:** ![d2d4j](https://forums.interworx.com/user_avatar/forums.interworx.com/d2d4j/32/16_2.png) [@d2d4j](https://forums.interworx.com/u/d2d4j)\
**Post date:** [September 26, 2014, 1:35am UTC](https://forums.interworx.com/t/moving-large-account-to-iw-server/13648/11 "2014-09-26T01:35:05Z")

</div>

Hi steve

That’s a lovely bit of software, but you forgot to tell them how to drop out of screen. Just type exit to return back to ssh.

WOW 70gb, I wouldn’t like to transfer that everyday

Many thanks

John

---

<div class="post-metadata">

**Author:** ![stevetoza](https://forums.interworx.com/letter_avatar_proxy/v4/letter/s/c6cbf5/32.png) [@stevetoza](https://forums.interworx.com/u/stevetoza)\
**Post date:** [September 26, 2014, 1:39am UTC](https://forums.interworx.com/t/moving-large-account-to-iw-server/13648/12 "2014-09-26T01:39:05Z")

</div>

Hey,

Posted edited ;), I transfer that every night believe it or not to backup the site, I know you can guess what site that is 🙂

---

<div class="post-metadata">

**Author:** ![d2d4j](https://forums.interworx.com/user_avatar/forums.interworx.com/d2d4j/32/16_2.png) [@d2d4j](https://forums.interworx.com/u/d2d4j)\
**Post date:** [September 26, 2014, 5:27am UTC](https://forums.interworx.com/t/moving-large-account-to-iw-server/13648/13 "2014-09-26T05:27:00Z")

</div>

Hi steve

Oh yes, and I think my better half will be increasing the size for you.

I know it’s off topic, but backing up using screen, what impact is seen in relation to IW backup (but suspect you would not use IW backup on that size)

Many thanks

John

---

<div class="post-metadata">

**Author:** ![stevetoza](https://forums.interworx.com/letter_avatar_proxy/v4/letter/s/c6cbf5/32.png) [@stevetoza](https://forums.interworx.com/u/stevetoza)\
**Post date:** [September 26, 2014, 5:47am UTC](https://forums.interworx.com/t/moving-large-account-to-iw-server/13648/14 "2014-09-26T05:47:42Z")

</div>

Hello,

Only use screen for doing a manual backup or manual restore if needed, or to move the whole site to another server / host. Every night I backup that site using the IW CLI command and scp it using a transfer.ini to another server, Because the backups are so large have to use nice -n 19 and ionice -c2 -n7 in the IW CLI command to keep the load low on the server :eek:

---

<div class="post-metadata">

**Author:** ![d2d4j](https://forums.interworx.com/user_avatar/forums.interworx.com/d2d4j/32/16_2.png) [@d2d4j](https://forums.interworx.com/u/d2d4j)\
**Post date:** [September 26, 2014, 5:58am UTC](https://forums.interworx.com/t/moving-large-account-to-iw-server/13648/15 "2014-09-26T05:58:30Z")

</div>

Hi steve

Sorry, I never thought of that, may try it though, as we have some large sites.

Have you tried to prioritise the services on a production server, works even on clusters.

Many thanks

John
