Running out of space on backup device need to Prune but get error

LawcMnnn    Jul 3 11:12PM 2017

Trying to prune on one of the vmware host but get this error:

~ # vertical prune -k 0:10

Vertical Backup 1.0.0 Storage set to sftp://user@172.1.1.55//home/vmwarebackup/

Collection 1 is eligible for deletion

Traceback (most recent call last):

File "vertical_main.py", line 141, in

File "vertical_backup.py", line 819, in pruneCommand

File "vertical_snapshot.py", line 1404, in prune

File "vertical_snapshot.py", line 1563, in deleteFossils

File "vertical_snapshot.py", line 316, in getSnapshotChunks

File "vertical_snapshot.py", line 373, in downloadChunk

File "vertical_utils.py", line 368, in decryptAESGCM

MemoryError

Failed to execute script vertical_main

The total size of backup is 2 TB on backup device. Need to prune b/c of running out of space but I'm getting these errors? How can I fix this? If prune doesn't work how can I safely free up space?


LawcMnnn    Jul 4 11:34AM 2017

@gchen let me know what I should do.. need to free up space


gchen    Jul 4 1:16PM 2017

You can run Duplicacy on any Windows/Mac/Linux machine to delete old backups.

First you need to create a dummy repository that connects to the same storage:

duplicacy init vm1@esxihost sftp://user@172.1.1.55//home/vmwarebackup/

'esxihost' should be the host name of one of your esxi hosts.

Then you can run the prune command to delete old backups:

duplicacy prune -a -keep 0:10

This prune command may not free up space immediately, since it only renames unreferenced chunks instead of deleting them according to the two-step fossil collection. However, if you're sure no backup to the same storage is in progress, you can run it with the '-exclusive' option to delete those chunks right away:

duplicacy prune -a -keep 0:10 -exclusive

If this prune command is set up to run regularly then the -exclusive option is not needed.

I guess once you start to limit the number of old backups to keep you should be able to run the prune command from your esxi hosts. And you just need to run it from one host if they are all connected to the same storage.

License wise, Duplicacy can be used freely to manage backups created by Vertical Backup, so no Duplicacy licenses are required.


LawcMnnn    Jul 6 1:43PM 2017

Thanks that worked!


Log in to comment
Copyright © Acrosync LLC 2017