Borg Backup start all over

Dear folks,

I have a PC with Windows 10 professional on it. This year I’ve installed Docker Desktop. On that I’ve installed Nextcloud AIO.

Over the months I’ve made a couple of backups with Borg Backup. That all works fine.

Now I want to have Borg Backup make a ‘fresh’ backup. A backup that doesn’t ‘build on’ previous backups. I thought I could force this by renaming the folder ‘backup’ to ‘backup-old’. That way Borg can’t find the old backups, and might automatically build a ‘fresh’ backup. However, Borg doesn’t like this. If I click ‘make backup’, it always fails. If I undo the renaming of the old backup-folder, everything works again, but this is not what I want.

How do I achieve what I want?

Hi, why do you want to create a “fresh” backup?

1 Like

I started Nextcloud by putting large movie-files in it, to test the playback capabilities in the android-app, the browser, etc. Therefore the backup-folder is quite huge. Now I just use Nextcloud for Calendar, Notes, some current images and some other files. Reason #1 is to reduce the folder-size.

Another reason is that I use Borg Backup to migrate Nextcloud to a different PC. This just needs the current state of Nextcloud, without being unnecessarily chunky because of old - already deleted - files.

Also it’s to enhance my overall feeling of control over the Docker-Nextcloud thing :wink:

Update
I saw another post from szaimen suggesting the following commands

sudo docker rm nextcloud-aio-borgbackup
sudo docker volume rm nextcloud_aio_backup_cache

However, I’m don’t know if these commands are also applicable to my specific situation. Also the first command looks like it’s deleting Borg Backup alltogether?

I think the easiest path is this: how to change backup directory path once submitted? · nextcloud/all-in-one · Discussion #596 · GitHub. Then simply set a new backup location.

1 Like

Yes! This worked great. Thank you!