Questions tagged [copy]

Duplicating a thing to make two similar things.

252 questions
1
vote
6 answers

What is fastest way to regularly back up large data-files on a weekly basis

We have automated script to back up 200 GB of data files to a local disk. the script shuts down the database , tars and compresses the entire directory locally on the disk, and then starts the database tar -czvf data.tgz /some/folder This process…
1
vote
2 answers

Data Transfer Pauses on LSI 9271 RAID Controller

I have a server equipped with a LSI 9271-8i RAID controller, with 4 x 4TB organized as RAID-5 and 1 x 8TB as JBOD (which is called RAID-0 in the controller). When I copy bigger amounts of data (~1 TB), I can observe the following: for the first few…
1
vote
2 answers

what is the best approach to copy /var content

we have linux redhar 7 we want to keep the /var on other volume so the plan is to: mkdir /var_copy cp -rp /var/* /var_copy umount /dev/mapper/vg-a-var /var rm -rf /var mkdir /var mount /dev/mapper/vg-b-var /var cp -rp /var_copy/* /var so my…
jango
  • 59
  • 2
  • 3
  • 12
1
vote
4 answers

copy large number of files over ssh

I mount a remote server over ssh (using sshfs). I want to copy a large number of files from the remote server to local: cp -rnv /mounted_path/source/* /local_path/destination The command runs recursive copying that doesn't overwrite existing files.…
Tu Bui
  • 113
  • 1
  • 5
1
vote
1 answer

Need to copy files where source files are in directories but want target files to land in single directory

I have been asked to see if I can copy many files from a source that has directories and sub directories and for the taget to be a single directory. All files to one directory. If there happens to be a duplicate file they would just copy with…
mebermudez
  • 11
  • 1
1
vote
2 answers

Copy file to different name in same directory in all subdirectories

As different apps require different file names, I have been trying to copy Folder.jpg to cover.jpg in all subfolders but couldn't get my shellscript to work. get-childItem -recurse | Where {$_.extension -eq "jpg"} | copy-item Folder.jpg…
Jacky
  • 11
  • 1
  • 2
1
vote
2 answers

Bash script to transfer folder recursively without overwriting via FTP

I would need a bash script to transfer folders recursively via FTP. Username/password/IP - static defined. Server where the script runs on: Linux Source server: Samba (Linux...) Dest. Server: Linux As the files to be transferred are big database…
laurens
  • 397
  • 4
  • 19
1
vote
1 answer

Robocopy Delta Copy over network

We manage a client site that has a file & print server on-site and our intention is to move their files / data to a centralised server at our data center. As the client has a very slow internet connection (adsl @ 5mbps), my boss has visited site to…
Jake
  • 101
  • 2
  • 7
  • 11
1
vote
3 answers

How to transfer a postgres database to a different server

I'm planning to transfer a ~100GB Postgres database to a new server. Is it save to just copy the data directories to the new server and start up the database there, or do I need to do a dump on the first server and then a restore on the second? The…
sth
  • 250
  • 3
  • 15
1
vote
0 answers

Can't import using COPY in cassandra [protocol error]

I am trying to import 209GB csv file into cassandra. But, I am getting below error, ErrorMessage code=000a [Protocol error] message="Cannot decode string as UTF8:…
Geetanjali
  • 53
  • 4
1
vote
3 answers

Backing up MySQL MyISAM databases by copying the physical folders

I have a Windows Server 2008 R2 machine and on it I have 2 MySQL MyISAM databases. These databases are quite large as they are over 20GB in combined size. I update these databases once a week. (I disable my web site in the process - but this is OK…
1
vote
1 answer

Is it possible to run the Cisco NX-OS 6.x copy command without the prompt to select a VRF?

I am currently working with a network scanning tool that logs into Cisco routers and runs commands on those routers. The problem I'm encountering has to do with what the copy command expects. The copy command (documentation link below) prompts the…
ekk1240
  • 3
  • 2
1
vote
3 answers

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 command line and without any visual impact. I'm fairly…
1
vote
3 answers

Data Copy Tool/Method

I am trying to copy a large amount of data (several hundred gigs, with folders and files of various sizes) from local storage on a Windows 2008 server to a CIFS share on another server. The CIFS share space can only be accessed via CIFS, and the…
kingfish
  • 410
  • 3
  • 11
1
vote
1 answer

NetApp - Copy volume data to LUN on same filer

I'm trying to copy a volume /vol/Archive_chi to a LUN (LUN volume = /vol/ArchiveLUN_chi ; LUN = ArchiveLUN ; LUN PATH = /vol/ArchiveLUN_chi/ArchiveLUN). I tried ndmpcopy /vol/Archive_chi /vol/ArchiveLUN_chi and ndmpcopy /vol/Archive_chi…
TryTryAgain
  • 1,152
  • 5
  • 22
  • 41