Skip to main content

Questions tagged [copy]

Duplicating a thing to make two similar things.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
40 views

Copies available in windows server backup went from 150 to 1

I have a Windows server 2016 and I went from 150 backups available to just 1, now 3; without any warning, one day it was 150 then the next day just 1, there was more than plenty gb available, so what ...
Daniel Ken's user avatar
0 votes
1 answer
26 views

How can a folder size be greater than the actual disk capacity on Ubuntu?

So, a little background: I have a 2TB hard disk that serves as a backup for files (ext4 formated) The disk was reporting +90% used space, so I bought a 4TB disk Formated the 4TB to LVM with ext4 My ...
Bert's user avatar
  • 1,076
0 votes
0 answers
62 views

copying DD to a folder and converting to qcow2

I am trying to copy disk image (block files) with resepct to KVM images and convert it to Qcow2 format in a single command,Can we copy copy dd to a folder and convert it to qcow2 in single command.
Raju's user avatar
  • 1
-1 votes
1 answer
52 views

How risky is it not to replace the checksum function when copying data between S3 buckets via the AWS web console?

When copying data between S3 buckets via the AWS web console, one may replace the default checksum function: How risky is it not to replace the checksum function when copying data between S3 buckets ...
Franck Dernoncourt's user avatar
3 votes
3 answers
404 views

How can one copy an S3 bucket as faithfully as possible (e.g., copying all permission settings)?

I want to copy an S3 bucket as faithfully as possible (e.g., copying all permission settings). The standard: aws s3 sync s3://old-bucket s3://new-bucket --source-region us-west-1 --region us-west-2 ...
Franck Dernoncourt's user avatar
0 votes
1 answer
490 views

How to efficiently copy multiple Docker images between two air gapped repositories?

I need to efficiently copy Docker images between two air-gapped repositories. The current method of saving images to disk and transferring them as tarballs is time-consuming, so I am looking for a ...
Sergey's user avatar
  • 103
0 votes
1 answer
37 views

Copied/Imported Xen Server VM can't see all CPUs?

I have installed a new Xen Host Server with more cores. I attempted both a copy and import of the VM from the old Host. When I attempt to increase the CPUs, the option only shows me what was available ...
ATG's user avatar
  • 1
0 votes
1 answer
164 views

scp between two redhat server stalls at 98% for long time

I have 2 RedHat servers (say rhel-01 and rhel-02) with 40G ports connected via 40G switch. When I'm trying to copy any large file (larger than 1G) from rhel-01 to rhel-02 it stalls at exactly 98% for ...
akjon RooSho's user avatar
0 votes
0 answers
32 views

login to remote Win10 and retrieve file

Currently doing a manual daily backup of certain files, tars and zips, from a number of Win10 boxes to a master Win10 box. Backups are done by RDP - copy - paste. There has to be a way to script ...
scorpdaddy's user avatar
-1 votes
1 answer
149 views

With the tools available by default in a Windows environment (or sysinternals) how can I make a copy of (only) C:\WINDOWS\system32\config\?

When I say available by default, I mean to include sysinterals, which is somewhat universally approved by system admins and doesn't serve as a barrier for my use-case. I'm now aware of: disk2vhd (...
J.Todd's user avatar
  • 101
0 votes
1 answer
1k views

Mobaxterm vs vim text copy

Can I somehow copy text between two vim sessions in 2 different terminals? I use mobaxterm and can not scroll while marking text that I want to copy. How can I do it? Edit 2 files on 2 different ...
Kamil Bu's user avatar
1 vote
1 answer
2k views

How to trigger an event after saving a chosen csv file in Google Cloud Storage bucket

Trying to make a synchronous pipeline, I need to copy a csv file from Google Cloud Storage after it has been saved in Google Cloud Storage. The copy job does not have to be triggered right after the ...
questionto42's user avatar
0 votes
3 answers
111 views

Windows CLI way to copy to the same directory and only change the case of the filename?

I have Windows 10 pro, with NTFS. I think the filesystem is fully case-sensitive. I can have the file Bill_and_Ted.txt in a directory, and write scripts that won't mistake it for bill_and_ted.txt. ...
Charlweed's user avatar
  • 249
1 vote
1 answer
204 views

Linux cp specific files from a text list of files to subdirectories from a text list too?

I ask for your help to solve my problem because I am stuck. I explain the situation to you: I want to copy files whose path I have on a txt file in specific subdirectories specified in a second file (...
Carole31's user avatar
0 votes
1 answer
35 views

unable to copy folders with same permission

I want to copy /var/lib with same permissions of all files and folders. some articles says cp -rp /var/lib/ /var/libnew/ and some says use rsync -aX /var/lib /var/libnew/ explain please which ...
Noor's user avatar
  • 21
0 votes
2 answers
3k views

How to copy with robocopy the time attributes without re-copying the files

I transferred the files to a new disk but found that files with the wrong year (1980) and these files I can't open with Photoshop. I would like to copy the time attributes from the first drive to the ...
kiloponge's user avatar
-1 votes
2 answers
240 views

Copy range of files on Linux/Unix

Background I have already thoroughly read through this question: Copy a range of fiels and tried most of the answers. I exported data into a single .json then split the .json file into smaller ...
Garrett's user avatar
  • 101
1 vote
2 answers
2k views

Get-ChildItem | Copy-Item

Trying to decipher why the copy-item is not working as expected within my ps script. I am attempting to search my fileservers for any *.pst files on all attached/valid drives, then copy those .pst ...
Get-Novice's user avatar
5 votes
2 answers
1k views

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: -...
Petr's user avatar
  • 635
1 vote
1 answer
972 views

Safe to delete managed incremental snapshots on Azure?

Incremental snapshots of managed disks on Azure is a relatively new thing, and is not completely documented, so I have a crucial question: If I have incremental snapshots A, B, C and D of a disk (the ...
Aleksandar Stojadinovic's user avatar
0 votes
1 answer
5k views

PowerShell Copy-Item whilst excluding files and folders from an array list

I'm trying to create a simple PowerShell script that copies the contents of a Windows user profile to a new location but excluding specific files and folders such as AppData and the NTUSER files. ...
willowen100's user avatar
0 votes
0 answers
99 views

How to transfer membership properties from one mailman list to another?

Mailman lacks support for renaming a list. I need a workaround (lists do need to be renamed). We can create a new list, copy its config, and subscribe all members of the old list to the new one (using ...
reinierpost's user avatar
6 votes
1 answer
21k views

How do I copy/paste to a VM console window in the VMware ESXi HTML interface?

I have an Ubuntu VM in an instance of VMware ESXi 6.7.0. I am using Chrome to access the VM console in the HTML interface of VMware ESXi. (I do not have SSH access to the VM.) I would like to copy/...
pacoverflow's user avatar
2 votes
1 answer
15k views

How to merge two files into single file using ansible in remote server

I need to merge two files without duplicate entries in it. is there any way i can achieve it through ansible modules. Ex i have two files /etc/hosts1 and /etc/hosts2. I need to have one /etc/hosts ...
celcoprab's user avatar
0 votes
2 answers
245 views

How to name a folder with today's date and time?

So i have this lil .bat setup @ECHO OFF echo %date% Copy D:\000Back\list.txt D:\111Back\ CD D:\111Back\ copy list.txt %date%_%time%.txt ECHO done PAUSE The second copy command never goes through, ...
Csupi's user avatar
  • 1
1 vote
1 answer
678 views

Low performance on file copy operations due large idle times (rsync, cp, ..)

I'm currently copying large directory tree from an external HDD to to internal storage of my server. The performance of the copy operation is basically quite good, i.e. 35MB/s with the external HDD ...
PraMiD's user avatar
  • 11
1 vote
3 answers
2k views

Make bootable Linux copy

I have specific Linux installed on SSD drive. What I want to do is to copy all ext4 partition files to other drive (also ext4) and make it bootable. Copy should be as similar as possible ...
pbies's user avatar
  • 169
0 votes
1 answer
255 views

Trying to speed up copying some Sql data files between two VM Data Disks

I need to move my Sql Server data from the existing Azure data disk to a new one. When I try and copy the existing files from the 'old' Disk over to the 'new' Disk it says it will take about 10 1/2 ...
Pure.Krome's user avatar
  • 6,608
12 votes
2 answers
4k views

What's the name of this windows feature?

I'm trying to find the name and documentation of an old windows feature I believe it was present in Windows Vista. All I can remember is this. When you or an application tries to write to a file that ...
MrCatacroquer's user avatar
0 votes
1 answer
188 views

Sending files from a TS server to a client workstation

Due to concerns with viruses, my boss wants to turn off the clipboard redirection on our TS/RDP servers - so that there is no possibility of copying files to the server. He does however, want to ...
Clinemi's user avatar
  • 101
13 votes
4 answers
30k views

How can I get docker build to overwrite a file?

It seems that docker build won't overwrite a file it has previously copied. I have a dockerfile with several copy instructions, and files touched in earlier COPY directives don't get overwritten by ...
fields's user avatar
  • 700
0 votes
1 answer
655 views

Copying a file from windows 10 desktop to Azure VM

I need to copy a relatively large file (3GB) onto an Azure VM from my local Windows 10 desktop. I believe people using Linux can use rsync, but how can I do this from Windows 10?
Kobus Myburgh's user avatar
8 votes
2 answers
7k views

Copy (sync) timestamps only of already copied files and folders in Windows

I have problem with lost timestamps ( creation date ) on files copied using Total Commander - only modification date remained. It's hundreds thousands of files and few TB of data, so I prefer not to ...
mike's user avatar
  • 271
1 vote
2 answers
80 views

How to check: variable of function is it path to a folder or file on a remote server?

I need to use rsync or scp for copy file or file folder from remote server to computer. To copy (synchronize) a file folder I use the following function: foldertocomp() { rsync -avz [email protected]....
Denis's user avatar
  • 113
0 votes
2 answers
8k views

How to copy a file in PowerShell while it is in use?

I need to copy a log file from a remote windows 2012 server. The log file will be written to constantly by our application. I know how to copy a remote file using Copy-Item Cmdlet. But I get error ...
Dilshad Abduwali's user avatar
2 votes
2 answers
92 views

Windows file copy - intermediary

I can't seem to find an answer to this anywhere. If I want to copy a file from \\server1\ to \\server2\, is it faster to RDP to that machine and do the copy there? If I initiate the copy from my ...
Mitch Brown's user avatar
0 votes
2 answers
2k views

How to full copy the C:\Windows folder?

I have a question about cmd - robocopy, on my server. Is it possible to use that command as a way to emergency backup all files from C:\Windows? I am going to do some Windows Server Updates, and I ...
Renver's user avatar
  • 11
3 votes
0 answers
2k views

Copy large amount of file - better to "pull" or to "push"?

I need to copy a large amount from "old" server to "new" server. Both servers are Windows Servers Is there a difference if I go onto old server, access new server by unc path and "push" files onto ...
Volker's user avatar
  • 131
2 votes
1 answer
2k views

ROBOCOPY: Copy all subfolders+content without the content of the root directory

I'm trying to copy all subfolders with their content of a specific folder but I don't want to copy the files in the root folder. For example, if my folder look like: - root - file.txt - sub1 -...
Shay Friedman's user avatar
5 votes
2 answers
2k views

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 ...
Frank N's user avatar
  • 640
2 votes
0 answers
263 views

Duplicate user with all applications and settings - Windows Server 2012 R2

We are logging in to our Server with Remote Desktop (don't ask me why...we have our reasons...;-). Each time a new employee starts I have been re-installing applications and setting etc for them on ...
Petter Magnusson's user avatar
0 votes
0 answers
160 views

zip files before copying from Windows Server

20,000 small files takes forever to copy. Is there an easy way to zip files on a Windows Server before copying to a client desktop? It must be simple enough for a novice user to do it from the client ...
Brandon's user avatar
2 votes
3 answers
7k views

Copying files using multi threading increases performance - Why?

When copying files from one location to another, the most used resources are memory (buffers) and I/O on the devices. However, when using a multi threaded copy utility such as Robocopy, when you ...
NoChance's user avatar
  • 135
0 votes
1 answer
72 views

Migrate over 1 million file with ~150 GB from 1 server to another

Tell me Guys, how would you transfer more than one million files, witch have a summarized size of about 150 GB from A servers (KVM) VM to another (let's call it B, XenCenter) servers other VM in ...
Bert's user avatar
  • 1,076
7 votes
4 answers
8k views

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 ...
h.safe's user avatar
  • 131
1 vote
6 answers
2k views

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 ...
Mohamed Sayed's user avatar
1 vote
1 answer
34 views

Windows server - moving to new server with AD

I want to add/copy users on new server with AD from server without AD ( Windows 2012). What is recoomended scenario ?
madmax3's user avatar
  • 11
4 votes
0 answers
795 views

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. ...
Leandro Ferreira's user avatar
0 votes
0 answers
3k views

powershell copy-item public desktop access denied

Below is the powershell script I am running, I am a local administrator on the workstations in the PClist.txt and I have the modify right on the share location. When I run it I get the following error:...
Jedi Administrator's user avatar
1 vote
1 answer
431 views

Server 2008R2 copying big files freezes in the middle

Copying a big file (5GB or more) from a UNC path to a local disk freezes/stops more or less in the middle of the process. There is no way to cancel the task (if I try to do it it wall just go on the ...
Okrx's user avatar
  • 73

1
2 3 4 5
7