Jump to content
XPEnology Community

Guide: Synology Backup to USB with task and notify


aoprea

Recommended Posts

Hi

 

as you know, on synology not exist a good method to do a simple backup (mirroring, rsync) to a external USB:

- usbcopy permit only one job

-hyper backup it's to complicated to do a simple job (directory of bkp is inside another directory, or if you allready have bkp directory  you have to re-doit job  again from begining)

 

So, i made a simple script in job task scheduler to do a backup of internal directory to a external usb and to have a notification when job is done:

#!/bin/bash
rsync -au --delete /volume1/dir/ /volumeUSB2/usbshare/dir-bkp/
/usr/syno/bin/synodsmnotify @administrators "Rsync Task" "Dir-bkp done !!!"

change dir with your directory

 

I hope it's help.

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...