backups
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
backups [2019/08/04 16:01] – created neil | backups [2022/07/19 08:04] (current) – neil | ||
---|---|---|---|
Line 1: | Line 1: | ||
=====Backups ===== | =====Backups ===== | ||
+ | |||
+ | * [[backups# | ||
+ | * [[backups# | ||
+ | * [[backups# | ||
+ | * [[backups# | ||
+ | * [[backups# | ||
+ | * [[backups# | ||
+ | |||
+ | ====Take regular backups, automatically==== | ||
+ | |||
+ | If you have to think about taking backups, there' | ||
+ | |||
+ | Whenever you make use of a new system, or get a new device, set up automated backups as part of your configuration process. | ||
====Test your backups ==== | ====Test your backups ==== | ||
- | Test your backups. No point doing backups if you find that, at the point you need it, you can’t restore. | ||
- | Probably makes your life easier | + | Test your backups. |
+ | Â | ||
+ | Taking backups is all well and good, but there is little point if you do not test that you are able to recover from them. | ||
+ | Â | ||
+ | Schedule in testing of restoration of backups from different systems as part of your firm's business continuity plan. | ||
+ | Â | ||
+ | ====Protect your backups ====Â | ||
+ | Â | ||
+ | Protect your backups to at least the same standard as you protect the data which you are backing up. | ||
+ | Â | ||
+ | ====Use the type of backup which suits your needs ====Â | ||
+ | Â | ||
+ | Backups can take different forms. | ||
+ | Â | ||
+ | ===Syncing data onto multiple devices ===Â | ||
+ | Â | ||
+ | If you have an automatic synchronisation system (such as Nextcloud, or Dropbox), you have a measure of protection. | ||
+ | Â | ||
+ | If you lose one of your devices, you will have all the synchronised data on another device (and, probably, on the server | ||
+ | Â | ||
+ | This setup may also be helpful if you delete something important from one device and realise quickly, as you may be able to restore it from a different device. You will probably need to act very quickly, and disconnect that other device from the Internet, so that the unwanted deletion is not propagated to that other device. | ||
+ | Â | ||
+ | This is unreliable, but might work at a pinch. | ||
+ | Â | ||
+ | ===Versioning ===Â | ||
+ | Â | ||
+ | A versioning backup system creates an initial complete copy of the data being backed up, and each subsequent backup picks up only the changes that have been made. | ||
+ | Â | ||
+ | This should lead to faster backups than taking a complete, fresh backup each time. | ||
+ | Â | ||
+ | An example of this is Apple' | ||
+ | Â | ||
+ | ===Full images / snapshots ===Â | ||
+ | Â | ||
+ | A full image or snapshot backup takes a complete copy of the system at the point in time at which the backup was made. This means that you can restore everything which was backed up to exactly how it was at that point in time. | ||
+ | Â | ||
+ | A bootable snapshot of your computer can be very useful. If you take regular bootable snapshots, and one day your hard drive or SSD fails, and you cannot boot your computer, you can plug in the disc containing your bootable snapshot, and boot straight into it. | ||
+ | Â | ||
+ | You should also be able to copy the bootable image straight onto your new hard drive or SSD, re-imaging your computer to exactly the same state it was in when your backup was taken. | ||
+ | Â | ||
+ | For example, for macOS, [[https:// | ||
+ | Â | ||
+ | ====Keep a backup disconnected from your network ====Â | ||
+ | Â | ||
+ | Some attacks — such as ransomware — attempt to attack devices connected to your computer and your network. If your backup is connected to the network which is being attacked, | ||
+ | Â | ||
+ | There is a trade-off | ||
+ | Â | ||
+ | This could be as simple as a USB key which you have encrypted, onto which you copy your most important files (both " | ||
+ | Â | ||
+ | Because USB keys are cheap, this is a simple, cost effective, mitigation. | ||
+ | Â | ||
+ | You might want to attach a keyring to the USB key, with the name of your machine on it, so that you remember that that USB key is your backup key. | ||
- | Multiple backups, in different places. | + | If you want to make things easier for yourself, you could write a small script to copy across the files that you want automatically. |
- | Versioning versus full image: get back an older copy of a document, where you made a change a week ago which you wish to revert, versus easy of rebuilding your system | + | A tool like `rsync` means that you will only need to copy across new files or files which have changed (and, depending on how you set it, it may remove deleted files, or keep them). The first run of it copies everything, and then subsequent runs only transfer the delta, making it faster. |
- | Keeping copies of your data elsewhere | + | ==== Keep a backup in a different physical location ==== |
- | Something like Nextcloud to automatically backup selected folders from your machine, pretty much immediately when a change | + | Imagine |
- | Encrypt your backups… but if you lose the passphrase, you’ve lost your backups too. | + | Consider moving backup discs to a different physical location, to minimise the chances of this happening. |
backups.1564934489.txt.gz · Last modified: 2021/07/06 09:26 (external edit)