LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 02-27-2024, 02:29 PM   #1
JTJ 1950
LQ Newbie
 
Registered: Feb 2024
Posts: 6

Rep: Reputation: 0
seeking a backup program


Still learning my way around this new neighborhood after a BAD experience with Ransomeware on my Windows PC.

I'm seeking a Backup utility that will copy from my download directory to a removable drive that does NOT attempt to sync the directories. I don't want anything deleted from the target directory, and I don't want anything added to the source, and I don't need anything already present in the target to be rewritten just because it's in the source. (I had such a system in Win called SyncBackSE, but can't find the Linux equivalent).

I'm running Zorin OS 17 Pro.

Thanks
 
Old 02-27-2024, 04:07 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,712

Rep: Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899
Welcome to LinuxQuestions.

I do not know what backup utilities are available in Zorin's repositories but rsync which is a command line utility should be suitable. rsync has lots of options but is basically a copy program. It copies files from source to destination. If a file exists and is a newer version on the source, the destination is updated. No files are deleted on either the source or destination by default.
 
1 members found this post helpful.
Old 02-27-2024, 04:21 PM   #3
remmilou
Member
 
Registered: Mar 2010
Location: Amsterdam
Distribution: MX Linux (21)/ XFCE
Posts: 211

Rep: Reputation: 69
As I understand your question, backintime wil do the job for you.
It's rsync based (a huge pro) and will retain all copies as hardlinks. Only deletes what you specify (if any).
It has a GUI, but can operate on the command line as well. You can schedule your backups easily. Restore is a breeze.
There are more (rsync based), but backintime is my personal preferred one.
As michaelk suggest (+1) it's perfectly possible with "bare" rsync. Harder, but you will learn a lot.
 
1 members found this post helpful.
Old 02-27-2024, 04:26 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,712

Rep: Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899
I guess there is a "built in" backup utility.
https://help.zorin.com/docs/getting-...back-up-files/
 
1 members found this post helpful.
Old 02-27-2024, 04:38 PM   #5
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
JTJ 1950,

Welcome to LQ forums.

Have a look at FreeFileSync:
https://freefilesync.org/
 
1 members found this post helpful.
Old 02-27-2024, 08:49 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,328
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Code:
rsync -a
Here's a good tutorial.

Last edited by frankbell; 02-27-2024 at 08:51 PM.
 
Old 02-28-2024, 12:22 AM   #7
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,582
Blog Entries: 19

Rep: Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453
Have a look at this thread which I started.
https://www.linuxquestions.org/quest...ed-4175732064/

As a result of all the help I got from this community, I now have a working rsync backup script for each of the three partitions that I want to dump.
 
Old 02-28-2024, 02:07 PM   #8
JTJ 1950
LQ Newbie
 
Registered: Feb 2024
Posts: 6

Original Poster
Rep: Reputation: 0
I'm not fluent yet with command lines and terminal (although I suspect that will be coming), but I 'think' Grsync will keep things somewhat stable. Luckybackup looked to be a winner until it showed me (the hard way) that sync giveth, but sync also taketh away, without warning or recourse!

Beachboy2, filesync is on my list to check out, thanks.

Thank you all, I'm getting there!
 
Old 02-29-2024, 12:51 AM   #9
Jan K.
Member
 
Registered: Apr 2019
Location: Esbjerg
Distribution: Windows 7...
Posts: 773

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Sync is not "backup"... as you probably discovered.

You'll have to be extremely careful with the -option list when using any (?) of the sync derivates. Otherwise it will do as the name indicates... delete a file on your working disc, sync to your "backup" disc and the file will be deleted here as well...

Carry on!
 
Old 03-01-2024, 11:46 AM   #10
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
If you have sufficient disk space, I'd suggest the following:-

Reserve some separate disk space and run your backup to this space as an auto-run job.
It will be fast and require no effort.
With the right mount options, it should be safe from ransome-ware software, especially if you only install software from trusted sources!

Periodically, copy this backup to your external disk (to guard against your main disk failure).
 
Old 03-04-2024, 11:02 PM   #11
JTJ 1950
LQ Newbie
 
Registered: Feb 2024
Posts: 6

Original Poster
Rep: Reputation: 0
Wink WINNER

Quote:
Originally Posted by beachboy2 View Post
JTJ 1950,

Welcome to LQ forums.

Have a look at FreeFileSync:
https://freefilesync.org/
I looked at it, I liked it, I donated to it and I thank you from the bottom of my cold gray heart. I forgot to mention a GUI preference (rookie, I know...) but so far this thing has filled every box I have found needing filled.
 
Old 03-05-2024, 02:27 AM   #12
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
JTJ 1950,

Excellent news.

I use FreeFileSync myself.

Please mark the thread as [SOLVED] by clicking on Thread Tools on your original post.

Last edited by beachboy2; 03-05-2024 at 02:33 AM.
 
Old 03-05-2024, 03:06 AM   #13
Jan K.
Member
 
Registered: Apr 2019
Location: Esbjerg
Distribution: Windows 7...
Posts: 773

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
From the manual:

Quote:
If one folder contains your work files and the other is for backup, then select the Mirror variant.
The left folder is the source and the right folder the target. The synchronization will create and delete files on the target as needed until it becomes an exact copy of the source.

If you only want to add files to your backup, but never delete, then select the Update variant.
Files deleted on the source side will not cause file deletion on the backup drive (e.g. after you've made room for new photos on a digital camera). On the other hand, files deleted on the backup drive will not be copied over a second time (e.g. after you have removed photos you don't want to keep).
The "Mirror variant" is very dangerous, please be careful!
 
Old 03-05-2024, 08:44 PM   #14
JTJ 1950
LQ Newbie
 
Registered: Feb 2024
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Jan K. View Post
From the manual:



The "Mirror variant" is very dangerous, please be careful!
I learned that you can set up how files are copied (and optionally deleted) in Mirror and Update. Other apps just dumped some important files on me, thus my quest here, and my experiences with sync and mirror that FSS allows me to ‘Season to Taste’…
 
Old 03-26-2024, 03:46 PM   #15
JTJ 1950
LQ Newbie
 
Registered: Feb 2024
Posts: 6

Original Poster
Rep: Reputation: 0
Agree - to a point

The Mirror function has the potential to cause a lot of file loss, intentional or unintentional, but before anything occurs there is, by default, a chart displayed that shows the quantity of data being moved and also indicating how much is being added AND DELETED on each side. If you’re not looking to delete anything, you’ve been warned to check your settings. This chart is also always displayed in the lower right corner. It’s easy to overlook, but you shouldn’t…



Quote:
Originally Posted by Jan K. View Post
From the manual:



The "Mirror variant" is very dangerous, please be careful!
 
  


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
seeking "intra-net" web storage and online backup SaintDanBert Linux - Software 4 12-13-2009 07:10 PM
Seeking a Password manager/generator program Bobrm2 Linux - Newbie 7 01-30-2008 07:54 PM
Seeking Personal Finance Program for Linux bmcneely0 Linux - Software 9 12-08-2007 04:56 PM

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

All times are GMT -5. The time now is 08:12 AM.

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