Hello, Can please any expert in Linux administration give me a help? I want to move from my old shared hosting server to my new dedicated server. I need to move 6GB of files from the old to new one. Just can't find the best way to do it. Tried "scp" and "rsync" but it always gives some errors at the middle of the transfer process. Can someone please help out with the proper way of doing this? Thank you.
can you please post here the complete TAR and GZIP command to archive and compress all files all together? thanks
You can make your files directory to a tar file then wget to the new server. tar -cvf /direcotry.tar direcotry/ or if you want to compress also tar -czvf direcotry.tgz direcotry/
i'm trying to use: tar -czvf backup.tgz /home/homedir/ How can i exclude tar from including the same backup.tgz file in the backup?
It will not include backup.tgz if you use this command tar -czvf direcotry.tgz direcotry/ It could be like tar -czvf direcotry.tgz public_html/ or tar -czvf direcotry.tgz htdocs/ etc
IF ur server and the another server have Cpanel u cand transfer a full backup by chose " copy account " Samy ,
already tried that, gets corrupted missing files and directories after moving... I managed now to compress file to .TGZ, deleted first some old trash and then compressed. Its about 3GB tgz format. Uploading now directly from shell into new server using FTP. I think now its working...
I've had to move a couple gig site before using that method. It sucks but it's the only way I could get it to work.