How to back-up/snapshot a Debian installation?
-
- Posts: 2
- Joined: 2021-11-07 17:34
- Has thanked: 1 time
How to back-up/snapshot a Debian installation?
Hi all,
As it took me quite a bit of time and research to configure my Debian installation to my taste, I'd like to create a snapshot of it. The official Debian documentation contains a script for that purpose on https://www.debian.org/doc/manuals/secu ... ot.en.html
But as far as I understand this script writes data to a floppy disk, which I do not have. As a newbie I'm not quite ready to modify scripts to use other - more modern - devices. So I wonder, what methods do other Debian users use to create a back-up of their system? Or what method would you recommend for novices?
Cheers,
johnflamar
PS:
1. If at all possible, I'd prefer not to use a solution based on sector by sector copying (in order to save disk space).
2. The notebook has a cd-rom drive, so the back-up doesn't have to be created from a system that is live.
As it took me quite a bit of time and research to configure my Debian installation to my taste, I'd like to create a snapshot of it. The official Debian documentation contains a script for that purpose on https://www.debian.org/doc/manuals/secu ... ot.en.html
But as far as I understand this script writes data to a floppy disk, which I do not have. As a newbie I'm not quite ready to modify scripts to use other - more modern - devices. So I wonder, what methods do other Debian users use to create a back-up of their system? Or what method would you recommend for novices?
Cheers,
johnflamar
PS:
1. If at all possible, I'd prefer not to use a solution based on sector by sector copying (in order to save disk space).
2. The notebook has a cd-rom drive, so the back-up doesn't have to be created from a system that is live.
- sunrat
- Site admin
- Posts: 7482
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 135 times
- Been thanked: 670 times
Re: How to back-up/snapshot a Debian installation?
I use fsarchiver from a separate multibooted system to an external USB HD. You could instead use it from a live USB distro such as PartedMagic. It compresses well and doesn't copy empty space.
I hear Timeshift is quite popular and easy to use, and is also available in Debian repo - https://wiki.debian.org/timeshift
I hear Timeshift is quite popular and easy to use, and is also available in Debian repo - https://wiki.debian.org/timeshift
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
-
- Posts: 2
- Joined: 2021-11-07 17:34
- Has thanked: 1 time
Re: How to back-up/snapshot a Debian installation?
Cheers, @sunrat , that's useful information. I suppose I will use fsarchiver, as it doesn't require to be set up when I use PartedMagic.
Re: How to back-up/snapshot a Debian installation?
fsarchiver is best choice.. Ive always used fsarchiver..it never fails on restoring system; very easy to use (back and restoring process) and backup never gets corruptedjohnflamar wrote: 2021-11-07 22:55 Cheers, @sunrat , that's useful information. I suppose I will use fsarchiver, as it doesn't require to be set up when I use PartedMagic.
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...
- stevepusser
- Posts: 13137
- Joined: 2009-10-06 05:53
- Has thanked: 56 times
- Been thanked: 105 times
Re: How to back-up/snapshot a Debian installation?
There is an AppImage of the MX Snapshot tool that should let you make a bootable and installable ISO of your present system: https://www.youtube.com/watch?v=-8y_mL2Sctc
MX Linux packager and developer
Re: How to back-up/snapshot a Debian installation?
In my opinion and experience, these are best options clearly:cds60601 wrote: 2021-11-13 14:24 Monthly clonezilla here along with daily tarballs of /etc/, /root, /home
for rolling back to previous state (home, etc, root) : btrfs (snapshots)
for data home daily backup : borg
for system backup: fsarchiver or btrfs
for cloud backup: borg + duplicity (backend rclone)
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...
Re: How to back-up/snapshot a Debian installation?
Use btrfs with Timeshift or btrfs + snapper-gui
bester69 wrote:STOP 2030 globalists demons, keep the fight for humanity freedom against NWO...
- cds60601
- df -h | participant
- Posts: 772
- Joined: 2017-11-25 05:58
- Location: Florida
- Has thanked: 140 times
- Been thanked: 75 times
Re: How to back-up/snapshot a Debian installation?
This Borg you speak of, looks interesting. New project for this evening.
UPDATE: While interesting and may very well be a practical in most cases, this was not a good fit for my workflow and environment.
Still - a very good choice to consider.
Supercalifragilisticexpialidocious