RSYNC backup problem

Currently reading
RSYNC backup problem

1
0
NAS
DS918+, DS215+
I have a had a backup problem which I would like some advice with.

I have 2 Synology NAS, a Main and a Backup. I decided to use RSYNC to perform a nightly backup from one to the other and it has been working fine for a few weeks. I had a few problems getting RSYNC setup and ended up mounting remote folders on the Main device connecting to the Backup device. The Backup device powers on at 2am and the Main device runs a scheduled task, a script the runs the RYSNC command. For some reason last night the Backup device did not power on and the RSYNC command created a local folder to put the RSYNC files into. When I got up this morning I had lots of low disk space warnings, it took a while to figure out what had happened - it all looked fine as the folders had the correct names they were just local instead of remote!

Any ideas how I can stop this from happening in the future, I have stopped the pwer schedule on the Backup device in the meantime so it runs 24/7

Is there anyway in the script to check that either the remote connectioon is up or the Backup device is running?

Thanks
 

Rusty

Moderator
NAS Support
2,895
881
www.blackvoid.club
NAS
DS412+, DS718+, DS918+, 2x RS3614RPxs+ with expansions
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
Why not use Hyper Backup (single file option) for your rsync task? I use it this way for years and it’s working fine. On top of this, if the destination nas will not respond the task will fail with an error and just wait for the next scheduled time to try again.
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Similar threads

Similar threads

Trending threads

Top