NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

Alein's avatar
Alein
Aspirant
Mar 30, 2021

rsync move data not copy for data collection purpose

Hi, anyone know how t omodify backup task, so rsync will move data from one NAS to another and delete on source?

I need one backup task as data colelction, and during night all data should be moved to central NAS, after that there is no need in source NAS to has those data. Normal rsync create additional tasks, sometime someone delete directory on source before data are copied.

1 Reply

Replies have been turned off for this discussion
  • StephenB's avatar
    StephenB
    Guru - Experienced User

    Alein wrote:

    Hi, anyone know how to modify backup task, so rsync will move data from one NAS to another and delete on source?

     


    You can't.  There is no script saved in the OS partition, so there is nothing you can modify.

     

    What you would need to do is write your own script, and either create a systemd service for it, or schedule it as a cron job. 

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More