The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
4answers
7k views

Linux / mysql: is it safe to copy mysql db files with cp command from one db to another?

Most guides recommend mysqldump and simple SQL for copying one table to anoter db. How about linux shell cp? Can I just simply do cp /db1/mytable.frm /db2/mytable.frm
0
votes
1answer
636 views

Copying files from OSX to samba, force create mode not working

I have a problem whereby I have set up a samba share with these parrameters: [Design] path = "/sec/projects/design" writeable = yes browsable = yes valid users = @design force group = design force ...
0
votes
1answer
269 views

how to copy text from xterm based terminal to some other gui application on linux

i use uxrvt ( for those who dont know, its terminal emulator based on xterm). i know its easy to copy/paste stuff from terminal to itself is a trivial thing. it can be done by mouse left click to ...
6
votes
2answers
10k views

Turning off cp (copy) command's interactive mode (cp : overwrite ?)

Does anyone know how I would turn off the interactive mode when using cp? I am trying to copy a directory recursively into another and for each file that is getting overwritten I have to answer 'y'. ...
0
votes
2answers
36 views

Copying files up or down

Considering two file servers which use most of their bandwidth to send files to clients on the worldwide interwebs. Every now and then Server 1 needs to store one of his files on Server 2, they both ...
3
votes
5answers
568 views

What is the most efficient way to push out/publish large sets files over a network?

Here's my scenario: We have a need to push out a set of files (a 'workspace') from a source server to multiple destination servers. The files are kept under version control (SVN) so the first step is ...
2
votes
1answer
2k views

ESXi 4.0 - cannot copy files

I am unable to copy files or make directories on my installation of VMWare ESXi 4.0. I have done so in the past (copied an iso onto a datastore). But something has changed and I have no idea what. I ...
0
votes
1answer
85 views

LVM2: How to copy snapshots?

I read What does an LVM2 Snapshot contain? and LVM Snapshot confusion. What I'm trying to figure out is if there is a way to create a copy of an LVM snapshot for use with different Xen VMs. I know ...
0
votes
0answers
16 views

Copy and Replace files based on destination directory structure

We got the nasty Crypt Locker virus on one of the workstations and it corrupted a bunch of files on the network drive. We have a backup, but it includes all the files till the last backup was taken, ...
0
votes
1answer
83 views

Bacula copy job cannot find device

I have one bacula server on site which regularly backup all my servers. Now i am trying to create copy job which should copy all full backups to offsite. But i still getting error: Device ...
0
votes
3answers
287 views

Sync directory across two servers using rsync (or alternative for syncing directories)

I have two VMs that should have identical files in this directory: /var/www/owncloud/data/admin/files/ I initially thought that I could use rsync with cron to copy the files every two minutes: On ...
1
vote
0answers
49 views

Is file copying limited by free space on C drive?

I have some Windows Server 2003 and 2008 boxes that have files I need to copy that are in the range of 20 GB to 80 GB ranges. The 20 GB files transfer without a problem from one server to another ...
0
votes
4answers
60 views

Limit copy speed

Unfortunately we have a pretty bad HDD performance on one of our servers and as soon as we start bigger copy process it stops to deliver any Apache response, which is really bad. Is there a way to ...
0
votes
1answer
130 views

Long 'pause' after copying large files on windows 2008

I have a mystery regarding pauses after file copies on windows server 2088 (and other releases) When copying large files, like vhds, to locally attached USB disks I often see a long pause after the ...
0
votes
1answer
58 views

how to copy sql server database on same server

I've got a SQL Server 2008 and want to make a copy of a database so I've got a 2nd Version of the database for testing on the same server. The database copy wizard is not able to copy the database, ...
-2
votes
2answers
312 views

How to share the clipboard between Windows Server 2008R2 and a guest running Ubuntu 12.04? [closed]

I use Windows Server 2008 R2 with Hyper-V and a guest running Ubuntu 12.04 LTS. How can I share the clipboard between Windows Server 2008R2 and a guest running Ubuntu 12.04? UPDATE What protocols ...
0
votes
0answers
66 views

How to copy and rename files with powershell within subfolders?

I have the following folder and files structure that I would like to copy to a share then rename them. How can I do this with powershell? ...
0
votes
2answers
50 views

Copy files from path to path same structure for each user

How to copy files from source /backup/cpbackup/daily/a1/public_html/index.html /backup/cpbackup/daily/b2/public_html/index.html /backup/cpbackup/daily/c3/public_html/index.html ...
0
votes
1answer
29 views

Can I copy root to the root of another computer? [closed]

On Linux, if I copy the root from linux machine #1 to a fresh install of linux on separate machine #2, will machine #2 contain the exact setup as #1? Or do I -have- to create images of the drive and ...
14
votes
7answers
36k views

How to cp file and create directory if not exists?

I want to copy modified files in a svn repository to another directory, while keep their directory structure. After reading awk and xargs manpage I find a way to get changed filenames like this: $ ...
13
votes
6answers
7k views

Unix copy command that has a progress bar, but not as heavy as rsync

I need to copy lots of files. Usually I use rsync because I pass it the -aP options and I can see (a) how many files are left to process and (b) how much of each individual file is copied. However ...
1
vote
1answer
64 views

Some files are not transferred by using rsync between 2 servers

I used rsync with -av parameter to migrate a website from one server to another. there was no error displayed but the size of the folders are not the same and the website does not work correctly. so ...
0
votes
1answer
115 views

Copy over lan : best way to segment copy?

I do not really know where to post my message. Networks or system or scripting, so ... I have a requirement in my company. Here is the goal : Monthly I'll have to copy a package> 500MB on 25 ...
-1
votes
3answers
323 views

How to Copy files from one Ubuntu server to another? (MYSQL Database for website migration) [closed]

I'm very new to Ubuntu and my first task is to copy one website with a MySQL database to another server. Both servers are virtual machines and in the same environment. I have both the IP addresses and ...
0
votes
2answers
85 views

How to copy many files within Windows LAN through ssh fast

In a remote LAN I want to copy (not move) a set of ca. 5000 (already zipped) files, in sum 30 GB, between 2 directories (storage, connected as drive letters by net use) regularly, but only after ...
0
votes
0answers
92 views

Copy lots of files and symlinks for Windows Server to another

I have a quite nasty problem with a simple task: copying files from an old file server to a new one. A short description of the situation: The old server is W2k8 R2 and hosts about 25 TB of data, ...
0
votes
0answers
590 views

Reasons why Robocopy would skip a folder and not write it to the log file

I'm in the process of trying to troubleshoot a Robocopy job on Windows 2008 R2 SP 1 where the job states that a folder was skipped in the copy process (at the end of the copy job) yet does not show 1) ...
1
vote
3answers
2k views

RichCopy - Suppress Splash Screen and Run Quiet?

RichCopy looks to be a great tool with some features that RoboCopy lacks. I'm trying to use it to back up media on a Home Media Server project I'm working on so I need to be able to run it from ...
5
votes
2answers
12k views

How do you use SCP to copy a deep directory?

I need to copy a deep directory on one windows machine over 'itself' on another windows machine. I can't seem to get the command to work correctly. The current problem is that it appears that scp is ...
2
votes
2answers
638 views

Move files to another directory which are older than a date

I am looking for a solution to move files that are year older from today. My log partition is getting full, but I can not remove them. They are needed for a long long time. Anyway one solution I came ...
0
votes
0answers
24 views

Directory needs permissions “reset” after a script copies a file & then modifies its permissions

I'm running CentOS on Virtualbox with Apache, successfully building a website from the ground up. Things work great and recently found out how to resolve permission issues when sharing files between ...
0
votes
0answers
79 views

Can we copy some selected users to another server?

I want to run my FTP configuration with pure-ftpd-mysql on my servers. My both servers use ISPconfig with MySql replication. I use RSync to copy my data from my server 1 to my server 2 (backup ...
0
votes
0answers
31 views

FTP server to server transfer from local m/c

Could anyone show me an example of how the scenario (figure 2 in 2.3 of http://www.w3.org/Protocols/rfc959/7_Scenario.html) mentioned in RFC 957 specification of the FTP could be implemented. Even a ...
0
votes
3answers
145 views

File copy between two servers programatically

Here's what I'm trying to do: I need to automate process of copying files from server A to server B. I ideally would like to have a script that is invoked by a cron job periodically on server B. ...
0
votes
1answer
95 views

cisco small business 300-10 managed config import fails

Device: cisco small business 300-10 10-Port Gigabit Managed Switch Firmware: 1.2.7.76 The config installation via webinterface with TFTP or http fails with following message in the console ...
4
votes
4answers
2k views

Copy Folder/File without modifying attributes?

I asked this on stackoverflow... but I think I should be asking it here: Is it possible to copy a file or a folder from one location to another without modifying its attribute data? For example if I ...
0
votes
2answers
233 views

Backup NAS to another NAS?

is there a way to backup / transfer a NAS (it's like a big harddrive with some access to a webinterface, but closed linux etc.... only two ethernet ports) to another one? or is the only way to connect ...
2
votes
3answers
248 views

Under Linux, how do I copy files from one filesystem to the other (both gpfs) and preserve hard links?

I have a directory with huge files and a number of directories, that have hardlinks on these huge files. How do I copy files from one filesystem to the other and preserve hard links?
0
votes
1answer
402 views

Windows ACL during explorer copy

I need to prevent the acl subtitution during folder copy and I don't know how to do. I have two repositories, the source and the destination with different acl. Users have to copy (with windows's file ...
0
votes
1answer
309 views

Using RoboCopy on multiple destinations with monitor option

I am trying to copy a shared folder which its content (folders and files) are created by a third party app at no specified intervals. I need to copy these files onto two different server shares. The ...
-1
votes
1answer
36 views

copy speed to server with multiple clients

I got a file server that is connected via an HP switch to multiple clients. The clients are mapping network drives of shared folder on the server and copy files from an external e-sata drive to the ...
1
vote
1answer
493 views

linux, only copy files before a certain date

Is there a command to only copy files before a certain date, say 20120901? Furthermore, I would like to do it with cp -p capability (e.g. the original timestamp is preserved).
0
votes
4answers
183 views

Copy files from one server to another with same permissions

Im migrating to new server and i need to move few websites but i need to have same read/write permissions to new serves as they were on old server. I don't need to keep group and owner id's same but ...
1
vote
1answer
421 views

Robocopy won't copy from root folder

I'm having trouble with robocopy. It won't copy from "X:\files\". It just kills the batch file without writing anything to log, but it WILL copy from "X:\files\other files". Where "other files" is ...
4
votes
4answers
2k views

How can I reduce resource usage when copying a large file?

I need to move a large file (corrupt MySQL table ~40GB) onto a seperate server in order to repair it. (When trying to repair on my production server, it quickly killed the server). In order to do ...
2
votes
1answer
439 views

Robocopy uses relative path for Source and Destination paths

I'm trying to use RoboCopy in my TFS Build Template to copy some files, but for some reason it inserts "C:\Windows\system32" in front of my Source and Destination paths, even though I am passing in ...
2
votes
2answers
164 views

Copy entire filesystem in a folder where a raid-1 array is mounted

I am trying to migrate from a single disk drive system to a double disk drive software raid-1 system that already has a running system on it. Meaning that formatting and having a new installation of ...
0
votes
2answers
582 views

Clone Flash Drive in Linux using DD

dd if=/dev/sda of=/dev/sdb I want to create a clone a bootable USB stick. lets say sda is 2GB sdb is 32GB. The above line will create a replica but the usable size will be 2GB. How can I use the ...
0
votes
0answers
89 views

Windows Network copy and access denied randomly

I have a windows 2008 R2 server and I now installed a new bigger HDD into it. I wanted to copy big AVI files to the new server hdd what is shared on the local network. I have write access to the ...
0
votes
2answers
276 views

Linux Shell - How to copy directory without symlink

I would like to get everything inside one directory. How can I copy entire directory (that originally contains files and symlinks) to a new directory that should contains all files but no symlink?? ...