Skip to main content
Engineering LibreTexts

Backup your RPi data using rsync

  • Page ID
    31043
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

      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.

       

       


      Backup your RPi data using rsync is shared under a GNU General Public License 3.0 license and was authored, remixed, and/or curated by LibreTexts.

      • Was this article helpful?