Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
Full Disk Image
« previous
next »
Print
Pages: [
1
]
Author
Topic: Full Disk Image (Read 1015 times)
tre4bax
Full Member
Posts: 151
Karma: 4
Full Disk Image
«
on:
November 24, 2022, 11:02:43 am »
Having come close to having no router I wanted to make an image backup onto a duplicate disk so that if I do get a permanent disk failure I can just plug the spare in. I have an identical SSD in a USB adapter to which I could copy the disk. My knowledge of FreeBSD is very basic though and I cannot figure out how to actually use DD to achieve the image I want, I can't even figure out the commands to see whether the USB is actually visible to the OS.
Is there an easier way to do this or any tutorials somewhere that could help me achieve this.
Logged
Patrick M. Hausen
Hero Member
Posts: 6807
Karma: 572
Re: Full Disk Image
«
Reply #1 on:
November 24, 2022, 11:05:12 am »
Plugin the USB drive, then post the output of "camcontrol devlist", please.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
tre4bax
Full Member
Posts: 151
Karma: 4
Re: Full Disk Image
«
Reply #2 on:
November 24, 2022, 11:24:08 am »
hi Pmhausen
root@xxxxxxx:/var/run # camcontrol devlist
<InM2246S3/128G Q0707A> at scbus0 target 0 lun 0 (ada0,pass0)
<ASMedia USB 3.0 Device 0> at scbus1 target 0 lun 0 (pass1,da0)
«
Last Edit: November 24, 2022, 11:25:57 am by tre4bax
»
Logged
Patrick M. Hausen
Hero Member
Posts: 6807
Karma: 572
Re: Full Disk Image
«
Reply #3 on:
November 24, 2022, 11:27:47 am »
dd if=/dev/ada0 of=/dev/da0 bs=1m
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
tre4bax
Full Member
Posts: 151
Karma: 4
Re: Full Disk Image
«
Reply #4 on:
November 24, 2022, 11:41:14 am »
awesome, thank you so much. I was missing the camcontrol devlist command to figure out the target. I have cut and pasted that in and set it off :-)
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
Full Disk Image