rajuru

Active Member
Nov 13, 2005
25
0
151
dear i have two account in two hosting server. same website. now i want to transfer all files from old server to new server. Remote Backup is boring. i need to copy files only under public_html folder.when i unzip the remote backed up file in my new server, i can't replace the public_html folder. in my root folder (public_html) there are many files, so ican't copy each manually.

how can i overcome this?
 
Last edited:

ujr

Well-Known Member
Mar 19, 2004
290
0
166
just backup the files and subfolders of public_html, rather than the public_html and subfolders.
then you can simply drop the backup in the public_html of the new site, then extract it, without replacing the public_html folder itself
 

ujr

Well-Known Member
Mar 19, 2004
290
0
166
from shell you can do this... but not from within cpanel.

as fas as server to server transfers, check out SCP File Transfer
 

moogle

Well-Known Member
Apr 7, 2003
94
0
156
How much access do you have? Shell?
I would tar up everything inside public_html (not the folder itself) then use wget to move files.

If you don't have this access, ask the old server admin to do the tar and the new one to do the wget + untar.