Script for creating snapshots using rsync


Recommended Posts

Hi!

I am a newbie at bash scripting so please excuse the immaturity of my coding skills.

I am sure, simple tasks have been made more complex, but the result is that matters.

I also use UnRaid for less than two months!

 

#IDEA TAKEN FROM http://webgnuru.com/linux/rsync_incremental.php

#IDEA TAKEN FROM http://lime-technology.com/forum/index.php?topic=31876

#IDEA TAKEN FROM Unraid Forum user WeeboTech

 

I have finished the part of making local snapshots, and now I need to start reading about rsync so that I get similar results with remote server.

I want my Unraid server to send snapshots to remote Synology server.

It's still work in progress and I know that I started building from the bottom to top!

 

Bear in mind that I am a bash NOOB, using linux only with Unraid and some experimental builds in the past (debian, arch, gentoo).

Also, I have two babies around so I was working 5 minutes at a time!

 

I am waiting for your comments!

Thank you all for your time!

rsnapshot.sh.txt

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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.