Transfer files from Asustor NAS to QNAP NAS

Backup and data protection discussion at its finest.
Post Reply
datorexpert
Posts: 2
youtube meble na wymiar Warszawa
Joined: Sun Nov 27, 2016 11:15 pm

Transfer files from Asustor NAS to QNAP NAS

Post by datorexpert »

Files are beeing downloaded to a folder in the Asustor NAS AS-202TE.
Hourly the files should be transferred to the QNAP NAS and then beeing deleted on the Asustor NAS.
How can I set this up?
User avatar
father.mande
Posts: 1817
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: Transfer files from Asustor NAS to QNAP NAS

Post by father.mande »

Hi,
datorexpert wrote:Files are beeing downloaded to a folder in the Asustor NAS AS-202TE.
Hourly the files should be transferred to the QNAP NAS and then beeing deleted on the Asustor NAS.
How can I set this up?
As I know ... no "automatic" system exist but as usual Linux tools can help you
cron ... to manage action each hours
bash shell script ... to transfer and verify that new data is transferred then deleted ...
lftp ... for ex. to use bash file transfer (lftp permit to use user / password as parameters of a file transfer)
cifs ... to mount the QNAP share in the Asustor one ;.. then you can use copy, tar, etc.
sshfs ... for mounting ANY folder of the QNAP through a simple ssh connection ...
etc.
And ... if you want to start transfer on event (because it's better to be sure that the file is complete before starting a transfer)
... use mv (move) or inotify if kernel contains it ...

Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
Post Reply

Return to “Backup and Data Protection”