The copy tag has no wiki summary.
0
votes
2answers
45 views
Move files to another directory which are older than a date
I am looking for a solution to move files that are year older from today. My log partition is getting full, but I can not remove them. They are needed for a long long time. Anyway one solution I came ...
0
votes
0answers
14 views
Directory needs permissions “reset” after a script copies a file & then modifies its permissions
I'm running CentOS on Virtualbox with Apache, successfully building a website from the ground up.
Things work great and recently found out how to resolve permission issues when sharing files between ...
0
votes
0answers
31 views
Can we copy some selected users to another server?
I want to run my FTP configuration with pure-ftpd-mysql on my servers. My both servers use ISPconfig with MySql replication.
I use RSync to copy my data from my server 1 to my server 2 (backup ...
0
votes
0answers
21 views
FTP server to server transfer from local m/c
Could anyone show me an example of how the scenario (figure 2 in 2.3 of http://www.w3.org/Protocols/rfc959/7_Scenario.html) mentioned in RFC 957 specification of the FTP could be implemented. Even a ...
0
votes
3answers
74 views
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.
...
0
votes
0answers
25 views
Copying a recently edited System file from Remote Desktop grabs an unedited copy of the file
I'm tracking a bug on a remote server (Windows Server 2008 Standard Edition) and wanted to copy the applicationHost.config file from inetsrv to my local pc (Windows 7) to attempt to replicate the ...
0
votes
1answer
36 views
cisco small business 300-10 managed config import fails
Device: cisco small business 300-10 10-Port Gigabit Managed Switch
Firmware: 1.2.7.76
The config installation via webinterface with TFTP or http fails with following message in the console ...
0
votes
0answers
11 views
SSMS 2005: SQL Server Results to Grid option changes will only be applied to new SQL Server Query Editor windows.
What does this mean?SQL Server Results to Grid option changes will only be applied to new SQL Server Query Editor windows.
I cannot get the column header out when I copy paste data from tables.
2
votes
3answers
77 views
Under Linux, how do I copy files from one filesystem to the other (both gpfs) and preserve hard links?
I have a directory with huge files and a number of directories, that have hardlinks on these huge files. How do I copy files from one filesystem to the other and preserve hard links?
0
votes
1answer
57 views
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 ...
-1
votes
1answer
24 views
copy speed to server with multiple clients
I got a file server that is connected via an HP switch to multiple clients.
The clients are mapping network drives of shared folder on the server and copy files from an external e-sata drive to the ...
0
votes
1answer
117 views
Using RoboCopy on multiple destinations with monitor option
I am trying to copy a shared folder which its content (folders and files) are created by a third party app at no specified intervals.
I need to copy these files onto two different server shares.
The ...
1
vote
1answer
86 views
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).
0
votes
4answers
113 views
Copy files from one server to another with same permissions
Im migrating to new server and i need to move few websites but i need to have same read/write permissions to new serves as they were on old server.
I don't need to keep group and owner id's same but ...
1
vote
1answer
144 views
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 ...
2
votes
1answer
165 views
Robocopy uses relative path for Source and Destination paths
I'm trying to use RoboCopy in my TFS Build Template to copy some files, but for some reason it inserts "C:\Windows\system32" in front of my Source and Destination paths, even though I am passing in ...
2
votes
2answers
93 views
Copy entire filesystem in a folder where a raid-1 array is mounted
I am trying to migrate from a single disk drive system to a double disk drive software raid-1 system that already has a running system on it. Meaning that formatting and having a new installation of ...
0
votes
0answers
57 views
Windows Network copy and access denied randomly
I have a windows 2008 R2 server and I now installed a new bigger HDD into it.
I wanted to copy big AVI files to the new server hdd what is shared on the local network. I have write access to the ...
0
votes
2answers
101 views
Linux Shell - How to copy directory without symlink
I would like to get everything inside one directory.
How can I copy entire directory (that originally contains files and symlinks) to a new directory that should contains all files but no symlink??
...
0
votes
0answers
12 views
Duplicating a production virtual server image for test [duplicate]
Possible Duplicate:
vmware copy production server to a test server
Our current web settings is a Windows 2008 Server running a .NET product on IIS with an SSL certificate with a SQL Server ...
2
votes
2answers
218 views
What's faster, cp -R or unpacking tar.gz files?
I have some tar.gz files that total many gigabytes on a CentOS system. Most of the tar.gz files are actually pretty small, but the ones with images are large. One is 7.7G, another is about 4G, and a ...
2
votes
1answer
207 views
Robocopy copies folders but not files
I'm using robocopy on a Windows Server 2008 R2 SP2 machine with the following options:
robocopy W:\ E:\old_files\daten1\ /R:1 /W:1 /MIR /COPYALL /ZB /DCOPY:T /MT 50 /LOG:E:\old_files\copy_w.txt
...
1
vote
1answer
38 views
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 ...
0
votes
3answers
87 views
copy directory including 'base' folder
I need to copy folderA into folderB via the command line:
c:\temp
\folderA
\folderB
should become
c:\temp
\folderA
\folderB\folderA
That is, exactly the same ...
2
votes
4answers
233 views
What is the efficient way to backup large files?
I have the schedule job of backing large files in Windows Server and it takes almost 2 hours to finish.
For now, I only use copy command in the .bat and copy the large files to another folder.
I'm ...
-1
votes
2answers
159 views
copy files with folders [closed]
The following scp is working as expected.
scp /home/admin/* root@ec2-50-112-212-73:/
But I need a command that will create the required folder structure on destination server if it does not already ...
0
votes
2answers
523 views
RSYNC from remote to local excluding folders
How can I download from a remote server to local excluding folders or files?
I have used something like this but the exclude doesn't work...
rsync -avr -P -e ssh --exclude=/path/to/exclude/* ...
4
votes
1answer
221 views
How do remote filesystems (nfs ssfhs) handle remote-to-remote copies?
After working with a few large files over sshfs, one question started dwelling in my mind.
Suppose I have a sshfs (or NFS for that matter) mount on ~/remodetir and I want to do something like
cp ...
2
votes
2answers
272 views
Remotely copying files from WebDAV server?
My iDisk is about to expire, and I can access it through the WebDAV protocol. I own my own server, and I know it's possible to access my iDisk through WebDAV.
I was wondering how I would go about ...
0
votes
1answer
90 views
Copy directory to external from corrup driver
i need help critical, rifht now a HDD in my server its corrupt, need to force fsck over the partition (ext2 ubuntu 8.10), but I need to extrack files before the command for secure reasons..
I get ...
0
votes
2answers
130 views
How create ghost images and copy to many drives [closed]
I am looking for the cleanest and most reliable solution to create ghost images of a windows 7 based machine and copy these images to multiple hard drives.
I am looking for the software needed to ...
-1
votes
2answers
132 views
Moving Large Files Between Servers
I NEVER have to do this. But I know its a common problem. Yet, I'm not sure how to tackle it. I have a server (Windows Server 2008) that I access remotely. This server is NOT on the same domain as my ...
5
votes
2answers
258 views
Best way to transfer files from one server to another using a third server
Here's the scenario:
ssh +------------+
+---->| Server 2 |
+------------+ | +------------+
| Server 1 +---+
+------------+ | +------------+
...
-1
votes
2answers
205 views
copy file: Not a directory
I have a NAS mount, and I can copy file to this,
but I can't copy files similar to this
cp /home2/user/WRF/WRFV3/run/*_2 . -v
`/home2/user/WRF/WRFV3/run/wrfout_d04_2007-11-21_00:00:00_2' -> ...
2
votes
1answer
551 views
rsync not working - want to copy only certain subdirectories and files
Hi let's say I have a directory like this:
/
my_work
/dir1
keepdir1.ddd
keepdir2.ddd
file.cfg
(lots ...
0
votes
2answers
234 views
Copying Centos to another server
I just did a fresh install of centos and spent ages adding all my standard libraries. Is there a way I can easily take a copy of this build and deploy to another new server?
3
votes
7answers
3k views
Copying huge files between two remote machines - Efficiently
I have a shell script which keeps on copying huge files (2 GB to 5 GB) between remote systems.
Key based authentication is used with agent-forwarding and everything works.
For ex: Say the shell script ...
0
votes
2answers
339 views
Clone Flash Drive in Linux using DD
dd if=/dev/sda of=/dev/sdb
I want to create a clone a bootable USB stick.
lets say sda is 2GB
sdb is 32GB.
The above line will create a replica but the usable size will be 2GB. How can I use the ...
1
vote
1answer
77 views
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 ...
3
votes
4answers
470 views
Copy a range of files in command line (ZSH/BASH)
I have a list of files with consecutive numbers as suffixes. I would like to copy only a range of these files. How can I specify a range as part of my cp command.
$ls
P1080272.JPG* P1080273.JPG* ...
3
votes
4answers
4k views
Linux / mysql: is it safe to copy mysql db files with cp command from one db to another?
Most guides recommend mysqldump and simple SQL for copying one table to anoter db. How about linux shell cp? Can I just simply do
cp /db1/mytable.frm /db2/mytable.frm
0
votes
2answers
41 views
Database not browsable during COPY on PostgreSQL
When using COPY to restore a CSV file, phppgadmin shows that the real database size(4GB) but when I choose to browse the table it shows Estimated row count to 0. I did a VACUUM ANALYZE. simple SELECT ...
0
votes
1answer
112 views
ssl handshake failure with COPY on PostgreSQL
I'm restoring a CSV file to database with COPY command. The csv file is bziped. I use this command:
bunzip2 -c -d online-20110923000001.csv.bz2 | psql -U user -h 127.0.0.1 -d testdb -c "COPY data ...
3
votes
2answers
336 views
Copy files from SVN server to external server via FTP
Currently I have about 5 servers, one I would like to use as a SVN server for development reasons, but I want it to be able to update the external server such as copying committed files to the ...
2
votes
2answers
271 views
Microsoft Terminal Server clipboard corruption
I've got a client running Terminal Server 2008 R2, connecting from Windows XP terminal services client (not sure of the local RDP version, I think they've got all their service packs though) and ...
5
votes
2answers
520 views
Fastest way to copy folder that contains many files via SSH
What is the best way to duplicate files on server via ssh?
In my case: I'm talking about duplicating magento shop. (15000 files ~ 50MB)
cp -a source destination
Is taking hours... (in my case ...
0
votes
1answer
404 views
USB stick unmounts itself, becomes unavailable ?!
On Centos 6, I am trying to copy some files from a Fat32 stick.
I do a "fdisk -l" then take that name and mount it with this command:
mount /dev/sdb1 /mnt/usb
I see the files there (I didnt count ...
2
votes
2answers
220 views
Copy whole files only
Is there any way to copy directory from one filesystem to another but remove the partial file in case we run out of disk space on target filesystem?
I searched cp and rsync manuals but did not find ...
3
votes
2answers
389 views
Why does a CP command on linux consume CPU?
I just run a copy command for two large directories with a small number of huge files and I see my cp process is consuming around half a core in top:
51116 root 20 0 110m 876 688 D 43.9 ...
2
votes
5answers
2k views
Rsync : copying over timestamps only
Currently I have two directories A/ and B/ which are identical in every respect, with the exception of the timestamps. Therefore if I run the command :
rsync --dry-run -crvv A/ B/
then all files ...
