Copying Whole Dump Over Ssh

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

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


Plesk 12.x / Linux :: Unable To Rotate Dump - The Dump Rotation Is Failed With Code 121

Feb 4, 2015

I have enabled the backup rotation of some websites to my "Personal FTP Repository", the problem is that Plesk is unable to do it due this error:

Unable to rotate dump: The dump rotation is failed with code '121' at /usr/local/psa/admin/bin/plesk_agent_manager line 1041.

I read here [URL] .... that it should be solved but I have the version 12.0.18 Update #33, why does it persist?

View 5 Replies View Related

Copying Certain Files

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

Should I Dump My Host For 1&1

Jun 10, 2008

I love my current host. It's fast, has excellent support, uptime is great, and I get a lot of features. I'm paying $10 a month for it, though.

I'm thinking about moving to 1&1. Is this a bad idea? I had 1&1 about a year or two ago, but canceled it because I didn't end up building the website I ordered it for. Didn't have any issues, but the cancellation process was a pain. Nothing major, though.

The thing that 1&1 has going for is it is the price. $4 a month is a darn good deal.

That's 2.5x cheaper than my current host. I could save a lot of money. I know, you get what you pay for...

So am I being stupid? I don't use a lot of bandwidth (I used 1.5GB last month, and average less than 1GB), and my website hosts my software that I sell, so a lot of downtime is obviously bad. The only thing I see that's bad about the $4/month plan is no ssh access, which is really only convenience for me (I don't require it).

View 14 Replies View Related

How To Dump All Relaying Email?

Nov 10, 2008

How to dump all relaying email?

I have a domain that used to have a huge members list with thousands of email addresses. Now that I enabled its web site, the server attempts to relay email meant for those harvested addresses. Also, spam relayers picked up that the DNS is live and try to use the domain to deliver spam What can I do with the MX records in order to dump all email without the server handling it? Currently all email is set to :blackhole:

View 4 Replies View Related

Mysql: Copying To Tmp Table

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

Copying Mysql Db In Cpanel

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

Copying A Database From One Account To Another

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

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 View Related

Copying Multiple Accounts

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

Core Dump Files

Dec 5, 2007

Files such as core.12762 keep appearing in the root web directory. Amount of core files appearing seems to be proportional to traffic. On average one core file per few million php requests.

Will appreciate advice on how to troubleshoot this issue, or how to disable the core dumping. As it is one error per few million requests it does not seem significant enough to spend several hours troubleshooting.

View 1 Replies View Related

Copying Account From Other Server

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

Restoring 1.5GB SQL Dump (Postgres)

Jan 23, 2007

This seemed like the most appropriate place so I decided to post here.

Fedora Core 4, 3GHz, 2GB RAM
Postgres 8, Apache 2, PHP 4

The issue is that I have with me a 1.5GB SQL dump from Postgres 8 which I extracted using pg_dump.

Restoring it seems to be an issue on this PC. I've tried modifying memory directives in postgresql.conf as well as the kernels SHMAX value but no go.

I tried a bunch of other things such as gzipping the file so that it was only 100mb and doing:

gunzip -c dump.sql.gz | psql my_db
But I recieved many errors saying "invalid command N" and I also got a syntax error notice and the process terminated.

I tried to at least try and enter some data manually but vim is incredibly slow since this is a 1.5GB file.

Is there a way I could perhaps split up my db dump and then import them into the db one by one?

View 2 Replies View Related

Drive Copying/Cloning

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

CPLinks Categories SQL Dump

Oct 3, 2007

I am trying to configure CPLinks, anyone know where can I find such category dumps or do I need to key in one by one? Tried to contact cplinks side for the dumps but no response. Do let me know if anyone had prepared such dumps.

View 1 Replies View Related

Copying A Large Database

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

Preserving File Permissions While Copying

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

Copying A File To Multiple Users Dir

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

Plesk 11.x / Windows :: API For Copying Website

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

Error While Copying Website From Plesk To Cpanel

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

Blank Render After Copying Over Files From Previous Box

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

How To Import Mysql Dump File To Database By SSH

May 19, 2009

How to import mysql dump file to database by SSH?

How to import mysql database host to other host database by SSH?

View 4 Replies View Related

Mysql Database Dump (150mb) Utf8

Jun 9, 2008

recently I had problems with backing up my ~150mb database through PHP. And I know some people are backing their databases to a dump file through terminal.

My database contains UTF-8 and other characters. I have tried simply dumping with mysqldump but I doesn't seem to work, when restoring all the characters are messed up.

Is there any command to tell that the database is UTF-8?

View 1 Replies View Related

Copying (MySQL) Database Without Panel Access.

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

Plesk 11.x / Linux :: Copying Files Between Subscriptions

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

Plesk 12.x / Linux :: Backup Fails During Dump?

Feb 2, 2015

After successful creation of a full backup, pmm-ras hangs forever (100% CPU) while trying to export the dump to FTP. I have two identical Plesk 12.0.18 installations and this happens only on one of them.

I see the following in /opt/psa/PMM/sessions/*/.stderr:

Use of uninitialized value in numeric eq (==) at /opt/psa/admin/bin/plesk_agent_manager line 827.

View 3 Replies View Related

Plesk 11.x / Linux :: Copying Folders Into Another Folder Using Same Name

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

Command(s) For Telling Qmail To Dump All Emails In Queue?

Jun 28, 2009

How does one dump the contents of a Qmail?

That is emails that are waiting to be sent which are not going to be sent since they are bad emails so they are just stuck in the queue and are killing cpu resources, how does one tell Qmail to dump all unsent emails waiting in the queue?

View 3 Replies View Related

Apache :: How To Create Dump File For Crash In Windows

Jun 19, 2014

how to create Dump File for Apache Crash in Windows.We are using Apache for Reverse Proxy with OpenAM Module for Sign-in.Apache Version : are very frequently facing Apache Crash Issue.

Also in logs we do not get much information.when submitted logs to ForgeRock, they asked us to look into below error and provide Crash Dump.

[Sun Jun 15 23:00:10.153908 2014] [mpm_winnt:warn] [pid 2376:tid 424] (OS 64)The specified network name is no longer available. : AH00341: winnt_accept: Asynchronous AcceptEx failed.
[Sun Jun 15 23:02:21.609557 2014] [proxy_http:error] [pid 2376:tid 6544] (OS 10060)A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. : [client 10.XXX.XX.XX:XXXX] AH01095: prefetch request body failed to XX.XXX.XX.XX:XXX ( from XX.XXX.XX.XX (), referer:

View 9 Replies View Related

Copyrights 2005-15, All rights reserved