Automated backup on Windows external drive

EricZolf <[email protected]> Fri, 17 May 2024 12:29:36 +0200
Newsgroups gmane.comp.sysutils.backup.rdiff-backup.general
Message-ID <[email protected]>
Hi,

as I offered a laptop to my daughter, I want also to offer her a "backup".

My idea would be to have an external (SSD/USB) drive with rdiff-backup 
and a BAT-script on it, which would make sure that, when started, it 
backs up the current user's directory to a sub-directory of the drive 
(i.e. the place where the script lies).

Extra-points for starting automatically the script when plugging in the 
external drive (is autostart still a thing in Windows 11? Security-wise 
not optimal...), and for having a window pop-up as long as the backup 
runs so that the user knows to not unplug the drive (the CMD terminal 
would be just fine).

Has anybody already implemented something like this and could share the 
details? Is it at all possible under Windows? I would have written the 
script in 5min on Linux, but here I'm lazy.

Thanks, Eric