• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Syncing two hard drives in Debian

Unison worked good for me, i use it to sync a directory on a thumb drive with a directory on an external hard drive, and a local directory.

gotta have all the permissions set the same, however.
 
Originally posted by: VinylxScratches
They won't be. One hard drive probably will, the other will just be plugged in once a week to make a backup copy.

rsync would still be your best bet. Just create a little script with your rsync command and run it manually when you plug in the usb drive.
 
Or if you wanna get fancy you can try to figure out how to get udev to run it for you when you plug it in, but that can get pretty hairy.
 
Originally posted by: Brazen
Originally posted by: VinylxScratches
They won't be. One hard drive probably will, the other will just be plugged in once a week to make a backup copy.

rsync would still be your best bet. Just create a little script with your rsync command and run it manually when you plug in the usb drive.

yeah, this is why i used unison. click click click and it sets up what you want done and saves it, and one click to sync. and it easily syncs back and forth to cover changes between both devices. the only issue that bugged me was permissions, but that was because i had a fat32 flash drive i was syncing with my /home directory
 
Back
Top