Prune job issue (MemoryError)

Hi,

I try to configure prune job but always get error:

`/vmfs/volumes/esxi01-local/vertbackup/vertical prune -k 0:180 -k 7:30 -k 1:7
Vertical Backup 1.3.2
Storage set to b2://aaa-bbb
No previous fossil collections found
Traceback (most recent call last):

  • File “vertical_main.py”, line 150, in *
  • File “vertical_backup.py”, line 844, in pruneCommand*
  • File “vertical_snapshot.py”, line 1484, in prune*
  • File “vertical_snapshot.py”, line 1494, in collectFossils*
  • File “vertical_snapshot.py”, line 333, in getSnapshotChunks*
  • File “vertical_snapshot.py”, line 309, in getChunkHashesFromSequence*
  • File “vertical_snapshot.py”, line 381, in downloadChunk*
  • File “vertical_b2storage.py”, line 381, in downloadFile*
  • File “vertical_b2storage.py”, line 128, in call*
  • File “site-packages/requests/sessions.py”, line 501, in get*
  • File “site-packages/requests/sessions.py”, line 488, in request*
  • File “site-packages/requests/sessions.py”, line 641, in send*
  • File “site-packages/requests/models.py”, line 797, in content*
    MemoryError
    Failed to execute script vertical_main`

There is no memory lack on ESXi host, ESXi version - 6.5
Any ideas?

The amount of memory that can be used by a process running directly on ESXi is rather limited (less that 1GB), regardless of how much physical memory the host has. The prune command needs a lot of memory to load the list of all existing chunks.

The solution is to use Duplicacy Web Edition to run the prune command, which is completely free and doesn’t require a extra license if you don’t run a backup job.

1 Like

Thank you @gchen, I have already had it installed.

I’m confused. I see how this could be used as a one-off to prune things, but what’s the plan for “auto-run a prune job after every successful backup” or “run a prune job every Sunday night”? Isn’t a manual step as part of any backup regimen the recipe for disaster?

-Jim

At this time, I would suggest using Duplicacy Web Edition for pruning backups created by Vertical Backup, mostly due to the memory limitation imposed by ESXi. There is a plan to merge Vertical Backup with Duplicacy Web Edition.