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
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
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
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)
Greetings!
Though it's a bit strange for archiving/syncing program not to have an option of
preserving file access times, but even the 'official' patch for enabing this
option (the link to which is on the download page) doesn't work properly.
I wonder is there a way to preserve the access times
On Sat, Jun 18, 2016 at 06:02:32PM -0400, Kevin Korb wrote:
> Any time you don't understand why rsync is copying something the first
> step is to use --itemize-changes to find out what rsync thinks is
> different about the file.
>
Thanks! That helped.
Albert.
> On 06/18/2016 07:22 AM, Albert