Because I'm running a server, I moved my Pi's file directory to a USB device using this tutorial, which means that I'm booting from an SD card, but all of the stuff I need is in a USB drive. How can I back up both my SD card and my USB so that I can save all of my settings if something crashes. Better yet, is there a way to backup my files via FTP or SSH?

1 Answer 1


Your server most likely runs headless, remote access is via ssh.

USB drive and SD card are both known to your system via fstab. So, it actually doesn't matter what they are, physically.

If you want a simple method with a small footprint, please consider rsync.

Note that rsync plays nice via ssh, you probably want exactly that to backup your data to another remote machine. Authentification can be realized via ssh-keys.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.