Backup applications like luckyBackup

Message
Author
User avatar
Richard
Posts: 1591
Joined: Fri Dec 12, 2008 9:31 am

Re: Backup applications like luckyBackup

#11 Post by Richard »

Yes, by changing it to save and never delete,
by unchecking the above parameter.

IMHO, that is the point of the problem that some have had when for various reasons the Source has changed and when LB is run again everything that doesn't exist on Source is deleted from the target!!

So, yes, I have happily used Lucky Backup without that Delete parameter active, which ensures that everything backed will still exist in my backup folder.

My personal opinion is that the parameter to Delete from backup should not be active by default. I learned the hard way several years ago.

Other than that it works fine for me. Imagine that for users who don't mess around with the system files and move/change HDDs probably don't have any problem.
Thinkpad T430 & Dell Latitude E7450, both with MX-21.3.1
__kernal 5.10.0-26-amd64 x86_64; Xfce-4.18.0; 8 GB RAM
__Intel Core i5-3380M, Graphics, Audio, Video; & SSDs.
HP Ryzen 5 17-cp3xxx with MX23.4 AHS & Liquorix 6.10-12~mx23ahs amd64

User avatar
m_pav
Developer
Posts: 1916
Joined: Sun Aug 06, 2006 3:02 pm

Re: Backup applications like luckyBackup

#12 Post by m_pav »

I've used it for years without fault.
My most important files are sync'd with an online account, there are really only a handful of them. The remainder are kept in check using Luckybackup, but I install and configure bleachbit, then use an option available in Luckybackup to run bleachbit prior to backing up so I don't backup thousands of crap files from my browser cache and I don't end up keeping screeds of ISO images and VM images from past experiments, so for me, the option to remove files from the destination drive is very, very useful.

Most people either backup too much, or they backup too little, if at all. I've set up many businesses and individuals with daily/weekly or monthly scheduled backups that purposefully do not backup any temporary files, cache locations and restrict backups of the likes of their downloads folder and trash. Keeping backups of these thousands of unnecessary files compound the time it takes for each backup to complete and waste local and network space and bandwidth and they easily mount up into the hundreds of thousands and even into the millions if not kept in check.

Backups need to be carefully planned and exclusions are just as important as inclusions. Know your file system well, know what is important and what is superfluous. In your backups, retain only the good and necessary files, trash the rest, unless you're interested in running on-going forensic analysis, then and only then, keep everything.

It's OK if you want to keep everything, that's your choice, but I'd hate to be the one that has to trawl through hundreds of thousands of junk files to find the gems you need.

N.B. My home folder backup for my daily driver is over 600GB.
Mike P

Regd Linux User #472293
(Daily) Lenovo T560, i7-6600U, 16GB, 2.0TB SSD, MX_ahs
(ManCave) AMD Ryzen 5 5600G, 32G, 8TB mixed, MX_ahs
(Spare)2017 Macbook Air 7,2, 8GB, 256GB SSD, MX_ahs

finickyrelic
Posts: 41
Joined: Tue Dec 04, 2018 10:47 pm

Re: Backup applications like luckyBackup

#13 Post by finickyrelic »

m_pav wrote: Wed Oct 30, 2019 2:09 pm I've used it for years without fault.
My most important files are sync'd with an online account, there are really only a handful of them. The remainder are kept in check using Luckybackup, but I install and configure bleachbit, then use an option available in Luckybackup to run bleachbit prior to backing up so I don't backup thousands of crap files from my browser cache and I don't end up keeping screeds of ISO images and VM images from past experiments, so for me, the option to remove files from the destination drive is very, very useful.

Most people either backup too much, or they backup too little, if at all. I've set up many businesses and individuals with daily/weekly or monthly scheduled backups that purposefully do not backup any temporary files, cache locations and restrict backups of the likes of their downloads folder and trash. Keeping backups of these thousands of unnecessary files compound the time it takes for each backup to complete and waste local and network space and bandwidth and they easily mount up into the hundreds of thousands and even into the millions if not kept in check.

Backups need to be carefully planned and exclusions are just as important as inclusions. Know your file system well, know what is important and what is superfluous. In your backups, retain only the good and necessary files, trash the rest, unless you're interested in running on-going forensic analysis, then and only then, keep everything.

It's OK if you want to keep everything, that's your choice, but I'd hate to be the one that has to trawl through hundreds of thousands of junk files to find the gems you need.

N.B. My home folder backup for my daily driver is over 600GB.
Thank you for providing insight into this. Being new to Linux in general, I don't fully understand the logic behind the file system hierarchy. While some things like /mnt and /media are easy to understand, I have never been able to grasp the differences between directories that seem redundant at first glance. For example, directories within /usr seem to also be in /usr/local and then I've also got a ~/.local directory as well.

That said, I do understand that most of the data that I would care to backup lives in /home. So, besides the obvious directories like ~/Downloads, what should I be thinking about excluding so as to prevent backing up unnecessary files such as browser cache?

User avatar
entropyfoe
Posts: 639
Joined: Thu Apr 19, 2007 11:42 am

Re: Backup applications like luckyBackup

#14 Post by entropyfoe »

Richard,

Thanks for your experience.
My personal opinion is that the parameter to Delete from backup should not be active by default. I learned the hard way several years ago.
I never noticed that check box, so that was probably what was happening. I will look at LB again.
I agree, that is a dangerous option to have in back-up software turned on by default. :confused:

That said, I have adopted Grsync, in the repos, and works well with what I find to be a simple interface.
MX 23.6 AHS on Asus PRIME B650
Ryzen 9700X (16 threads @ 3.8 GHz)
64 Gig DDR4 6400 (Crucial)
Integrated Radeon graphics
Samsung 970 NVMe nvme0n1 P1-3=MX-23.5, P4=testing
Samsung 980 NVMe =2TB Data, plus 4TB WD =backups
on-board ethernet & sound

User avatar
m_pav
Developer
Posts: 1916
Joined: Sun Aug 06, 2006 3:02 pm

Re: Backup applications like luckyBackup

#15 Post by m_pav »

No need to backup anything other than the contents of your <login name> home folder, the rest can be reinstalled in less than 10 minutes on most semi-current machines, less if you have a SSD.

MX has a cleanup tool, that's a start, but it won't clear out browser temp files, you'll need another tool for that. There's a few around and we used to ship with bleachbit preloaded, but people were doing some dumb things with it and claiming MX was rubbish when in reality, PEBCAK was more accurate.

If you want to use bleachbit, make sane choices like selecting only the things that appear to be junk, not everything and operate it only as a user, not as root. As a user, you will have limited access to system files, that is a good thing, don't mess with what you don't understand.


Here's a simple and safe selection list
Under Deep scan
.DS_Store
Backup Files - these are backups of old configs, usually given the suffix .bak. Rarely seen in your /home folder
Temporary Files - stands to reason
Thumbs Database - delete only if you don't want to refresh the previews database of items stored in your home folder

Firefox (most browsers will have a similar selection)
Cache - this is where things get out of hand, clean often
Cookies - your choice if you want to keep them or not, can cause troubles with saved passwords
Crash Reports - delete
DOM Storage - Delete
What remains is up to you, but these are the essentials for browsers

Libreoffice - only clean the cache, history is a good feature if you use LO as your daily driver

System - mostly root access only, but you can clean the cache, clipboard, recent documents list and trash

Thumbnails - as per the thumbs database, this removes the miniature images that are displayed as thumbnails.

Once you set these in Bleachbit, you can set Luckybackup to run it ahead of the actual backup, which will only work on your data stored in your home using the selections you last made using the GUI, not on the system. Bleachbit runs in headless mode when called by luckybackup, meaning, no GUI.

As for the Linux filesystem, there are literally thousands of internat pages on it. The one on the OpenSource site is good and there's an old project called LSB which seeks to standardise the filesysten heirarchy, it's still alive but no longer needed. They sought to make everything knowable through familiarity so vendors could make drivers for Linux. It didn't help much, but Epson still hold fast to it and are probably to only manufacturer left that does.
Mike P

Regd Linux User #472293
(Daily) Lenovo T560, i7-6600U, 16GB, 2.0TB SSD, MX_ahs
(ManCave) AMD Ryzen 5 5600G, 32G, 8TB mixed, MX_ahs
(Spare)2017 Macbook Air 7,2, 8GB, 256GB SSD, MX_ahs

User avatar
Richard
Posts: 1591
Joined: Fri Dec 12, 2008 9:31 am

Re: Backup applications like luckyBackup

#16 Post by Richard »

Thanks @m_pav and @entropyfoe,
All good ideas.

I only use Lucky Backup to backup my /media/DATA folder.

I backup up several configs from ~/.config to the DATA folder
And some apps from external repos such as LibreOffice, Doublecmd, etc.
whether from MX or app sites.

I also backup my original /etc/skel and my current modified one
from time to time to /DATA.

LB for me is only for data, app debs, configs and anything that seems important.
MX Snapshot for system.
Thinkpad T430 & Dell Latitude E7450, both with MX-21.3.1
__kernal 5.10.0-26-amd64 x86_64; Xfce-4.18.0; 8 GB RAM
__Intel Core i5-3380M, Graphics, Audio, Video; & SSDs.
HP Ryzen 5 17-cp3xxx with MX23.4 AHS & Liquorix 6.10-12~mx23ahs amd64

User avatar
asqwerth
Developer
Posts: 8046
Joined: Sun May 27, 2007 5:37 am

Re: Backup applications like luckyBackup

#17 Post by asqwerth »

Richard wrote: Wed Oct 30, 2019 10:07 pm Thanks @m_pav and @entropyfoe,
All good ideas.

I only use Lucky Backup to backup my /media/DATA folder.

I backup up several configs from ~/.config to the DATA folder
And some apps from external repos such as LibreOffice, Doublecmd, etc.
whether from MX or app sites.

I also backup my original /etc/skel and my current modified one
from time to time to /DATA.

LB for me is only for data, app debs, configs and anything that seems important.
MX Snapshot for system.
Same usage exactly!

I would add that the default "delete" setting did not catch me out because I actually visited the LB website and poured through their manual/instructions to understand what and how the program was backing up/syncing stuff.

I found out there are a few different "backup" styles possible in LB:

1) the one-way backup option where anything new in source is added to the target (backup) but where target may continue to store previously-backed up files that no longer exist in source (Richard's preferred wa,y and what I do with my NAS backup of my Data partition),
2) the option to have the target always mirror the source (what I do with my external USB drive backup of my Data partition)
3) the option to compare both source and target and have some sort of 2-way merge of both. I've never used this but it's a strange one. If I understand it correctly, if you deleted file X in source but it was still in the target, after the backup/merge process, both source and target will have file X.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

User avatar
sunrat
Posts: 674
Joined: Mon Mar 28, 2016 9:54 pm

Re: Backup applications like luckyBackup

#18 Post by sunrat »

I use Syncthing to mirror 2 computers in different rooms so I have the same data on both although it's not limited to local sync. Add file to one, quickly adds to another, delete on one it deletes on the other when Syncthing is running. I usually don't run it constantly so it just syncs when I want it to, but can be configured to run as a daemon at boot if you wish it to always run. Can sync multiple computers on Linux, Windows, macOS, FreeBSD, Solaris and OpenBSD, or Android. It's backup in the sense of protection against hardware failure, but I also rsync all the data to an external HDD as well.
It takes a small amount of setting up at first and runs a browser interface where most configuration can be done simply.
Available in Debian repo but I found the Syncthing repo had better version last I tried.
https://syncthing.net/

User avatar
Yellowhoney
Posts: 53
Joined: Sat Apr 20, 2019 5:36 am

Re: Backup applications like luckyBackup

#19 Post by Yellowhoney »

sunrat wrote: Thu Oct 31, 2019 12:42 am I use Syncthing to mirror 2 computers in different rooms so I have the same data on both although it's not limited to local sync. Add file to one, quickly adds to another, delete on one it deletes on the other when Syncthing is running. I usually don't run it constantly so it just syncs when I want it to, but can be configured to run as a daemon at boot if you wish it to always run. Can sync multiple computers on Linux, Windows, macOS, FreeBSD, Solaris and OpenBSD, or Android. It's backup in the sense of protection against hardware failure, but I also rsync all the data to an external HDD as well.
It takes a small amount of setting up at first and runs a browser interface where most configuration can be done simply.
Available in Debian repo but I found the Syncthing repo had better version last I tried.
https://syncthing.net/
how do you set it up to sync over the network MX > other
i am guessing must be firewall or some thing

Windows 10 > windows 10 = work over network and internet
MX > windows 10 = only work over internet
2007 20* Imac running 3gb MX18.3
i5 4670k 16gb ram

User avatar
JayM
Posts: 6796
Joined: Tue Jan 08, 2019 3:47 am

Re: Backup applications like luckyBackup

#20 Post by JayM »

@Yellowhoney: That sounds like a samba issue. Can you connect to the Win10 shared directory in Thunar? (Also you should start a new topic for your help request rather than hijacking someone else's older one, especially if you need help with samba which would be off-topic in this thread..)
Last edited by JayM on Mon Nov 18, 2019 4:33 am, edited 1 time in total.
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.

Post Reply

Return to “Software / Configuration”