Borg recreate - Can't get it to delete a file

I have borg backups that work great. Now I want to delete some of the larger files from the backup that I no longer need.
My research states borg recreate is the way to go.
I have spent 2 days researching and reading and tried today. Although it is going through the motions file’s arent being deleted from the borg backup.

As a test I chose 1 file: Chrome Passwords.csv
on my computer it is located in this folder: /home/mike/Documents/2. Passwords

My borg archives are located here: /mnt/borg/borg/borg

I mounted the borg archives to /mnt/temp
When I look inside 1 of the archives through /mnt/temp I see it located here: /mnt/temp/20240119_202838-nextcloud-aio/nextcloud_aio_volumes/nextcloud_aio_nextcloud_data/mike/files/Documents/2. Passwords/Chrome Passwords.csv

So I unmounted /mnt/temp
sudo borg umount /mnt/temp/

Then in cli under sudo I ran this command:
borg recreate /mnt/borg/borg/borg --progress --list --exclude “mike/files/Documents/2. Passwords/Chrome Passwords.csv”

It looked like it was doing something, but then when I remount the archives to /mnt/temp and look inside an archive, that file is still there.

Anyone have any thoughts about what I am doing wrong?

Much appreciated.

1 Like

I notice that you received an answer on reddit

https://www.reddit.com/r/BorgBackup/comments/1f0k44b/borg_recreate_cant_get_it_to_delete_a_file/?rdt=65105

I did try using borg. I rejected it because it is way too complicated… too much room for mistakes.
A backup system needs to be simple. It needs to work every time without mental effort and there should be a minimum of options.

1 Like