Topic "Put/Synchronize only files newer than XY"

Author Message
nexia
[View user's profile]

Joined: 2011-11-17
Posts: 3
Hello!

I want to backup files from a continuously measuring instrument (location in time zone utc+Cool to a ftp server (location in time zone utc+1 .. so... far away). The instrument produces approximately 100 MB/day. A new file at least every 24 hours.

2 problems came up so that I think I cannot simply use the synchronize command:
(1) The maximum available disk space available on the ftp server is 2 GB and I am not the only one using this disc space
(2) With regard to (1) the data will be moved to an other server. So the synchronize command will "see" that there are no identical files on the remote system and will copy all files, which will soon be too much ...

Don't ask me why the available space on the ftp server cannot be increased... I simply have to deal with it.
I cannot write to the other server directly, as this needs a vpn connection which is not possible for the instrument (in fact it causes trouble if the same vpn login is used twice and I need it by myself).

Does anyone have an idea how I can backup my measured data?

Nexia

---------
P.S.: It will take several hours until I can answer here again, as I am actually in time zone UTC+8 and will go to sleep now Wink ..but I am looking forward to see a lot of great ideas to solve my problem after breackfast tomorrow morning Very Happy
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
First, where are you running WinSCP? On the instrument? Or on a different box, separate both from the instrument and the FTP server?
_________________
Martin Prikryl
nexia
[View user's profile]

Joined: 2011-11-17
Posts: 3
Hi.

The Instrument consist of some inlets, some spectrometers and a computer in which labview is installed to manage the data acquisition and storage on this computer.
On this computer (Win XP operating system) WinSCP is running. The FTP server stands completely seperated on a different continent...

I was thinking about a different possibility:

- copy all new files into folder names backupMM-DD-YYYY (the acutal date) via batch script and xcopy
- copy this folder via batch script and winscp to the ftp server.

Would this be possible? Or is there an easier way?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
nexia wrote:
- copy all new files into folder names backupMM-DD-YYYY (the acutal date) via batch script and xcopy
- copy this folder via batch script and winscp to the ftp server.

Would this be possible? Or is there an easier way?

There are other ways. But none really easier than this one. So go for it.
_________________
Martin Prikryl
nexia
[View user's profile]

Joined: 2011-11-17
Posts: 3
Hello.

Thanks for your answer.

I solved it now as follows

- delete all files in folder xy
- copy all files newer than 1 day into folder xy
- compress all files in folder xy into a zip-archive
- upload this zip-file via winscp.

I think this topic can be closed now.

Nexia
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License