Hello Sir, I have a problem. I am moving the server. And I Tarnsfer the public_html tar file from old server to new server via this command: rsync -avze ssh /home/user5/public_html/homebackup.tar root@IP:/root Code (markup): I run this command on the old server. But i am facing a problem. On the new server i did not have direct access to the root its indirect. like first i have to login with the admin1 su - than root Code (markup): Please tell me the way how to move the file. Thank you very much
I am not sure what's your problem, but it seems like you need to transfer files to your account homedir, then switch to root and unpack your archive.
After I log in, I need to do a "su -" command and couldn't quite figure out how to do that. Because the user has no access and only with root i can do this how can i do this with root while there is need to su - for root access ? how can i do this?
not sure why is it a biggie. you could a) ftp/secure ftp it via 3rd party, e.g. home computer b) rsync it via a user account then move it whenever you want using root
yeah, I'd recommend transfer your old file this way to avoid troubles if you are not familiar with Unix/linux command
Login to New Server Via SSH and run this command: wget http:// your site name .com/ homebackup.tar Code (markup): With no space in between.