Configuring check and prune

I went to quite some forum posts, but I’m still in doubt what would be ‘best’ in my situation. I’m using Duplicacy on 3 NAS shares with mainly small word/excel files and pdf files. So the average office stuff. Since the files are worked on during the day by multiple employees I start backing up at 7:00 every hour until 00:00. I backup to IDrive e3 cloud storage and everything runs fine. The size of the backup isn’t that large. About 13GB containing 16000 files. Most of the files are part of dossiers in which files should be kept for several years and not be deleted.

I’m not sure how to configure check and prune in a sensible way. Atm I’ve configured check with no options to run every week on Saturday morning followed by prune with options: -keep 0:720 -keep 30:360 -keep 7:30 -keep 1:7 -a
Should I use options like -chunk and/or -fossils with check command and should I run it everyday? Once a week seems on the low side, but I could be wrong.
Prune as far as I know cleans up which seems fine to run once a week since we hardly delete files but perhaps I should do this more often as well?

Any pointers are highly appreciated!

I just spend days recently learning what would be best for my situation.

Your current backup strategy looks solid. Here are some recommendations to optimize your check and prune configurations:

Check Command

Frequency: Run daily to promptly catch any issues.

Options:

  • -a: Check all snapshots.
  • -chunks: Verify the integrity of chunks.

Example:

duplicacy check -a -chunks

Prune Command

Frequency: Weekly is fine, but consider twice a week if needed.

Options:

  • -exhaustive: Delete all unused chunks.
  • -exclusive: Use if no other backups are running to speed up the process.

Example:

duplicacy prune -keep 0:720 -keep 30:360 -keep 7:30 -keep 1:7 -a -exhaustive

Schedule

  • Check: Daily, early morning before the first backup.
  • Prune: Weekly or bi-weekly, based on your data change rate.

By running the check command daily and the prune command weekly or bi-weekly, you ensure backup integrity and efficient storage management. Adjust as needed based on your observations.

Hope this helps! You might be wondering, do I work here? No, but I did stay at a Holiday Inn Express last night.

Great! Thank you for your pointers. I’ll update my settings accordingly!

1 Like