Linux
Welcome to c/linux!
Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!
Rules:
-
Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.
-
Be respectful: Treat fellow community members with respect and courtesy.
-
Quality over quantity: Share informative and thought-provoking content.
-
No spam or self-promotion: Avoid excessive self-promotion or spamming.
-
No NSFW adult content
-
Follow general lemmy guidelines.
view the rest of the comments
You can, and there are a number of options.
Easiest IMO is to install both drives, and then use
dd
to copy drive A to drive B, and then resize the partitions withgparted
to fill the rest of the disk.Do this from a live USB so that your not currently using drive A.
https://serverfault.com/a/4912
Note that
/dev/sda
might not be your first disk, so make sure you get them correct. Gparted can help you identify your disks.Does linux have an equivalent of VSS on windows? I always thought it was odd that Linux needed to be offline to do a disk image whereas on windows I can just do it without rebooting or anything.
Is VSS even a backup? I thought it just copies old revisions of files into that shadow area so you can revert them to an old version after you modified them... But I don't think it's a full backup or allows you to restore something like a broken filesystem or any severe error?! I guess you could achive a similar thing with practically any linux backup solution on online filesystems, just that the restore will be a bit more cumbersome. Or something like a snapshot, that'll do everything and even more... Or take one of the backintime clones, if it's userdata...
Nope, not even close.
It just copies the deltas...
Backups can use vss to get a static image of the volume (deltas are written to the shadow area, which isn't backed up, whilst the backup is running) it's a little different for vhdx files on VMs but basically the same.
It's magic.... And often means that I don't have to restore lost files from backup, just view the old versions and grab a copy from there.