Another backup method…


rsyncAfter software version 4.1.9, an incremental backup method was introduced. However, the Olive 4 software stopped at 4.1.9. So therefore, with every backup, all data was copied. That could last more than 24 hours, so Franck “frolic” and Marc “Mumsoft” at the AVSforum came up with the following method based on a program called rsync.

Note that I do not use this method and never tried it. For questions, please use the AVSforum. To enable SSH and access to to Olive from a computer, please refer to the posts about SSH and updating the Composerlist.

This method is only for the advanced user, please note that using this method is at own risk!

First the following actions need to be performed once:

  • Download the rsync zip file, extract the binary and copy it to the Olive /usr/bin/ directory.
  • Create two extra maps on the Olive

When connecting the external harddrive, perform the following actions:

  • Attach the backup drive to the Olive USB port. The Olive will now ask what to do with it, just press Cancel.
  • Mount the partitions 5 and 7 of the external drive to the Olive:

Before removing the harddrive:

Backup from the Olive to the external drive:

Restore of the external drive to the Olive:

After a restore reboot the Olive with the command:

 

So to make a backup, first make a SSH connection, connect the harddrive and mount the drive, do the backup, unmount the drive and disconnect the harddrive. To restore the backup to the Olive, first make a SSH connection, connect the harddrive and mount the drive, do a restore, unmount the drive and disconnect the harddrive and at last do a reboot.

Note that the Olive needs to be busy (use internetradio), since the SSH connection will be lost during sleep.

The “delete” option in rsync should only be used if everything works allright.

Marc uses a clone of the Olive harddisk as backup drive. If something happens to the Olive, he just has to swap the drives. Instead of shell, he uses bash. Bash is another shell that remembers commands. It is also easy to store all the commands in a shell script.