>>52522572 1. Set udev rule to mount the destination disk on the same folder all the time 2. Script rsync command and umount of file system 3. (Eventually) take a snapshot of destination file system 4. Profit!
That's how I do it with an external 2TB HDD with btrfs on it (hence the snapshot)
>>52526257 Who said anything about a single backup/snapshot? I keep 4 weekly snapshots and 7 daily ones for example... Also you might want a differential backup instead of an incremental one as with the incremental, if you lose one backup in the chain you lose the ability to restore data after that backup. A differential will always save the difference between the AFS and the baseline so, as long as your baseline is intact, you can always restore. Nobody forbids you to have 2 hard drives for backup, use one as a destination for your backup and the other one as a mirror even if the mirror media should be something different (tape or optical) and possibly in a different location. Using udev rule is better than fstab because if disk 2 (usually sdb) is discovered before disk 1 at boot, then it will become sda and your fstab entry might not work anymore - yes, I know you can use UUIDs in fstab and this will prevent the aforementioned issue to happen. Again, you have different ways to accomplish the result...
>>52528537 Differential always wins over incremental, that's the ABC imho... However with rsync and btrfs snapshots you achieve the same thing: first transfer will move all data, take a snapshot so everything becomes RO and successive rsync will only transfer the changed data. Need to restore? Mount the btrfs snapshot containing the version of file you want and copy it back. If you don't want to go this way and neither full Bacula, then I guess backintime is your choice
All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the shown content originated from that site. This means that 4Archive shows their content, archived. If you need information for a Poster - contact them.
If a post contains personal/copyrighted/illegal content, then use the post's [Report] link! If a post is not removed within 24h contact me at [email protected] with the post's information.