Best total system AND files backup?  [Solved]

Message
Author
User avatar
asqwerth
Developer
Posts: 7752
Joined: Sun May 27, 2007 5:37 am

Re: Best total system AND files backup?

#21 Post by asqwerth »

DukeComposed wrote: Mon Jun 24, 2024 5:45 am
In theory? Yes. You can archive an MX system with MX Snapshot, come back to that snapshot a year later, and pick it up again. In practice, I just booted a copy of mx-23.2_sysVinit-only-respin_x64.iso, released in January 2024. It immediately recognized 236 new updates, weighing in at about 462 MB of data that would need to be re-downloaded if I were to install a new machine with it.

MX-23.3_sysvinit_only_x64.iso was released only about a day or two ago and contains most or all of these updates. It's only been about five months between these two ISOs. A year of updates isn't exactly something to sniff at, especially if you plan on installing your snapshot to multiple machines. I like making a fresh up-to-date snapshot, for installing or just as a rescue live session, every 6-to-8 weeks or so.
Like I said in my post above, compared to Arch updates, Debian Stable updates are really minimal. :p

Every 2 weeks I update an Arch-based distro (I rotate their update days). In 2 weeks, the updates can be as large as 1 to 2GB.

But I agree that if the snapshot is going to be used on multiple machines, it's best to make more frequent snapshots. Also, if you have a monthly cap on downloadable data, then you shouldn't let updates accumulate.

On my side, I make my Gparted partition copies every 2-3 months.
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
Eadwine Rose
Administrator
Posts: 14428
Joined: Wed Jul 12, 2006 2:10 am

Re: Best total system AND files backup?

#22 Post by Eadwine Rose »

Interesting, how do you do that? The partition copies.

I guess I missed something in gparted?
MX-23.6_x64 July 31 2023 * 6.1.0-34amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.216.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

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

Re: Best total system AND files backup?

#23 Post by asqwerth »

Eadwine Rose wrote: Mon Jun 24, 2024 5:54 am Interesting, how do you do that? The partition copies.

I guess I missed something in gparted?
1. prepare your backup external drive so that it has partitions that are bigger than the ones you want to copy over (eg if your PC's MX21 partition is 40GB, I make a 45GB partition on the external drive for it). I use gpt partition tables and ext4 formatting (all my PC's partitions use ext4)
2. Connect your backup drive to PC
3. open Gparted on your machine, it will read all the partitions on all your connected drives (ie, devices), including the external drive.
4. click on a PC partition and press the "copy" button on the toolbar.
5. Navigate to the ext drive and click on the partition you want to paste your PC partition into. Press the "paste" button.

6. Check the warning and details in the popup and if correct, click to proceed.

7. That just sets up the task list. Now you can press the "Go" or "Apply" button for the copying and pasting to start.

It will take maybe 10 mins for each partition. [I do each partition one by one, I don't set up more than 1 task at a time.]

ADDED - all my partitions are labelled so I know which is which. The copy and paste process will copy over the labels as well.
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
debianix
Posts: 177
Joined: Fri May 31, 2024 4:03 pm

Re: Best total system AND files backup?

#24 Post by debianix »

DukeComposed wrote: Mon Jun 24, 2024 5:45 am Yes. You can archive an MX system with MX Snapshot, come back to that snapshot a year later, and pick it up again.

A year of updates isn't exactly something to sniff at, especially if you plan on installing your snapshot to multiple machines. I like making a fresh up-to-date snapshot, for installing or just as a rescue live session, every 6-to-8 weeks or so.
Alright, I absolutely can see why u prefer doing snapshots on a quite frequent basis.

But I would like to have a "basic snapshot", with nothing personal installed yet, that I can refer to whenever I want to install an MX system on a new machine, which already contains all my favorite basic programs and configurations of KDE etc., and where I then only have to add personal data, add Thunderbird profile folders and customize the specific preferences of each user without having to set everything up from scratch.

A snapshot would be sufficient for this, wouldn't it? To exaggerate: If I put a 1 or 2 year old MX snapshot from such a system into a brand new computer today, with enough time, patience and disk space for all the updates, then the end result would not differ significantly from an installation that I perform from a regularly kept fresh MX snapshot, would it?
I don't intend to go to such extremes, but I still want to be aware of the possibilities and limitations of this tool within my use case.

The thing is, when I created that "basic snapshot", then I move on to more specific program installations and settings that are different for different computers, users and scenarios, and which I prefer to set up anew and individually each time.
The basic snapshot should only represent my personal favorite basic configuration, so to speak. Whether the updates take 10 minutes or 6 hours after installation is less important to me as long as everything works correctly in the end.

If this is impossible in this way, I would consider buying an inexpensive extra computer on which I only have the basic installation / basic configuration installed, but which I don't use otherwise and only carry out updates once a month. If I then need my "basic snapshot" that I described above, be it for distribution or reinstallation or whatever, I could create an up-to-date snapshot directly from this dedicated computer and that's it?

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

Re: Best total system AND files backup?

#25 Post by asqwerth »

That's how mx monthly iso snapshots are done. Run an installation of mx in VM or another machine /partition, update monthly, then generate a new iso with mx-snapshot.

Many ways to use the snapshot tool.
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
debianix
Posts: 177
Joined: Fri May 31, 2024 4:03 pm

Re: Best total system AND files backup?

#26 Post by debianix »

asqwerth wrote: Mon Jun 24, 2024 8:17 am That's how mx monthly iso snapshots are done. Run an installation of mx in VM or another machine /partition, update monthly, then generate a new iso with mx-snapshot.
wow! your solution is so simple, so obvious and yet, for me, so endlessly ingenious. Because I tend to overcomplicate things, I often don't see the most obvious solutions. Since I've only used VM's to test other distros so far, I didn't even think of this idea. One more reason to install VirtualBox as soon as possible :fox:

User avatar
Eadwine Rose
Administrator
Posts: 14428
Joined: Wed Jul 12, 2006 2:10 am

Re: Best total system AND files backup?

#27 Post by Eadwine Rose »

asqwerth wrote: Mon Jun 24, 2024 6:18 am 1. prepare your backup external drive so that it has partitions that are bigger than the ones you want to copy over (eg if your PC's MX21 partition is 40GB, I make a 45GB partition on the external drive for it). I use gpt partition tables and ext4 formatting (all my PC's partitions use ext4)
2. Connect your backup drive to PC
3. open Gparted on your machine, it will read all the partitions on all your connected drives (ie, devices), including the external drive.
4. click on a PC partition and press the "copy" button on the toolbar.
5. Navigate to the ext drive and click on the partition you want to paste your PC partition into. Press the "paste" button.

6. Check the warning and details in the popup and if correct, click to proceed.

7. That just sets up the task list. Now you can press the "Go" or "Apply" button for the copying and pasting to start.

It will take maybe 10 mins for each partition. [I do each partition one by one, I don't set up more than 1 task at a time.]

ADDED - all my partitions are labelled so I know which is which. The copy and paste process will copy over the labels as well.
Ohhhh is THAT what that copy button is for. Nifty! Thanks for explaining :smile:
MX-23.6_x64 July 31 2023 * 6.1.0-34amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.216.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
Duliwi
Posts: 1174
Joined: Sun Jul 07, 2019 9:34 am

Re: Best total system AND files backup?

#28 Post by Duliwi »

Best total system AND files backup?
I have never used it, but it sounds very interesting:
https://kopia.io/

User avatar
davidy
Posts: 818
Joined: Sat Jul 03, 2021 1:59 pm

Re: Best total system AND files backup?

#29 Post by davidy »

"MX-23.3_sysvinit_only_x64.iso was released only about a day or two ago..."
Do I have to install clean to run it over 23.3 regular? And more importantly where is the download? Sourceforge is no help.
Sys76 LemurPro-mx-23.4, EliteMinis HM90-mx-21.3, Deskmini UM350-phoenixLite win10, Qnap 12tb nas, Protectli FW4C-opnsense(=゜ω゜)

zero privacy = zero security . All MX'd Up
UAP = up above people

User avatar
DukeComposed
Posts: 1286
Joined: Thu Mar 16, 2023 1:57 pm

Re: Best total system AND files backup?

#30 Post by DukeComposed »

davidy wrote: Thu Jun 27, 2024 5:00 pm "MX-23.3_sysvinit_only_x64.iso was released only about a day or two ago..."
Do I have to install clean to run it over 23.3 regular? And more importantly where is the download? Sourceforge is no help.
Links are in the first post in the dolphin_oracle's respins thread. Given the amount of work needed to make a sysvinit-only respin, I have to imagine a clean install is de rigueur. Keep in mind it's not officially supported and should be considered for entertainment purposes only. That being said, I've been running the sysvinit-only respin since December on a daily driver without issue.

Post Reply

Return to “Software / Configuration”