RSYNC backup problem

Currently reading
RSYNC backup problem

4
1
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
6,390
1,897
www.blackvoid.club
NAS
DS718+, DS918+, 2x RS3614RPxs+
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.

Similar threads

I made the below after some trial and error on source NAS - Task Scheduler. The below cron job is able to...
Replies
3
Views
1,449
I have hyperbackup running from source NAS to destination NAS with the below settings Backup type - Rsync...
Replies
0
Views
703
Depends on my needs but in general correct. I use a combination of snapshots and various remote backups...
Replies
4
Views
2,984
Sounds like Drive Share Sync is what I need. Thanks. EDIT: The indexing process kicked off by Drive...
Replies
4
Views
4,054
Would recommend using HB for all your backup tasks. It will have a detailed log and track record of all...
Replies
3
Views
2,104
  • Question
They are not, but then again even the most expensive equipment at some point can fail for any number of...
Replies
7
Views
517
  • Question
You Can Try Active Backup For Business Fileserver Backup with SMB
Replies
1
Views
304

Welcome to SynoForum.com!

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

Registration is free, easy and fast!

Top