I need a method for backing up the server to Debian. Now a cron script is used that periodically performs rsync to a remote machine. Is the method better?

    3 answers 3

    Overall, rsync is pretty good. But it is quite reasonable to use wrapper scripts. For example, rsnapshot (written entirely in Perl). You can read about it there: setting up backup in Ubuntu .

    The approach is almost the same: adding a cron script that regularly backs up rsnapshot.

      You can still

      dd if=/dev/sda1 of=/path_to_backup_storage/storage.bu 

      device name, of course, need to put your own. This will create a copy of the device file.

        Also, if there are not very many files, then tar'and send as one file to a remote server