Questions tagged [copy]

Duplicating a thing to make two similar things.

252 questions
7
votes
4 answers

Rsync huge dataset of small files 5TB, +M small files

I encountered a situation where an app server misconfig led to creation of around 5TB datasets where each dir contains huge number of small files. We are in the process of transferring the files and change the application but the rsync fails on…
h.safe
  • 131
  • 1
  • 7
7
votes
4 answers

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 have a folder on a network drive and it was…
yantwill
6
votes
4 answers

Making backup by copying /mysql/data folder is ok as long as both source and target mysql are of the same version?

If there are only MyISAM databases, the backup and restoration is possible by simply copying pasting the data folder, regardless of the versions? But if there are INNODB databases, and we are sure that the source and target versions will be…
bobo
  • 599
  • 2
  • 8
  • 24
6
votes
2 answers

How to stop users from running CPU heavy programs on a server?

I have a 24 core server, which users connect to through SSH. It is not meant for them to run CPU heavy programs like MATLAB, R or their own scripts that perform simulations or things like that. Are there ways to detect and kill -9 CPU heavy…
Sandra
  • 10,303
  • 38
  • 112
  • 165
6
votes
4 answers

Best way to copy large amount of data between partitions

I'm looking to transfer data across 2 lv of an HP-UX server. I have a couple of those transfers to do, some of which are mostly binary (Oracle tablespace...) and some others are more text files (logs...). Used data size of the volumes is between…
skinp
  • 749
  • 1
  • 7
  • 19
5
votes
2 answers

any issues with file-copy Git Repo to another machine (and keep working from both)?

I want to copy all my git repos from my old machine to my new machine (both Ubuntu). I will keep using both machines... I am doing this primarily out of laziness (well: there are for some local branches at the moment, and convenient stashes at hand,…
Frank N
  • 600
  • 8
  • 18
5
votes
14 answers

How do you copy huge (millions) directory trees in Windows?

I have a NTFS partition that has a folder that holds over 5 million directories. Each directory contains more directories and then files. I am moving to SSD and I need to copy all these data over to the new drive, but I am running into…
Pyrolistical
  • 892
  • 2
  • 13
  • 20
5
votes
2 answers

Best way to transfer files from one server to another using a third server

Here's the scenario: ssh +------------+ +---->| Server 2 | +------------+ | +------------+ | Server 1 +---+ +------------+ | +------------+ +---->| Server 3 | …
kolrie
  • 235
  • 3
  • 12
5
votes
8 answers

How do I copy a SQL Server 2005 Database?

In my environment I need to copy a database from one server to another. Usually a QA machine to my local box. I do not have access to QA machine. I can connect to the database, but not RDP into the box. What is the best way to copy the database…
David Basarab
  • 1,157
  • 5
  • 16
  • 20
5
votes
4 answers

Windows copy command process info

Is there any specific package for copy command which shows the process of being copied. In windows while using copy from command line I could not see the process but the blinking cursor and I'm wondering if there is any application that could be…
user53864
  • 1,723
  • 11
  • 37
  • 66
5
votes
2 answers

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 stripping the slashes out of the source…
Lance Roberts
  • 401
  • 3
  • 12
  • 29
5
votes
4 answers

How to copy a 200GB file faster?

I got a 200GB .tgz file on server A(RHEL 5.2). I wanna transfer that file to server B (RHEL 5.3). Server B is on ESXi 4 Update1. Server B VM is with 4 vCPUs, with 10GB RAM. Both Server A and Server B are connected with an ethernet cable with local…
RainDoctor
  • 4,422
  • 3
  • 23
  • 25
5
votes
2 answers

How to manage a modified copy of a file?

Following this answer, I want to make a copy of OpenSSL's configuration, with a specific set of changes. The original file is out of my control, so I can't make it a template. At the moment I have: - name: Make a copy copy: src:…
Petr
  • 581
  • 1
  • 5
  • 16
4
votes
0 answers

Copy nginx cache between two servers

I have a nginx caching server with at least 2tb of cache files at any moment, i need to migrate this server to another hosting provider but none of my clients can handle that traffic without cache. At my first try, just copying the cache object to…
4
votes
7 answers

Slow network file copy on Windows 7

I wrote a program that uses xcopy to transfer files (usually between 1KB and 2MB) over our intranet. Usually, I am copying files from my host machine (Windows 7 x64) to a VMWare virtual machine running Windows Server 2008 (the VM is running on my…
Jason V.
1 2
3
16 17