Does Rsync use Hardlinks?

strangefinder
strangefinder Posts: 6  Freshman Member
In short,
about 5 years ago is sold my Zyxel 520 because i wanted to make backups from the Nas, which are invisible for windows, because of emotet and co.
This was not possible.
So i switched to HP Gen8 Server and Openmediavault which works great.
Now i wanna have bigger disks and dont wanna spend so much € so i will sell my expensive HP Server and go back to Zyxel.
And now after years in can make internal back and external backups. great!
So i will use 2 Raid disk, and one more internal as daily backup drive, and one big external usb for weekly backup.

In case the Nas520 dies, i want to read the backup drives with linux or windows, so iwant to use rsync.
Does Zyxel Rsync makes an incremental daily backup and uses hardlinks for files that have not changed to preserve diskspace?

All Replies

  • strangefinder
    strangefinder Posts: 6  Freshman Member
    Forgot, years ago my username here was " rsrsrs " ;-)
  • Snow
    Snow Posts: 22  Freshman Member
    edited January 2021
    The default app center do not have Rsync package in it. 
    You can find some packages on the internet that support Rsync command.
  • strangefinder
    strangefinder Posts: 6  Freshman Member
    Snow said:
    The default app center do not have Rsync package in it. 
    You can find some packages on the internet that support Rsync command.

    do you have a link?  and how can i install them on my NAS?
  • Hill
    Hill Posts: 154  Master Member
    Backup Planner > Backup > Add Job, you can see Rsync option.


  • strangefinder
    strangefinder Posts: 6  Freshman Member

    There is a script:

    https://www.heise.de/download/product/rsyncbackup.vbs-39087

    which works like following;

     
    the script creates a directory with the name actual date -time.
    rsync copies the first time all data in the this directory.
    the second time it creates a new directory with the name actual date -time.
    this time only new data is copied, the not new data are only hardlinks.


    this means you have snapshots off all data of every time.
    perhaps 8TB data on a 2TB harddisk. (windows cant see the difference of
    hardlink or real file)