Old 5th March 2007, 01:43
alexillsley alexillsley is offline
Senior Member
Join Date: Dec 2006
Posts: 396
Thanks: 27
Thanked 4 Times in 4 Posts
Question moving sites

Im moving moving my site from my paid to hosting service to my own server now. Though currently i do not have a good copy of my files on my paid service anywhere as i edit files and upload files from different folder on my hard disk so its all messy and the only good copy is on my web hosting server im paying for.

I currently have got FTP and shell access to this server.

I tryed putting all my files on my paid hosting service into a tar file through shell though for some reason it had not put all the files in the tar. I read somewhere on the internet that you should make a text file with every file in it and then run tar command with the file list, so every file gets put in the tar. But it did not explain how to do this? It said with shell access you can create a list in a text file automatically. How can i do this??

Last edited by alexillsley; 5th March 2007 at 01:45.
Reply With Quote
Sponsored Links
Old 5th March 2007, 19:38
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts

You can make a tar.gz file of a directory (and everything that's in it) like this:
tar -pczf directory.tar.gz directory/
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Old 5th March 2007, 23:36
alexillsley alexillsley is offline
Senior Member
Join Date: Dec 2006
Posts: 396
Thanks: 27
Thanked 4 Times in 4 Posts

thanks hopfully that will work, i did the same last time though with differnt parmaters i think it was like xcf or something
Reply With Quote
Old 6th March 2007, 09:53
martinfst martinfst is offline
Senior Member
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst

the c stands for create, the x for extract. See
man tar
for a full list and explanation of all options.
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
all sites are getting "Index of /" page instead of the domain directory jagnag1 Installation/Configuration 3 17th December 2006 13:18
Tips to move Ensim sites? SyRenity Tips/Tricks/Mods 2 24th November 2006 23:37
Apply quotas to users instead of sites / multidomain BenDeb General 5 8th October 2006 12:08
error sites disabled but still indevidual error sites tom Installation/Configuration 3 13th May 2006 13:37
Sites Viewed From Server Go To Shared IP mojosound General 4 3rd April 2006 21:13

All times are GMT +2. The time now is 07:10.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.