On 1/5/2020 11:36 AM, Bruce Dubbs wrote:
On 1/5/20 10:41 AM, Alan Feuerbacher wrote:

What do you use for backup on Linux? For many years, on my Windows computer, I've had two extra backup disks installed, and use Acronis to do incremental backups to one of those disks every day. Every couple of weeks I switch the backup to the other disk, so I have some redundancy.

I think rsync is what you want.

  -- Bruce

I've played around with this a bit, and it works. I have a 2nd hard drive that contains an instance of Fedora 31, along with files I've saved for backup. Last week I used cp -a to do this.

After reading up on rsync, I mounted the 2nd drive on "fedora2home", and after some experimentation with the syntax, did this:

rsync -av /home/alan/* /fedora2home/alan/alan/

This does the same copying as:

cp -av /home/alan/* /fedora2home/alan/alan/

where /fedora2home/alan/alan/ contains my backup files.

But rsync copies only the changed files and is much faster than cp.

Thanks!

Alan

--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to