Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Boot from a flash drive and make a binary copy of the OS partition to a file on a separate disk. You can even in graphical mode through Gnome disks.
I use BTRFS, so I take snapshots and backups directly from the running OS, but if you don’t have BTRFS, you will have to tinker a bit to transfer to a new file system.
I usually do, rsync
but sometimes with a partial transfer (i.e. full backup, partial unpacking) I use tar
Try it, you won't regret it:
$ man rsync
$ man tar
If it's just a full-full backup, then dd. True, the backup will take the size of exactly the entire hard drive and it will be possible to restore only to a device with the same parameters. Well, or mount the image and pull out the data.
If it's a little less than full, then dump/restore
is usually enough to have a homework backup and /etc - well, also /usr/local/etc - for those who are their own installers. But for a quick recovery, it's better to have a complete image.
UPD: The comment indicates how you can compress the resulting image and send it to a remote machine. There is nothing surprising about this method - the standard UNIX mechanism for passing stdout
aidalinux.ru/w/Stage4
By analogy. Accordingly, consider only when deploying that the configs are somewhat in other places.
And so I use the stage4 gent to drag one Ubuntu between laptops with 6.06, for example. And sometimes I also carry virtual machines.
We used to have a server on hetzner and they used tartarus there. I also used it there, and once I had to restore the data, everything worked out fine with the system. It is only necessary to save the subd separately.
Are you sure you need a full backup of your home machine? A backup of the home folder is quite enough for me (because the message archives are there, etc.), and just a list of installed packages (more precisely, a list of software that I use at least once a year, and not a list of all packages in general). Now much can be backed up a little more cunningly - synchronization. For example, for Firefox, I have a synchronization server on another machine, and this is essentially a backup of the entire Firefox profile. Mail via IMAP - i.e. letters on the server that is being backed up, plus a local copy of the letters in the mail client is obtained. And if you look like that, many personal data can be somehow backed up like this.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question