SAVE THE DAY is a backup and restore on FreeBSD 11 – a campaign you may say.

Save the day!!!!! – another project of focus; of logic; of basic necessities! – while pain is the opposite.

Ok. -- So we went through the process that takes time to accomplish. -- I mean that, building. And as is, it is a humane reflex, that I do not want to go through the painful process again, and I can vouch there were no errors – just plain painful! Therefore, it is in the human nature to protect against painful situations where even time is an effort and as such the adjective pain can be attached to it.

1. Create Boot part of the original disk the machine was installed with. (Reserved-partition?);

2. Create restore-point into partition? (item of recovery aka Reserved-partition)

3. The restore-point is just an item created at the time backup was run. (a tarball, iso?)

4. Compile and Burn all the above to make a restore disk/memstick/cd etc.

The outcome expected is to alleviate pain in painful situations – an Rx you may say!

Notes: Of course it is possible to first make a mock outside the system thereafter compile and burn it.

As an ideal Rx, we can reserve a partition place/space on the storage in order to build/compile outside the system most elements described above – except pain. Bart's tools may be used to copy and restore the whole system. – but that is not FreeBSD!

Start Notes: The code/script to trigger the system backup process needs a variable=where_do_I_backup – since all it is UFS (some can try ZFS) and assuming we work with a partition of the known TYPE, the script will build the recovery-point plus the extra tools and boot info. Yeah you can have a menu in there too.

End Notes: After the backup process the script asks the user where do I save/burn my work? So far that could be USB, CD, TAPE, DISK (usb and cd are most common [stay away from NAND]) and the least I would consider another TFTP or SVN etc. Therefore, burning a cd or usb makes sense under a title “FreeBSD Complete System Restore” -- Sure mfsBSD can play a role à la carte e.g bart's tools.

More Notes: Quick tools should be available to zero the storage and so a fresh install it is fresh in such “a clean purified environment is made possible”

Deeply appreciate any takers would focus on the subject as it is an Rx for the moment. But I am hopping for healing. Please help with references to scripts or automated task tools – no manual know how to/s is needed.

As it is I am in pain!

Yours truly,
Long Time FreeBSD Lover
PS: I promise I won’t quit! – You can change the title to FreeBSD Complete System Restore
No update/upgrade worriers please.

# A01_wrk:
# GET PACKAGE RUNNING: ping -c 3 # ... svn checkout (all pre build)
cd /usr/src
rm -rf /usr/obj
make buildworld   # includes 01_wrk: started @0700 completed @1230

make buildkernel  # ok quick enough but wrong
make installkernel # failed

# fix for buildkernel installkernel
cp /usr/src/sys/amd64/conf/GENERIC /usr/src/GENERIC
make buildkernel KERNCONF=GENERIC
make installkernel

make installworld

mergemaster -Ui   # have a look @/var/tmp/temproot
shutdown -r now  # @1500

cd /usr/src
make check-old

#To remove old files and directories run 'make delete-old'.
#To remove old libraries run 'make delete-old-libs'.

yes|make delete-old
yes|make delete-old-libs

# END of my fresh build -- but can't find my "SAVE THE DAY" script. @1515 almost!

References and recommended reading
A.3. Using Subversion

5. Subversion Primer

23.6. Rebuilding World

Building FreeBSD World And Kernel: The Short Form

Quick shuffle through the forum