LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 06-08-2019, 03:02 AM   #1
LQ496873
Member
 
Registered: Jan 2006
Distribution: openSUSE Leap 15.3
Posts: 120

Rep: Reputation: Disabled
Updating a backup drive


I use Ubuntu 19.04.

I have all my files (pics, documents, my GNUCash save file, CV etc) on an external drive. I just plug it in when I need to.

I then have a backup of this drive on another external drive.

How do I add new files, remove deleted files and update modified files on the backup drive?

If I simply copy and paste then anything new will be added to the backup... this is good! But anything I delete from the files drive will remain on my backup drive. Everything else will have to be re-written to my backup drive to so I can make sure the modified files (such as the GNUCash save file or my CV/resume) is backed up.

Thank you for any suggestions!
 
Old 06-08-2019, 03:12 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Make yourself a drink of choice (non-intoxicating would be best) and read the manpage for rsync.
 
Old 06-08-2019, 09:45 PM   #3
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
https://askubuntu.com/questions/4760...-source-folder


I'd read over that post and do some testing before actually putting it into service while sipping on that drink, or two, maybe three.

Last edited by BW-userx; 06-08-2019 at 09:47 PM.
 
Old 06-09-2019, 03:50 AM   #4
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,490

Rep: Reputation: Disabled
I just delete everything on 'drive2', & cp -a my present ('drive1') files over to it - doesn't really take that long - especially if using USB3.
 
  


Reply



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
Remote Backup script needed | backup every 1-2 seconds (Online/Hot backup) reda Linux - Newbie 4 04-20-2019 05:02 PM
[SOLVED] Backup, shrink backup and modify MBR of backup jps1x2 Linux - General 1 12-17-2013 05:03 AM
rpm changes are not updating immediately and updating after some time. shri_22ram Linux - Newbie 1 05-13-2013 12:50 PM
why is bind updating reverse zone with updating zone 202.1.168.192.1.168.192.in-addr marcobjorge Linux - Networking 5 10-12-2008 04:53 AM
Updating VMWare After Updating CentOS Linux31 Red Hat 2 09-18-2007 02:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 12:43 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