Skip to main content
Engineering LibreTexts

Backup your RPi data using rsync

  • Page ID
    31043
    • Here the definition of external device is a flash drive or another computer on the network.

      There are different levels of expertise required depending on the method you use.

      1 ) one time manual backup using GUI

      2 ) first time manual backup using rsync

                  rsync to flash drive

                  rsync to another computer using the network

       3 ) synchronizing data using rsync in crontab by script

                  rsync to flash drive

                  rsync to another computer using the network

       

      The easy way is to put in the flash drive and use the GUI to put data on it.

      Use the rsync command to backup your data.  Push the data to a flash drive.

      Alternatively push you backup data to a server through the network.

      Look at the man page for rsync.

      After inserting the flash drive to put your data on, there two ways to approach this.

      1 )  change directories to the location on the drive where you want your data.  Pull the data to the flash drive.

      2 ) push the data to a location on the flash drive.