General :: Move Files From One Server To Another Server Using Scp?
May 25, 2011
I am trying to move uploaded file to another server using scp. following is the script i am using and error;
"mv.sh"
#!/bin/sh
now=$(date +"%y-%m-%d-%M")
[code]....
View 1 Replies
ADVERTISEMENT
Feb 8, 2010
I need to know is there any way to record or tracking or make logging if when user samba delete files or folders i can know that, cause sometimeon samba server some users complain they lost files, though i have daily backup and i can restore their files, i just want to know if or maybe some other users in one group accidentally move or delete the files.
View 1 Replies
View Related
Oct 21, 2010
we have moved to linux platforms now. can i move my windows file server to linux server,main work on this windows server is sharing folders which having secure permissions to respective groups & users.i knew we can share folder on linux. before formatting my windows server i want to know can we create new users to access particular folder?. users will not have any other kind of access except accessing there data folder. currently we have below scenario :users named a,b,c,d & e. all users having their folders to access. a & c are in the same group & they have common access to other common folder. please help me to change my server in ubuntu, i have planned to migrate in ubuntu server 10.04 (64 bit).
View 5 Replies
View Related
Dec 19, 2010
I'm looking for ideas on how to transfer a group of xml files from one server to another server, either in a regular interval or ?I have a listing program, it creates a directory or classified ad type listing. When one of these is created, or an existing one is edited an XML file is created. I need to take these files and get them to another server. I've read about SOAP, FOPEN and of course FTP.
View 1 Replies
View Related
Nov 8, 2009
I just installed mysql and need to move the databases to a new location.I say 'no problem' I shutdown mysql (service mysqld stop) I configure my.cnf to point to the new location, which in my case is: /mnt/data/mysql. I know not very original naming. I do the old chown -R mysql:mysql /mnt/datal/mysql AND I copy all the files over (cp -R /var/lib/mysql /mnt/cgsvol/mysql) chmod 777 /mnt/data/mysql I ensure the chown worked (ls -a -l) and the files are there from the old directory. I can't load the daemon again. I check the log (/var/log/mysqld.log) and it can't write any test file to that directory.
(log file exact data).
091107 23:22:21 mysqld started
091107 23:22:22 [Warning] option 'max_join_size': unsigned value 18446744073709$
091107 23:22:22 [Warning] option 'max_join_size': unsigned value 18446744073709$
[code]....
View 3 Replies
View Related
Jan 12, 2010
how can I best transfer my mails that are sitting on my old exim server to my new postfix server?
View 1 Replies
View Related
Nov 3, 2010
I'm trying to move a mysql 5.1.50-community InnoDB database from one location to another.When starting the service I get:Starting MySQL.Manager of pid-file quit without updating file [FAILED]I've searched for a way to do this but I can only find people who describe what I've just done.
View 6 Replies
View Related
Jun 14, 2011
I want to run rsync on server A to copy all files from Server B when they are newer than 7 days.(find . -mtime -7) I don't want to delete the files on Server B.
View 2 Replies
View Related
Apr 5, 2011
We do have primary & backup DNS both are running in Linux. I'm planning install the 3rd DNS & move the DNS02 to this server(DNS03)& remove the DNS02 later. Ho can I do move all the information & configuration of DNS02 to the new server? configuring the DNS03 & removing DNS02.
View 13 Replies
View Related
Jan 8, 2011
i have been trying to complete the following project1) Configure a FTP server where we can upload and download files.........2) server must run at 9 pm & stop at 9 am automatically ............although the first task was easy ,i have no idea how to accomplish the 2nd task(not to mention I'm a new user)
View 5 Replies
View Related
Dec 6, 2010
I have a qmail mta that needs to be moved to another server. The current host system will be discarded due to end of SLA for the hardware support.
The qmail mta is setup according to the guide on [URL]. There are currently about 10 postboxes and about 30 forwards defined with a total of about 1000 emails.
I don't want to send each old mail to a backup postbox outside qmail and resend it back after I setup a new qmail mta on the new server.
I would like to setup qmail in a configuration where each mail would be automatically replicated on the qmail mta, where the new mta would take over duty when the old one will shutdown. Anyone had a similar project and know how to do this? If not does anyone know how to move a qmail install onto another new system? Or may be how to export and import the postboxes and forwards?
View 5 Replies
View Related
Mar 29, 2010
Im running my website on a Debian machine that started to get high load so i wanted to move the mysql server to it's own machine. and here is the problem. The second machine is also Debian and is behind a router only running mysql. i have forwarded the port 3306 to the second machine and created an A record for "mysql" so mysql.mydomain.com points towards the second machine. However, when i try to connect my websites script to the second machine i get the following error "Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111" when i open the site in a a browser.
edit: i can connect to it without a problem localy trough phpmyadmin etc.
View 5 Replies
View Related
Aug 25, 2009
How can you create a script to move or copy files from a main directory into multiple directories below the main directory.
View 7 Replies
View Related
May 7, 2011
1. Every Sunday2. Find all files older than 1 day3. Gzip these file4. Tar up the gzipped files into one tar file.5. Name the tarball with a date stamp indicating what day it was created, so we know that week's files are in the file
View 3 Replies
View Related
Aug 18, 2009
Being relatively new both to Linux and this forum, i am sorry if i make a post that already is, evn though i couldn`t find it.My problem is i can`t move downloaded files over to root filesystem, i have downloaded and unpacked them to files. to change it`s looks and downloaded a skin, i open root, go to usr---> amsn ---> share --> skins, now i am to copy the file of the skin over to the root directory, butI also tried alt+f2, writing sudo conqueror, as an advice i got, but there was noe difference.
View 14 Replies
View Related
Dec 17, 2009
what I got - from a crontab run a script (understand that part), this script needs to count the amount of files in /outgoing/, then take 30 less that number, and move that many files from /readycalls/. I need to keep the asterisk outgoing que full of .call files with out having to many in there at any given time.
View 3 Replies
View Related
Aug 18, 2010
I have a DNS server at an old companies place and that box will be losing it's IP. The whois record for the domain goes to godaddy which has 2 'A' records;
ns.domain.com
ns2.domain.com which point to the current 2 DNS servers. Now if I have a new server up and running and the zones copied over, do I just need to change the 'A' location for ns.domain.com to this new IP? I remember back in the day you had to 'register' the nameserver with the registrar, etc.I haven't touched this stuff in a while, and before I go and change the IP of the nameserver, want to make sure all is in check.
View 2 Replies
View Related
May 25, 2010
I have a LAN of about 70 computers that I would like to share media files between. I have gotten to the point with Samba that I can view the files without a username/password from client PC's. I would like to make all the folders read only except for one which will be writable for everyone. The thing that I am having a hard time with is allowing a couple of administrators (on Windows 7 machines) read/write access for all files/folders. I am completely new to Ubuntu and Samba so please make explanations thorough. Here is /etc/samba/smb.conf file:
[Code]...
View 3 Replies
View Related
Feb 2, 2011
I try to config my apache server to list all my files: c/c++, php, java files, like the txt file on my server,
e.g /var/www/mydomain/pub
i want to dump all my c/c++, php, java file under the pub directory and I can access it from my domain name,
if I dump txt file, I have no problem to view it, but when I dump c/c++ or php files under pub directory, then I can't view it like regular txt file,
Q: is there anyway I can configure my apache server to view all the c/C++, php, java file as like txt file?
View 1 Replies
View Related
Jun 9, 2011
I'm trying to rsync files and directories from a RedHat linux host(v 4.5 & 4.7) to a Windows server 2003R2 Standard Edition with cygwin running. I'm executing the rsync command from the cygwin shell. The transfer involves rsync'ing approximately 1 TB of data from the linux server to the windows server. After about 280+GB of data transfer, the transfer just dies.
There seems to be no particular file or directory that the transfer stops at. I'm able to rsync GB's of data from other linux hosts to this cygwin server with no problem. Files and directories rsync fine.The network infrastructure is essentially the same regardless of the server being rsync'ed in that it is GB Ethernet running through Cisco GB switches. There appear to be no glitches or hiccups across the network path.
I've asked the folks at rsync.samba.org if they know of any problems or issues. Their response has been neutral in that if the version of rsync that cygwin has ported is within standards then there is no rsync reason this problem should happen.I've asked the cygwin support site if they know of any issues and they have yet to reply. So, my question is whether the version of rsync that is ported to cygwin is standard. If so, is there any reason cygwin & rsync keep failing like this?
I've asked the local rsync on linux guru's and they can't see any reason this should fail from a linux perspective. Apparently I am our company cygwin knowledge base by default.
View 3 Replies
View Related
Feb 23, 2011
config my apache server to list all my files: c/c++, php, java files, like the txt file on my server, e.g /var/www/mydomain/pub i want to dump all my c/c++, php, java file under the pub directory and I can access it from my domain name, if I dump txt file, I have no problem to view it, but when I dump c/c++ or php files under pub directory, then I can't view it like regular txt file, Q: is there anyway I can configure my apache server to view all the c/C++, php, java file as like txt file?
View 1 Replies
View Related
Sep 9, 2011
I have tftp-server running on Centos 5. Clients which are on the same subnet as the server are able to get and put without problems. I have a client that is across the internet that is having trouble getting files from my tftp server. A tcpdump reveals that the client is requesting the same file over and over again. In /var/log/messages, I am see the following error repeated over and over until the client finally gives up.
localhost in.tftpd[12727]: tftpd: read: No route to host
View 1 Replies
View Related
Oct 9, 2010
RHEL 5 is my proxy server. i want to remove temp files and cache . How do i remove cache and temp files.
View 3 Replies
View Related
Feb 25, 2009
I have a weird performance issue with a centos 5 running a nfs server and a rh8 client. I think the fact that it is rh8 client should be downplayed. It is just that with rh8 client the performance degradation seems more clear. See test details below OS in server is Centos 5 x86_64 kernel 2.6.18-92.1.22.el5
1Gb connection between machines File to test over NFS is a 1GB file. First of all I wanted to measure how the network alone performs while using NFS. So in the server side I run a "cat" command on the 1GB file to /dev/null. Please note that the disk read speed is about 98MBs. At this point the file system has the 1GB file cached in memory. In the client side a "cat" on the same file gives me a speed of about 113MBs. It seems then that the bottleneck in this instance is the network and it is very close to nominal speed. So the network performance is really good. (BTW I know that the server got that file from cache because a vmstat or iostat shows no disk activity.)
The second test is reading from disk with no caching involve. In the server I flushed the 1GB file from the memory. For instance by reading another 5GB file and I repeat the same thing as above in the client (a cat on the 1GB file). Now, the server has to go to disk.(vmstat or iostat shows the disk activity). However the performance, now, is about 20MBs, I was expecting something closer so 90MBs. (since the reading speed in the server in the first test showed 98MBs).
This second test was repeated for ext2, ext3, xfs with no significant differences. A similar test using a RH8 NFS server and client gets me close to 60MBs for a 1GB file not cache by the file system in the serverSince network speeds and disk read speeds are not the bottlenecks ... what or where is the limiting factor then?
View 4 Replies
View Related
Nov 25, 2010
I've setup a Lamp Server for Testing, The Lamp Server is Up & Running on CentOs 5.5
I am now trying to setup a VSFTP server where local users can upload files to there home directory so that Apache can serve web pages straight from the directories of system user home/accounts giving users the ability to run their own web sites which are hosted off the main server [tutorial here: [url]
So far i have been able to serve/display index.html files from the users home directory [url] but so far i cant upload files to any user home directory, every time i try to upload a file with filezilla i get this error message: 553 Could not create file. Critical file transfer error
I have searched online for similar problems like mine and so far i've tried alot of the solution but none seem to work. I'm confused, dont know where i went wrong, i put the users in a group called ftpusers and here are the permissions on the users (test, ftpuser & testftp) home directory. have a look an tell me where i went wrong :(
Also the root directory where the web pages are served from is called public_html here are the permissions
Here is my vsftp.conf file can someone check it to see if i made any errors in there:
View 14 Replies
View Related
Aug 27, 2011
I have 2 computers on the same network that i need to link together to transfer files 1 is a web server the other is a minecraft server. the problem is that the file transfer will be constant as the minecraft server will constantly updates files on the web server and I dont want it to go to the router then to come back to the web server. I want to add a second network card to each computer and link them together and use this second connection to transfer the files is it possible?
View 2 Replies
View Related
Apr 4, 2010
how to move a file over ssh to server but I cant get it back via terminal
Code:
scp Downloads/test8 user@host:home/user/Documents
moves it to server now i need to transfer back, I know I can do it with nautilus but i wanna learn terminal, I have googled but cant find what i,m looking for
View 2 Replies
View Related
Mar 23, 2011
I have a very basic "working" Dovecot configuration from 1.x as shown below:
Code:
auth_mechanisms = plain login
mail_location = maildir:~/mail
passdb {
[code]...
My question is I've built a new server and now it has Dovecot 2.0.11 & I would like to know if I need to generate a new configuration file or will the above 1.x work in 2.0.11? The configuration file 'dovecot.conf' generated by 2.0.11 is all commented out and I don't know what I need to uncomment / add to the config to get IMAP working.
Code:
[root@mail /]# doveconf -n | head -2
# 2.0.11: /etc/dovecot/dovecot.conf
View 1 Replies
View Related
Jul 30, 2011
What's the best way to move over 500 sites from a webserver with apache and mysql on the same server.. to a new server?
View 1 Replies
View Related
May 17, 2010
Can't find any step by step info about moving web site from one server to another. I have to move website from open BSD to CentOS. Maybe somebody can help me with this. All I did is : copied www directory to new server, installed apache, installed php, installed mysql, copied mysql datadase to new server.But website still not loading.
View 1 Replies
View Related