Link Files Instead Of Copying
Apr 5, 2008
to execute the following command into a Solaris 5.11 system.
cp -al ......
The problem is that either -a or -l works on Solaris.
Man pages are not installed and all I can get is:
Usage: cp [-f] [-i] [-p] [-@] f1 f2
cp [-f] [-i] [-p] [-@] f1 ... fn d1
cp -r|-R [-H|-L|-P] [-f] [-i] [-p] [-@] d1 ... dn-1 dn
What I want to achieve is link files instead of copying and also keep permissions on files.
View 1 Replies
ADVERTISEMENT
May 20, 2009
There is a directory with many files and subdirectories. I want to copy ALL the filesnames beginning with post-1111 to another folder. What is the command to do this?
View 5 Replies
View Related
Jul 8, 2009
I recently bought a VPS and set up everything for it manually (apache, php, mysql). I had an old host which I got my files and MySQL database from. I have successfully copied them all over and imported the .sql file. I have also checked my config options and updated them to the new settings.
However, when I go to my site, I just get a blank, white screen. The site is fine because a test file that doesn't use my phpBB installation from before renders properly as well as the index.php file from the ./install/ directory of phpBB. If it was a connection problem with MySQL, I would assume that it would print some sort of error stating that it can't connect.
Here are some steps that I've tried so far (I would use a list here but I supposedly need five posts):
* chmod 777 on my entire /var/www/html/ directory.
* chown /var/www/html/ to the apache user, which is the one running the apache webserver.
* Checking error logs and not finding anything that seemed catastrophic (i.e. just notifications about a favicon being missing).
* Editing the .htaccess file to be empty.
At this point, I don't know what to do. I am willing to reinstall phpBB properly, although I would really rather not, and I imagine that there's some way to salvage my previous installation. If you're wondering why I'm posting here instead of the phpBB forums, it's because I have a hunch that it's more likely related to my installing MySQL, Apache and PHP.
My site is apollorp (dot) org (I would link here but I need five posts). As a test, try going to apollorp (dot) org (slash) test (dot) php, which should work.
View 0 Replies
View Related
Jun 4, 2014
I want to be able to copy 1000's of files from one subscription to another or rather from one domain to another on the server without having to FTP them each time. Is there a way which this can be done directly in Plesk and avoid the need to ftp the same 1000's of files into each subscription ? FTPing on my connection is really slow and takes 2-3 for each subscription / domain, whereas if I could just FTP to the server once and then copy&paste the files between subscriptions then this would save me a huge amount of time...
View 2 Replies
View Related
Mar 30, 2013
I moved my wordpress blog from blog.domain.info to domain.net i own both the tld domains. google search already had the posts from old url indexed. if someone clicks in it it shows 404 error. how do i redirect the traffic from old url to new url via htaccess. I dont want duplicate post on google. how to make the transition? i am confused with many online articles about htaccess redirect.
View 2 Replies
View Related
Jul 6, 2007
I am having a hosting account with old host which is limited to 10 GB, and there i am having a mysql Database which is of 2 GB, i want to move it to new host via SSH ... as that Database can not be downloaded via phpmyadmin due to its size.
So i want to "tar" the mysql directory and ssh/scp to new host!...
I am applying this command...
tar -cvf r.tar /var/lib/mysql/in_supp | ssh user@newhost.com
But i am getting errors,
Please give me a command which can move my entire Database dump to new server, without creating any copy at old server "as i do not have any space there"
View 14 Replies
View Related
May 18, 2009
mysql: Copying to tmp table, what causes that?
My server is majorly overloading and mysql is atop the cpu, and when I do a processlist there are about 20 copying to tmp table processes.
View 3 Replies
View Related
Oct 18, 2009
is there a way to copy mysql from an existing db, and then renaming it to another name?
I would like to copy my current db from a live forum site, and because I got a test forum but I need that test forum to use my current live db...but i want it to use a copy of the live db. The db has to be a different name for the test site. Sorry hard for me to explain.
Is there an easy way to do that? I would do it via cpanel backup and upload but the db is 2gb's gzip....
I can do it via ssh or whm as well.
View 2 Replies
View Related
Jan 26, 2009
I have a dedicated managed server (with liquidweb) with Cpanel and WHM.
I want to duplicate a database that I have in one account over to another account on the same server.
Usually the way I would do that is to use the Cpanel Backup tool, download the database from the first account and then restore it on the second account.
This time however the database is fairly large and my connection is not very fast, so downloading, and then uploading the database backup would take ages.
View 9 Replies
View Related
May 1, 2008
Did anyone ever had an issue, when you click fetch accounts list and it displays 0 packages and 0 accounts? Even if there are hundreds of accounts in server.
cPanel 11.18.5-R23897
Could this be cPanel bug?
View 2 Replies
View Related
Jan 30, 2007
I am trying to copy one account from another server through the option "Copy an account from another server with password" in WHM but after filling server ip, username and password it starts trasnfering and showing me dosts like below :-
............... ............... ............... ............... ............... ............... ............... ............... ............... ............... ............... ............... ............... ............... ............... ............... ............... ............... ............... ............... ............... ............... ............... ............... ............... ............... ............... ............... ............... ............... ............... ...............
After few lines its just stoped working,
View 14 Replies
View Related
Nov 8, 2007
We seem to be doing a lot of this lately with clients upgrading to larger hard drives, etc.
I'm curious as to what works best for most folks that do have physical access to their servers when copying drives in servers, like when upgrading to larger hard drives or replacing a hard drive.
I know there are "hardware" drive copiers, but what about software methods?
Especially when upgrading both hard drives in a dual hard drive server.
View 5 Replies
View Related
Oct 3, 2007
I want to copy a 5GB mysql database, but don't want to dump and then import it again since it will take long time.
Alternatively, I am thinking of copying the directory of the database using the CP command.
First, I will close the forums from the control panel.. then I will use this command:
cp -rp /var/lib/mysql/mydatabase /var/lib/mysql/mydatabase_copy
View 11 Replies
View Related
Apr 23, 2008
a way to preserve folder/file permissions in a windows environment. We are copying files from one drive to another on one of our servers. It's crucial to preserve the permissions - but i've done some research and can't find any way to get this done...
Anybody familiar with any methods on how to approach this? We're running windows 2003 server.
View 2 Replies
View Related
Sep 25, 2007
I've been searching for the best way to copy a file, say .htaccess, to multiple users dir, tried "cp -f .htaccess /home/*/public_html" but received an error "omitting dir /home...."
View 3 Replies
View Related
May 6, 2014
I am trying to write a PHP script for copying the content of one subdomain to another, like with the button Website Copying but automatically.
I can't seem to find the API model for that, but I am sure it must be possible to do.
View 3 Replies
View Related
Nov 21, 2008
I get error while copying accounts from Plesk to Cpanel and hence the emails are not copied though the data is copied. The error goes like this
pXa Copying Mail files....ERROR 1064 at line 1: You have an error in your SQL syntax near 'SELECT cl_id FROM domains WHERE id = 1018 )' at line 1
I am running Plesk 8.01 and the latest stable release of Cpanel. Is it because of the Plesk version I have? If yes, then what should be the Plesk version?
View 2 Replies
View Related
Mar 7, 2007
A customer would like to move his hosting from another host to me. But the other host does not want to cooperate and give me access to the panel or files. Threw the customer I did get the ftp information, and within the config file I have the database username and password.
How is it possible to copy the database, without having the hosting panel access?
View 8 Replies
View Related
Aug 9, 2014
I'm having a problem when copying folders into another folder using the same name.e.g. there's a folder called css in httpdocs/backup/css and also httpdocs/css. However, I'm trying to restore the backup and actually copy the /css dir from httpdocs/backup to httpdocs. Plesk should overwrite the existing target css dir (and its content/files) in httpdocs/css. However, Plesk creates a new css dir inside httpdocs/css so I have the "original" httpdocs/css dir content intact and also the css dir (from httpdocs/backup/css) copied into httpdocs/css so the full path is httpdocs/css/css
I'm highlighting the httpdocs (not /css dir) in the File manager - Copy Files window. I've tried that on a few installs and experiencing issue on each of them. Please see the attached screenshots.
Step 1. Select (check) the css dir and click copy (or move, result is the same)
Step 2. Mark the httpdocs dir (it doesn't matter if you click the Replace existing files checkbox)
Step 3. Final result, css dir from httpdocs/backup copied into httpdocs/css/
I've compared the dir content several times and definitely the css dir from httpdocs/backup is copied to httpdocs/css so the full path would be: http docs/css/css and the original "old" files from css will remain there.
View 1 Replies
View Related
Jun 11, 2015
I've been happily copy databases between subscriptions in Plesk 11.5xx for years but having updated to 12 the feature no longer works.
In the copy database screen when the 'local MySQL server' option is selected in the drop down the 'Copy to existing database' radio button is disabled.
My service provider tells me this is a feature change.
View 2 Replies
View Related
Jan 9, 2008
Currently I have DNS as well as IIS configured on the same server. I am using host headers to seperate the sites on IIS. My question is how do I link my DNS to the website residing on IIS? My DNS server set (I can ping it from the internet) and I think I have IIS configured right, but I must be missing something?
View 1 Replies
View Related
Sep 22, 2007
On a webpage, I have two links:
[url]
and
[url]
The first one goes 404, and if your refresh the page you get the page.
The second goes directly to the page.
There is one other file in the /xyz directory and it is not named index.* and there is a temp directory.
I can type the url in a browser either way and it gets to you directly to the page. It seems only when it is a link that it is a problem.
View 4 Replies
View Related
Jan 30, 2008
I have a .swf file that I directly linked to digg. How can I redirect that specific file to a different page/server to relieve some of the pressure from all those users?
View 0 Replies
View Related
Oct 27, 2009
any reliable audio hosting service that can offer an *.mp3 - ending link to a file, not the "server.com/folder/4j8uz22ewssw" thing, please? In other words I'm looking for a hosting service with a direct link to an mp3 (just to clear things up, its not copyrighted since I'm the owner of it).
View 14 Replies
View Related
Jun 5, 2008
I was wondering: say I have a website where users discuss different articles and when a user wants to discuss a specific article, he/she will be able to link to that article and then say what they have to say.
Certainly, copying and pasting would violate the site's copyright but simply including a little link sounds like a legal alternative. Is it really? Or, technically that would still require me as the webmaster, or the user who posted it to request permission just for linking?
I know nobody would care because it only gives more traffic to the site but legally, would permission be needed?
View 5 Replies
View Related
Jul 1, 2008
I have 2 TV link sites similar to tv-links.cc etc. Does anyone know where I can host such sites?
I know there are some legal issues with those sites (in certain countries) so I'm not sure who can/will host them.
I'm currently at FDC,
View 4 Replies
View Related
Nov 4, 2008
I have a dedicated server hosted at domain.com. I want to get a new server and link it to something.domain.com
View 3 Replies
View Related
Jul 7, 2007
If you know about What script to use for 1:1 traffic exchange for a entertainment websites, please let me know as I am looking for some php scripts that does that automatically for a entertainment website
View 2 Replies
View Related