LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-09-2017, 03:42 PM   #1
eco_bach
Member
 
Registered: Dec 2016
Posts: 242

Rep: Reputation: Disabled
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?
 
Old 01-09-2017, 03:53 PM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143
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.
 
Old 01-09-2017, 04:34 PM   #3
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
The first rsync is usually a good time to "go make a pizza or something."
From now on. Forever, until death-do-us-rsync
 
Old 01-09-2017, 06:01 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,186

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


Reply

Tags
back-up, ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting CentOS to install on drive that's over 2TB Paul.Bagnall Linux - Software 3 01-15-2012 02:31 PM
New Seagate External 2TB Drive Issues xmrkite Linux - Hardware 7 11-27-2011 10:54 PM
WD 2TB ext usb drive: Ubuntu 10.04 chkdsk equivalent with no loss of files posible? gustav521 Linux - Hardware 3 04-29-2011 05:16 PM
WD 2tb external drive tescky Linux - Newbie 1 10-06-2008 11:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration