Questions tagged [copy]

Duplicating a thing to make two similar things.

252 questions
2
votes
1 answer

Long 'pause' after copying large files on windows 2008

I have a mystery regarding pauses after file copies on windows server 2008 (and other releases) When copying large files, like vhds, to locally attached USB disks I often see a long pause after the copy has completed 100%. As an example:…
Ian Murphy
  • 1,349
  • 4
  • 19
  • 30
2
votes
2 answers

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, it always sends funny error Messages about missing…
Sam
  • 909
  • 5
  • 15
  • 28
2
votes
1 answer

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 that it isn't built into LVM (yet), but I was…
heipei
  • 21
  • 3
2
votes
3 answers

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?
2
votes
4 answers

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 it would be very hard if i have to go through all…
lonerunner
  • 124
  • 1
  • 4
  • 16
2
votes
2 answers

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 ubuntu using raid-1 is NOT an option. In this…
2
votes
2 answers

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?? Thank you
Julio Fong
  • 201
  • 1
  • 3
  • 7
2
votes
2 answers

What's faster, cp -R or unpacking tar.gz files?

I have some tar.gz files that total many gigabytes on a CentOS system. Most of the tar.gz files are actually pretty small, but the ones with images are large. One is 7.7G, another is about 4G, and a couple around 1G. I have unpacked the files once…
Buttle Butkus
  • 1,741
  • 8
  • 33
  • 45
2
votes
4 answers

Copy files over network

we use one windows 2003 server to sync files between two other windows servers. I assume that the whole traffic goes through the server initializing the sync. If so, is there a way to trigger a copy between the 2 other machines without routing all…
kcode
  • 1,825
  • 4
  • 19
  • 21
2
votes
1 answer

Robocopy copies folders but not files

I'm using robocopy on a Windows Server 2008 R2 SP2 machine with the following options: robocopy W:\ E:\old_files\daten1\ /R:1 /W:1 /MIR /COPYALL /ZB /DCOPY:T /MT 50 /LOG:E:\old_files\copy_w.txt robocopy copies all of the folders, but at the…
joe
  • 55
  • 2
  • 5
2
votes
3 answers

copy directory including 'base' folder

I need to copy folderA into folderB via the command line: c:\temp \folderA \folderB should become c:\temp \folderA \folderB\folderA That is, exactly the same as if you copied folderA using windows explorer and…
wal
  • 147
  • 3
  • 12
2
votes
4 answers

What is the efficient way to backup large files?

I have the schedule job of backing large files in Windows Server and it takes almost 2 hours to finish. For now, I only use copy command in the .bat and copy the large files to another folder. I'm wondering whether there is more efficient way than…
macemers
  • 131
  • 5
2
votes
1 answer

rsync not working - want to copy only certain subdirectories and files

Hi let's say I have a directory like this: / my_work /dir1 keepdir1.ddd keepdir2.ddd file.cfg (lots of files and directories I don't want) …
Greg_the_Ant
  • 489
  • 7
  • 26
2
votes
2 answers

Microsoft Terminal Server clipboard corruption

I've got a client running Terminal Server 2008 R2, connecting from Windows XP terminal services client (not sure of the local RDP version, I think they've got all their service packs though) and whenever they copy text from the terminal server and…
Peter Turner
  • 2,178
  • 9
  • 33
  • 45
2
votes
2 answers

Copy File to Clipboard

Simple Question that I just realized would be very useful. Under Linux (or really any 'nix environment) is it possible from the command line (or by other fashions, but primarily command line) to copy a file to the clipboard? Any example of this…
akdom
  • 123
  • 4