[Borgbackup] question regarding restoration of latest backup

Christian abelschreck3 at freenet.de
Mon Sep 17 11:58:24 EDT 2018


Hi Wojtek,

thanks for sharing your insights.
Well, that´s really a professional way of going about backing up. I´m
impressed.

Greetings
Rosika

Am 17.09.2018 um 09:05 schrieb Wojtek Swiatek:
> The "eureka" moment for me was when I realized that the best combo for
> my backup scenario is backup + pruning. I backup often and then
> immediately make sure afterwards that I only keep what is needed.
> For what it's worth, I use a systemd timer to manage that:
>
> [Unit]
> Description=borg backup
>
> [Service]
> Type=oneshot
> Environment=BORG_REPO=/services/backup/borg/
> Environment=BORG_HOSTNAME_IS_UNIQUE=yes
> ExecStart=/usr/bin/borg create --filter AME
> --exclude-from=/services/backup/borg-exclude-srv.txt --list --stats
> ::srv-${INVOCATION_ID} /
> ExecStartPost=/usr/bin/borg prune -v --list --keep-daily=7
> --keep-weekly=4 --keep-within 2d --stats
>
> Cheers
> Wojtek
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/borgbackup/attachments/20180917/1630b105/attachment.html>


More information about the Borgbackup mailing list