I am working with Server 2003 R2 SP2. I need to automatically compress and copy files from the server to a NAS drive. I have been playing with cygwin for a bit. My intention is to create a .bat file with a few commands to do this. Sound possible?
Next, can anyone help with the command a little? Im struggling to get it to work (*nix newbie).
Looking at something like tar with gzip and some command to copy (not sure which command to use for this). A *nix buddy said it might be possible to do with one command line? Also is there any way to ensure the fastest transfer possible? Just using Windows Explorer to copy is only giving me 3% utilization of gigabit.. Just wondering if theres a faster way than smb.
Also would it be a better idea to compress the file locally and then copy it? or just compress and write to the network drive on the fly?
Thanks!
Next, can anyone help with the command a little? Im struggling to get it to work (*nix newbie).
Looking at something like tar with gzip and some command to copy (not sure which command to use for this). A *nix buddy said it might be possible to do with one command line? Also is there any way to ensure the fastest transfer possible? Just using Windows Explorer to copy is only giving me 3% utilization of gigabit.. Just wondering if theres a faster way than smb.
Also would it be a better idea to compress the file locally and then copy it? or just compress and write to the network drive on the fly?
Thanks!