Re: rsync script for snapshot backups

2016-06-21 Thread Petros Angelatos
On 19 June 2016 at 10:27, Simon Hobson wrote: > Dennis Steinkamp wrote: > >> i tried to create a simple rsync script that should create daily backups >> from a ZFS storage and put them into a timestamp folder. >> After creating the initial full backup, the following backups should only >> conta

Re: rsync script for snapshot backups

2016-06-21 Thread Dennis Steinkamp
Am 20.06.2016 um 22:01 schrieb Larry Irwin (gmail): The scripts I use analyze the rsync log after it completes and then sftp's a summary to the root of the just completed rsync. If no summary is found or the summary is that it failed, the folder rotation for that set is skipped and that folder

Re: rsync script for snapshot backups

2016-06-20 Thread Larry Irwin (gmail)
The scripts I use analyze the rsync log after it completes and then sftp's a summary to the root of the just completed rsync. If no summary is found or the summary is that it failed, the folder rotation for that set is skipped and that folder is re-used on the subsequent rsync. The key here is t

Re: rsync script for snapshot backups

2016-06-19 Thread Joe
Rely on the other answers here as to how to do it right. I just want to mention a few things in your script. yes | cp /volume1/rsync/Buero/timenow.txt /volume1/rsync/Buero/timeold.txt Yes is a program which puts out "Y" (or whatever you tell it to) forever - not what you want - and cp does

Re: rsync script for snapshot backups

2016-06-19 Thread Dennis Steinkamp
Am 19.06.2016 um 19:27 schrieb Simon Hobson: Dennis Steinkamp wrote: i tried to create a simple rsync script that should create daily backups from a ZFS storage and put them into a timestamp folder. After creating the initial full backup, the following backups should only contain "new data"

Re: rsync script for snapshot backups

2016-06-19 Thread Simon Hobson
Dennis Steinkamp wrote: > i tried to create a simple rsync script that should create daily backups from > a ZFS storage and put them into a timestamp folder. > After creating the initial full backup, the following backups should only > contain "new data" and the rest will be referenced via har

rsync script for snapshot backups

2016-06-19 Thread Dennis Steinkamp
Hey guys, i tried to create a simple rsync script that should create daily backups from a ZFS storage and put them into a timestamp folder. After creating the initial full backup, the following backups should only contain "new data" and the rest will be referenced via hardlinks (-link-dest)