Maybe have a look at clonezilla https://clonezilla.org/downloads.php
I haven't used it myself, but other people have told me it works.
I haven't used it myself, but other people have told me it works.
I'm in the process of trying to get working via PXE, but can't get an NFS mount set up properly.Maybe have a look at clonezilla https://clonezilla.org/downloads.php
I haven't used it myself, but other people have told me it works.
I never used this approach, but it can be useful:Its a disk with an installation of Windows XP which I'd like to keep a backup copy of in case I need again at some time so I don't have to go through the pain of installing it again.
sdelete -z C:. The name is scaring, but it fill with zero only the unused sectors of your disk. But double-check. Do not use "-c" because it puts random byte. If the file system is highly fragmented, maybe defragment it using the Windows XP utilities. dd -conv=sparse will "compress" the zero bytes into a sparse file. dd side, gzip can compress the sequence of zero bytes. The same for every compressed VM image format.I'm in the process of trying to get working via PXE, but can't get an NFS mount set up properly.
Rather I think I did about ten years ago, but I'm trying to create a script so that I can automatically back up any disk I attach to my PXE client machine.
sudo su before I run the mount command.Good, glad to hear.Actually my server is using ZFS...
It can stay that way, you need only to create a "repo" data set, to put it on a separate file system than "/" (which is zroot/ROOT/default).Should my /etc/exports be written differently?
Or "backup" and "clonezilla" can be separate data sets (after creating zroot/repo):Code:zfs create -o mountpoint=/repo zroot/repo mkdir -p /repo/backup/clonezilla
Code:zfs create -p zroot/repo/backup/clonezilla
balanga is a joy: at least in the end he answers. Few of mine clients were so reluctant to answer questions about the specification details that I seriously considered hiring a torturer just to extract meaningful information.Balanga likes to make guessing games. He is just like that.
Posting his configs , his partitions , his filesystems , or even his type of bootrecord is not for him. Certainly not the commands he entered on the keyboard & the results it gave. Mostly it's , it does not work.![]()
You mean the fstab on clonezilla which has just booted via PXE?Oh come on. The error message clearly says your fstab is screwed up. Did it occur to you to post it?
# UNCONFIGURED FSTAB FOR BASE SYSTEM
overlay / overlay rw 0 0
tmpfs /tmp tmpfs nosuid,nodev 0 0
Balanga likes to make guessing games. He is just like that.
keyboard & the results it gave. Mostly it's , it does not work.![]()
First, I would fill up the disk with zeroed out files so you get a very good compression rate (otherwise the free disk space might actually contain data since (depending on the filesystem) deleting a file is often just "unlinking", so the bits and bytes mostly stay on the disk), then I would use dd + zstd to archive the disk. That's how I archive virtual machine images. zstd works much faster than gzip, and offers better compression.Does anyone have any suggestions about how to backup/archive a disk which has lots of free space?
The only way I can think of is to use dd & gzip.
Is there is a better alternative?