开云体育

Backup when Booting from SSD


 

Please suggest a backup method when booting on my Pi 4 from a SSD.

"Speed" is not an issue - so creating an image file would be OK - as opposed?
to just backing up data and docs.

Many thanks!

Clint Bradford


 

开云体育

Depends on what you are backing up to, but Bacula has never let me down.

Dan

. Same errors, more misspelings.

On Feb 8, 2022, at 8:51 AM, Clint Bradford via groups.io <clintbradford@...> wrote:

?Please suggest a backup method when booting on my Pi 4 from a SSD.

"Speed" is not an issue - so creating an image file would be OK - as opposed?
to just backing up data and docs.

Many thanks!

Clint Bradford


 

开云体育

I suggest power down your pi, remove sd card to a Windows machine and use SDformater??to create an .img file.

John va3wm


On Feb 8, 2022, at 10:51 AM, Clint Bradford via groups.io <clintbradford@...> wrote:

?Please suggest a backup method when booting on my Pi 4 from a SSD.

"Speed" is not an issue - so creating an image file would be OK - as opposed?
to just backing up data and docs.

Many thanks!

Clint Bradford


 

I am afraid of commercial programs that don't have pricing on their Web sites ... (g)

Unless they have an educator discount, Bacula may not be the solution for my meager?
requirements. Sent them a "Quotation" inquiry - will fond out what hobbyists / educators?
need to pay for their product.

Thanks.

Clint Bradford


 

There's no SD card involved - booting directly from SSD.

Clint Bradford


 

Raspberry Pi has a SD card Copier utility under accessories.? I use it to copy to and from the SD card and the SSD.?

Ken


 

开云体育

It’s free. Bacula.org, but it’s in the software repo for Debian.?

Dan

--
. Please pardon any mispelings or errors.


On Feb 9, 2022, at 9:20 AM, Ken <keth@...> wrote:

?Raspberry Pi has a SD card Copier utility under accessories.? I use it to copy to and from the SD card and the SSD.?

Ken


 

I've been very happy with Deja Dup for my Ubuntu installation.

Rather than back up your whole disk, have you considered just backing up your /home? and /usr directories?? In case of disk failure (or something) install a new fresh copy of Raspian and then restore /home and /usr from your backup.

73

John N8JUC


 

How much do you need to backup?? Specific content and you'd just reinstall, or do you want to be able to do a bare metal recovery it stops booting from the SSD?? Simplest is do a full disk duplication (dd) of the SSD.? You'll have to do this with it UNMOUNTED, which means boot pi from another device, or power down, connect the SSD to another system and run dd from there.? If you want to save specific folders and directories, an rsync script or one of the suggestions in the thread will do.? I'd include /boot (capture boot-specific options), /etc (lots of config files), /home and /usr.?

What I'd consider is do a full image periodically by whichever means you prefer.? More frequent incremental backups of directories where you are adding content you do not want to lose.? The incrementals can be run as file or rsync copies from a live system, so the only interruptions are disk and maybe network access if you are backing up to storage on another system.? I'd also backup a basic bootable system to an SDcard and keep it handy just in case.

73 Steve KS1G