I'm using a FreeBSD system as the main authoritative DNS/firewall/UTM system for a 100+ user (local) network. I do not have a backup of this critical system, which makes me nervous. A lot!
At some point I want to virtualize this installation. But I lack the time to do so. Please also note that even though this system runs with absolutely minimal care for around 15 years now, apart from the usual updates I would not call myself BSD- (or Linux for that matter) savvy.
To make a long story short: got hold of a POS WD Mycloud EX4100 NAS unit. It must definitely be some sort of curse upon sysadmins anywhere, but one has to play the hand he was dealt, so...
My FreeBSD installation is not a huge one:
(Note: the "..backup" slices were created thinking that I would take backups of the partitions on the same disk, silly idea...)
Is there some sort of package that can:
(1) snapshot my live filesystem and copy/backup it to an NFS/iSCSI share (could use the NAS for that purpose)? Point is, I would like to have an off-system/off-site backup of my system, in order to be able to
(2) easily re-create a freebsd boot disk from the backup in (1)
Please, excuse my ignorance, trying to maximize things done with the tiny pieces of time juggling stuff ...
At some point I want to virtualize this installation. But I lack the time to do so. Please also note that even though this system runs with absolutely minimal care for around 15 years now, apart from the usual updates I would not call myself BSD- (or Linux for that matter) savvy.
To make a long story short: got hold of a POS WD Mycloud EX4100 NAS unit. It must definitely be some sort of curse upon sysadmins anywhere, but one has to play the hand he was dealt, so...
My FreeBSD installation is not a huge one:
Code:
# gpart list
Geom name: ada0
modified: false
state: OK
fwheads: 16
fwsectors: 63
last: 976773134
first: 34
entries: 128
scheme: GPT
Providers:
1. Name: ada0p1
Mediasize: 524288 (512K)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r0w0e0
efimedia: HD(1,GPT,2b90efa1-21a7-11e6-8af2-6805ca3f4651,0x28,0x400)
rawuuid: 2b90efa1-21a7-11e6-8af2-6805ca3f4651
rawtype: 83bd6b9d-7f41-11dc-be0b-001560b84f0f
label: (null)
length: 524288
offset: 20480
type: freebsd-boot
index: 1
end: 1063
start: 40
2. Name: ada0p2
Mediasize: 21475360768 (20G)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r1w1e1
efimedia: HD(2,GPT,809c0a1a-21a8-11e6-8af2-6805ca3f4651,0x428,0x2800400)
rawuuid: 809c0a1a-21a8-11e6-8af2-6805ca3f4651
rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b
label: gwrootfs
length: 21475360768
offset: 544768
type: freebsd-ufs
index: 2
end: 41945127
start: 1064
3. Name: ada0p3
Mediasize: 4294967296 (4.0G)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r1w1e0
efimedia: HD(3,GPT,a7a54cde-21a8-11e6-8af2-6805ca3f4651,0x2800828,0x800000)
rawuuid: a7a54cde-21a8-11e6-8af2-6805ca3f4651
rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
label: gwswap
length: 4294967296
offset: 21475905536
type: freebsd-swap
index: 3
end: 50333735
start: 41945128
4. Name: ada0p4
Mediasize: 21474836480 (20G)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r1w1e1
efimedia: HD(4,GPT,0b93fdb9-21a9-11e6-8af2-6805ca3f4651,0x3000828,0x2800000)
rawuuid: 0b93fdb9-21a9-11e6-8af2-6805ca3f4651
rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b
label: gwvarfs
length: 21474836480
offset: 25770872832
type: freebsd-ufs
index: 4
end: 92276775
start: 50333736
5. Name: ada0p5
Mediasize: 21474836480 (20G)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r1w1e1
efimedia: HD(5,GPT,2a801338-21a9-11e6-8af2-6805ca3f4651,0x5800828,0x2800000)
rawuuid: 2a801338-21a9-11e6-8af2-6805ca3f4651
rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b
label: gwtmpfs
length: 21474836480
offset: 47245709312
type: freebsd-ufs
index: 5
end: 134219815
start: 92276776
6. Name: ada0p6
Mediasize: 32212254720 (30G)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r1w1e1
efimedia: HD(6,GPT,4f1bb0d4-21a9-11e6-8af2-6805ca3f4651,0x8000828,0x3c00000)
rawuuid: 4f1bb0d4-21a9-11e6-8af2-6805ca3f4651
rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b
label: gwusrfs
length: 32212254720
offset: 68720545792
type: freebsd-ufs
index: 6
end: 197134375
start: 134219816
7. Name: ada0p7
Mediasize: 21474836480 (20G)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r0w0e0
efimedia: HD(7,GPT,ab1e562f-21a9-11e6-8af2-6805ca3f4651,0xbc00828,0x2800000)
rawuuid: ab1e562f-21a9-11e6-8af2-6805ca3f4651
rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b
label: gwcachefs
length: 21474836480
offset: 100932800512
type: freebsd-ufs
index: 7
end: 239077415
start: 197134376
8. Name: ada0p8
Mediasize: 21474836480 (20G)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r1w1e1
efimedia: HD(8,GPT,e26bd9fe-21a9-11e6-8af2-6805ca3f4651,0xe400828,0x2800000)
rawuuid: e26bd9fe-21a9-11e6-8af2-6805ca3f4651
rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b
label: gwrootfsbackup
length: 21474836480
offset: 122407636992
type: freebsd-ufs
index: 8
end: 281020455
start: 239077416
9. Name: ada0p9
Mediasize: 21474836480 (20G)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r1w1e1
efimedia: HD(9,GPT,fc74c097-21a9-11e6-8af2-6805ca3f4651,0x10c00828,0x2800000)
rawuuid: fc74c097-21a9-11e6-8af2-6805ca3f4651
rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b
label: gwvarfsbackup
length: 21474836480
offset: 143882473472
type: freebsd-ufs
index: 9
end: 322963495
start: 281020456
10. Name: ada0p10
Mediasize: 32212254720 (30G)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r1w1e1
efimedia: HD(10,GPT,0c7624f0-21aa-11e6-8af2-6805ca3f4651,0x13400828,0x3c00000)
rawuuid: 0c7624f0-21aa-11e6-8af2-6805ca3f4651
rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b
label: gwusrfsbackup
length: 32212254720
offset: 165357309952
type: freebsd-ufs
index: 10
end: 385878055
start: 322963496
11. Name: ada0p11
Mediasize: 257698037760 (240G)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r0w0e0
efimedia: HD(11,GPT,970d2531-2ba8-11e6-95e2-6805ca3f4651,0x17000828,0x1e000000)
rawuuid: 970d2531-2ba8-11e6-95e2-6805ca3f4651
rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b
label: (null)
length: 257698037760
offset: 197569564672
type: freebsd-ufs
index: 11
end: 889194535
start: 385878056
12. Name: ada0p12
Mediasize: 42949672960 (40G)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r1w1e1
efimedia: HD(12,GPT,0f128e61-2632-11e6-ba45-6805ca3f4651,0x35000828,0x5000000)
rawuuid: 0f128e61-2632-11e6-ba45-6805ca3f4651
rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b
label: gwsquidcachefs
length: 42949672960
offset: 455267602432
type: freebsd-ufs
index: 12
end: 973080615
start: 889194536
13. Name: ada0p13
Mediasize: 1890566144 (1.8G)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r1w1e1
efimedia: HD(13,GPT,bb0137d4-2ba8-11e6-95e2-6805ca3f4651,0x3a000828,0x3857e0)
rawuuid: bb0137d4-2ba8-11e6-95e2-6805ca3f4651
rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b
label: gwsquidlogsfs
length: 1890566144
offset: 498217275392
type: freebsd-ufs
index: 13
end: 976773127
start: 973080616
Consumers:
1. Name: ada0
Mediasize: 500107862016 (466G)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r10w10e19
(Note: the "..backup" slices were created thinking that I would take backups of the partitions on the same disk, silly idea...)
Is there some sort of package that can:
(1) snapshot my live filesystem and copy/backup it to an NFS/iSCSI share (could use the NAS for that purpose)? Point is, I would like to have an off-system/off-site backup of my system, in order to be able to
(2) easily re-create a freebsd boot disk from the backup in (1)
Please, excuse my ignorance, trying to maximize things done with the tiny pieces of time juggling stuff ...