Questions tagged [copy]

Duplicating a thing to make two similar things.

Filter by
Sorted by
Tagged with
0
votes
0answers
25 views

How to send copy message taking into account sender mail ( Postfix )

Is it possible to send copy of message taking into account sender address ? Example: if sender will send mail to my server using test.com domain then my server will forward email to original recipient ...
-1
votes
2answers
54 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 ...
0
votes
0answers
9 views

Group Policy to copy users profiles to the server

This is my first time asking here but, I tried to find a solution but nothing so far, I want to create a GPO that will automatically copy the user's profiles of all computers for a folder in the ...
2
votes
2answers
125 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: -...
-1
votes
1answer
71 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 ...
0
votes
1answer
454 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. ...
0
votes
0answers
33 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 ...
0
votes
0answers
68 views

How can I ROBOCOPY from the root shared folder?

I have two mapped drives and I want to copy data from A to B. As the data is huge, I don't want to robocopy folder after folder, Is there any way where I can run the robocopy on the root folder? Or, ...
2
votes
1answer
1k 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/...
1
vote
1answer
2k 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 ...
0
votes
0answers
323 views

multiple robocopy calls in one .bat file won't run

I'm trying to backup some files from my Windows server to an external USB drive using robocopy. Running robocopy tasks in cmd works fine but in the .bat it won't run and instead just echoes the ...
0
votes
2answers
36 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, ...
0
votes
1answer
154 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 ...
0
votes
3answers
317 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 ...
0
votes
1answer
144 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 ...
12
votes
2answers
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 ...
0
votes
1answer
67 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 ...
7
votes
3answers
7k 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 ...
0
votes
1answer
391 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?
3
votes
2answers
3k 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 ...
1
vote
2answers
38 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 pi@192.168.1....
0
votes
1answer
2k 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 ...
2
votes
2answers
73 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 ...
0
votes
2answers
764 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 ...
3
votes
0answers
1k 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 ...
2
votes
1answer
430 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 -...
5
votes
2answers
1k 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 ...
1
vote
0answers
135 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 ...
0
votes
1answer
64 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 ...
7
votes
4answers
5k 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 ...
1
vote
6answers
1k 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 ...
4
votes
0answers
434 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. ...
0
votes
0answers
2k 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:...
-1
votes
1answer
452 views

Copy-paste heredocument into Bash converts tabs into dots

I use Windows 10 home (build 16299.248) and I'm SSHing into a remote Ubuntu 16.04 machine with various SSH clients (like Putty/MobaXterm). I copy-paste the following code from my personal GitHub ...
3
votes
1answer
2k views

Copy/paste disabled after running remote desktop in windows7 [closed]

I have 64bit windows 7. When I run remote desktop to another server or computer, copy/paste disabled on whole of my PC! I enabled copy/paste option on remote desktop, but it is not working. I can not ...
6
votes
1answer
20k views

Cannot cancel copy task in ESXi Web interface

I started copying a file from one datastore to another using the ESXi Web interface (version 6.5.0 Update 1 (Build 6765664)) and has been going on for half a day. I want to gracefully stop the copying ...
1
vote
2answers
329 views

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)...
1
vote
2answers
1k views

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/...
1
vote
4answers
4k views

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 ...
0
votes
1answer
759 views

Prevent users copy files to C drive

I'm working on a VM-based desktop solution, and one of the requirements is to restrict normal users from running specific programmes, such as putty. I've explored the GPO methods -- "blacklist" mode ...
0
votes
2answers
4k views

GPO copy file task does not work into roaming folder

We created a GPO task to copy a file from our share(\\SRV01\Datastore\Team\Shared\TEST_Addin.xlam) to the user's roaming folder (%AppData%\Microsoft\AddIns\TEST_Addin.xlam). On this shared location ...
0
votes
1answer
1k views

Copy files from /var/www/html while they are used by nginx

I have a lot of data in /var/www/html. It's more than 2GB. Now I have the possibility to host the website on the host (nginx is using /var/www/html) or I can use docker. For the user of docker I am ...
0
votes
1answer
139 views

Migrate dedicated Windows server byte to byte

I have remote dedicated Windows Server hosted on Hetzner Online. I need to migrate the box as-is to the new dedicated server, while I will have access to both. I do not have BIOS access, but I can ...
1
vote
1answer
219 views

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 ...
1
vote
2answers
3k views

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 {$_....
0
votes
1answer
3k views

forfiles how to move a directory to another directory

I'm trying to move a directory which certain date parameter to another directory.. This is the command I'm using: FORFILES -p C:\test1\ /S /D -3 /C "cmd /c if @isdir == TRUE move C:\test2\" I want ...
1
vote
1answer
9k views

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 ...
0
votes
1answer
326 views

Active Directory User Copy within the same domain/forest

we have set up Active Directory Replication within the same domain/forest between two Windows Servers 2012. The Master Server, copies its contents to the secondary server. Unfortunately, for a number ...
4
votes
2answers
20k views

Copy directory contents with Ansible (without replace destination files)

There is a directory under /var/test1 with content: . .. .git .gitignore file1 file2 and I want to copy it on an other location /var/test2 with pre-existing content: . .. file1 If I use the ...
-1
votes
3answers
3k views

Copy a file with SCP on Ubuntu 14 with PEM key on both servers

I have 2 servers on Amazon AWS. I need to pass a file from A to B. Both servers have pem keys (different). I put the pem file of B on A (Is that correct?) Then tried to do from A: scp -i /tmp/B.pem ...

1
2 3 4 5