Skip to main content
Photo of DeepakNess DeepakNess

Suggestions on backing up to Hetzner

Unproofread notes

For the past few months, I have been backing up my computer folders to a Hetzner Storage Box via rsync. When I shared about it on X, I received a really good suggestion which I hadn't thought about it earlier.

Another handy addition to make it a bit like timemachine

If you add in /$(date +%F)/ to the remote side of the rsync command, you're backups will be in daily folders like /2025-04-11/ so you can roll back to a specific day if you ever need too

You can then add a script on the remote box to delete folders after a certain amount of time to save space.

Shane replied to the post with above suggestions where I can automate the daily backups into different folders by date. The old ones can also be deleted after a certain date via a CRON job.

Simple, yet really useful suggestion.

Comment via email