Questions tagged [copy]

Duplicating a thing to make two similar things.

252 questions
1
vote
4 answers

How to perform scheduled directory copies on Solaris 10?

I need to have a set of directories on server A copied to server B each night. At present: I have a share on server A which is mounted on server B a job run by cron on server B copies each directory and its contents from A to B, preserving…
mrt
  • 13
  • 3
1
vote
1 answer

LVM - Moving data between Logical Volumes within the same Physical Volume

I will have two logical volumes that exist within one physical volume (RedHat Linux LVM). I will also be moving a lot of data between these LVs. My question is: Does the data get moved on the actual physical disk or is it only the file path that is…
Adam
  • 113
  • 2
1
vote
1 answer

Why does xcopy fail when there is obviously enough space?

I have a 2TB hard drive "D" containing 732GB of data on a 2TB NTFS partition that I want to copy (absolutely everything on the drive) to another drive "F" with 981GB of space (its freshly formatted (NTFS)). I made sure no processes were writing to…
Korijn
  • 143
  • 1
  • 5
1
vote
2 answers

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 something is missing. Is there a parameter who…
RayofCommand
  • 1,451
  • 8
  • 26
  • 36
1
vote
3 answers

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. The files I need to copy are executables and so I…
NGambit
  • 153
  • 2
  • 5
1
vote
1 answer

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 explorer) some folders from source to…
Tobia
  • 1,272
  • 9
  • 41
  • 81
1
vote
2 answers

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).
user788171
  • 279
  • 1
  • 5
  • 13
1
vote
4 answers

Network Copying Query

I have a Windows 2003 SBS server running on a DL380 with 2 LAN cards as follows: 192.168.2.2 = LAN 100mb / 192.168.10.1 = copy subnet 1000mb I have a Windows 2008 standard server running on another DL380 with 2 LAN cards as follows: 192.168.2.3 =…
user14930
  • 159
  • 1
  • 2
  • 11
1
vote
1 answer

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 just one of many folders inside "files". It is…
user158080
  • 11
  • 1
  • 2
1
vote
1 answer

xfs incremental backup doesn't fit new disk

I have a 1TB xfs volumne on Amazon EBS, which contains 246GB of incremental backups, created with rsync and hardlinking. I want to copy this to a new, smaller disk. The problem is it doesn't seem to fit into a 300GB disk. Is there any block size…
jdog
  • 121
  • 7
  • 29
1
vote
1 answer

Windows secure file copy

I'd like to setup a secure file copy to some of my servers. A particular login (not Active Directory or Windows login) would have access to a starting point (e.g. c:\a\www) and then that login would have full power to do anything to the files and…
fred smith
  • 125
  • 2
1
vote
3 answers

Best Practice: Copy a file at a certain time?

I've been wrangled into the world of Windows system administration. Coming from a Linux sysadmin background, I am looking for the best way to copy a file to a directory at a specific time. (Change management requires us to copy the file in a certain…
aus
  • 133
  • 4
1
vote
2 answers

Which is the most reliable means of copying archives using binary deltas across Windows SMB shares?

I've been searching for the quickest way to copy some WAR and JAR files for huge software deployments between Windows systems. Clearly, multithreaded robocopy or any rsync protocol implementation will offer some increase in performance, but I'd like…
user95694
  • 111
  • 2
1
vote
2 answers

diff folders and copy results over

We use a third party newsletter system which updates frequently, usually around 100 files. Each time all the developers release is the whole application again with a changelog but there's usually too many files listed for it to be useful. The system…
robjmills
  • 990
  • 9
  • 26
1
vote
2 answers

ssh tar copying - missing files

On copying directory "home" (from remote machine) to local machine using the following command: ssh root@remote.machine 'tar -cz -C /home/*' | tar -zxv The number of files after the transaction doesn't match. Some files were never copied. Anyone…
Frankie
  • 429
  • 1
  • 6
  • 20