So i need advice with backup stragey for my local linux workstation (desktop)
Have a script that restic backups to NAS. (main backup repo of my pc)
How can i achieve the following backup locations to store my backups.
Backblaze (remote) - backup two times a week or once a week (ideally do it from the server)
/dev/sda1 (local drive, mounted to the computer) - backup/sync each boot
/dev/sdb1 (local drive, mounted to the computer) - backup/sync each boot
external hard drive - manually, every 3 months
Like i have two spare drives on my drive, why not use them for backup storage
Do i need to use restic copy or new restic repo or reclone or ........?
Also for maintance for the repo/s, i want to use my server power to prune, forget, check –read-data, like do the maintance on during night time, where the server will have access to nas mount via NFS.
The strategy depends more on what risks you want to be save from than on what ressources you have available.
Generally you could run the same backup towards two different repos or run it once and then clone the repo to another location. The cloning spares your live system and only strains the backup drive.
If your local drives are the same size, you might make them a RAID 1 (mirror) and use that for the local backup and then rsync the repo to Backblaze. Running frequent or even scripted checks is always a good idea (check out –read-data and –read-data-subset). Add forgetting and pruning if you have limited space.
Again, your strategy depends on what you want to achieve. If this was my home setup, I’d probably restic backup to /dev/sda1 (main backup), then clone that to backblaze (offsite backup) and from time to time clone it to an external hard drive (offline backup). If done right and monitored correctly, this would be a good 3-2-1 backup.
One more quick question, with good mointoring and maintance of the repos, i should be fine? example doingcheck with –read-data after doing prune + forget before cloning to remote or local or offline.
That is how I do it here at home. IMO, depending on the amount of data and your hardware, there is no way of being 100% sure but it’s better than nothing. There are cases here in the forum where restic even caught bit flips on cheap hardware, e.g. on mine. Some people swear on zfs or btrfs to deal with that but one has to be careful because especially with zfs you should really know what you’re doing.
None I’ve personally ever needed except that one time where my hard drive seems to have had a bit flip. There are a few threads in this forum about cases like that. A good place to start reading is here.
perfectly fine, just FYI - I gave a suggestion to your opening post here on top where you literally wrote “backup/sync each boot” at items 2 and 3.