DEV Community

Discussion on: Formatting an external drive and Implementing Automatic Backup

Collapse
 
webreflection profile image
Andrea Giammarchi

It'd be great to have a script that does incremental backup, instead of keep growing in size each day with a whole backup of every single folder ... I mean, I get the "time-machine" like approach, but this easily won't scale if you deal with big files, databases, and so on, as you grow by X GB of data each day ... at lest I'd wipe X days/months ago to preserve space in the external drive.

Collapse
 
ethand91 profile image
Ethan

This script was mainly for my personal PC.
Yes if you're dealing with big files, databases etc, the backup destination will eventually run out of space. In that scenario you will definitely need to delete old backups before creating new ones. :)