LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Most efficient way to back up, then sync, one 2TB drive to another 2TB drive (ubuntu) (https://www.linuxquestions.org/questions/linux-newbie-8/most-efficient-way-to-back-up-then-sync-one-2tb-drive-to-another-2tb-drive-ubuntu-4175597098/)

eco_bach 01-09-2017 02:42 PM

Most efficient way to back up, then sync, one 2TB drive to another 2TB drive (ubuntu)
 
Hi.
Running ubuntu-mate.
Can any backup experts suggest the best way to back-up, and then perform regular syncs from one 2 TB external drive to another of same size?

suicidaleggroll 01-09-2017 02:53 PM

rsync is pretty much the standard for syncing one drive/directory to another.

Basic usage would look something like:
Code:

rsync -aAHXv /path/to/mount/point/A/ /path/to/mount/point/B/
You can refer to the man page for the definition of those flags and the others available in rsync. The first time you run it, it will copy everything. From then on it will compare sizes and timestamps to determine if any of the source files have changed, and if so it will update them on the destination.

Habitual 01-09-2017 03:34 PM

The first rsync is usually a good time to "go make a pizza or something."
From now on. Forever, until death-do-us-rsync

jefro 01-09-2017 05:01 PM

Consider the above choices but you also have some distro maintained backup programs that may be worth looking at too.


All times are GMT -5. The time now is 04:47 AM.