Re:BorgBackup, Deduplicating archiver with compression and e...
by SoftTalker on Tuesday December 27, 2022 @04:13PM
(#34153888)
For this specific need, just once. Disk is 1TB but only about 350GB used.
'dd' would have been my thought as well, I've heard of Clonezilla also but never used it and not sure it's really doing anything appreciably different.
I like the idea of 'dd' because I have a very clear mental picture of what it does. Just wasn't sure there was something else I might want to look at.
Re:BorgBackup, Deduplicating archiver with compression and e...
by dividuum on Tuesday December 27, 2022 @04:28PM
(#34154092)
If you need multiple version of such a disk image, a tool like restic (or I guess borg too, not sure?) can also compress what's provided to it via stdin. So you'd dd directly into restic and it will delta compress to earlier backups.
Re:BorgBackup, Deduplicating archiver with compression and e...
by akerl_ on Tuesday December 27, 2022 @05:15PM
(#34154588)
Yea; this was the heart of my 1/10/1000 question. Once? I'd probably just use dd and call it a day. 10 times? Probably download clonezilla. 1000 times? Probably automate something w/ restic and some kind of object storage layer so I don't just have a directory full of giant images/deltas somewhere.
The most boring answer is "connect the disks to something else and use `dd` to copy the full blocks from start to finish into a file".