WebApr 30, 2024 · Thin-provisioned VM. 1) Take a snapshot of the thin-provisioned VM. 2) Run Windows disk optimization tool, either with the gui, or with cli, defrag.exe with the same switches as those defined in the scheduled task. 3) Delete snapshot. 4) VMDKs inflate to maximum allocated size. WebThe retention is clever as well, you can define number of snapshots to keep, weekly, monthly, etc. and it'll be clever enough to know that 1 of the old weekly snapshots can become the monthly snapshot and things like that. I use a restic container within a docker-compose file as I run all my containers with docker compose.
Manual — restic 0.15.1 documentation - Read the Docs
WebAug 13, 2024 · Now, start backup process using command: $ restic -r ~/backup backup --exclude-file=exclude.txt ~/mydata. For more details about restic backup command, please run: $ restic help backup. Now, we have successfully backed up our data. Next we will see how to restore the data from the local backup. WebJan 24, 2024 · b) I just need to backup 1 folder. So I install rsync and setup the below cronjob: 05 3 * * * /usr/bin/rsync -a --delete /folder1 /mnt/storagebox/folder1. c) Activate on Hetzner Storage box panel, automatic daily snapshots, keeping the last 5 snapshots. In resume with this setup, my objective is to always have a daily snapshot backup of the ... jc priority\u0027s
Restic backup real-life examples CodeX - Medium
WebNov 15, 2014 · Restic: Delete Files from Existing Snapshot. Created on 15 Nov 2014 · 57 Comments · Source: restic/restic. In cases of accidential backup of ... I suppose it would … WebMar 15, 2024 · restic rotate snapshot policy. a few more words about forget. Forget mode has a feature of keep last TIME snapshots, where time can be. number of snapshots; hourly; daily; weekly; monthly; yearly; and makes restic with local feature an ideally replacement for rsnapshot! $ restic help forget The "forget" command removes snapshots according to a ... WebApr 3, 2024 · Use --tag '' to limit restic to only deleting untagged snapshots. This way you can protect certain snapshots from deletion by tagging them. Either use restic tag --add foo to add a tag to an existing snapshot or pass --tag foo to the restic backup command when you first create the snapshot. lst southampton