Reliable copying

General Discussion in English
Post Reply
Adminny
Posts: 1
Joined: Fri Jul 21, 2023 6:24 pm

Reliable copying

Post by Adminny »

Usual scenario.
Server has multiple constantly opened big files.
We want to copy them to remote server.
Yes, Block Level Copying is suitable for this.

Next, if copying of big file was interrupted, so we'll have corrupt those file.

I think about reliable scenario.
Make two identical profiles to two sftp-accounts.
And they will work by turn.

If one profile has done and we have a perfect consistent copy.
If another profile has interrupted and we have previous perfect consistent copy of another profile.

What do you think? Or your recommendation?
Another question: will it be better if use one Database (in Special features) for both profiles?
Another question: how make the correct alternation of profiles?

Thanks

tobias
Posts: 1668
Joined: Tue Mar 31, 2020 7:37 pm

Re: Reliable copying

Post by tobias »

Hello,
thanks for describing your use case!

Yes, two separate profiles are a good idea. They must not share the same database. Instead they must be completely independent.

One way to implement the correct alternation could be to run the second profile only if the first one was successful. So when the first job runs into an error, the second job will not be run. This is to protect the second job's files.

You could do that by giving only the first job a regular schedule, and then under Job->Execute before/after, type the following as an "after" command:

+RUN PROFILE Second Job

The + ensures that the second job is only run if the first one was successful.

Replace Second Job with the actual name. Do not use quotes.

Post Reply