Force overwrite during file restore

Erk

Renowned Member
Dec 11, 2009
166
6
83
The other day I had a drive problem, so I restored the VM from a 2 day old PBS backup onto another server, before I did that, I took a snapshot of /var/mail using proxmox-backup-client. When I tried to restore /var/mail it complained the files already exist and wouldn't proceed. Is there a way to force proxmox-backup-client to overwrite the existing files?
 
Last edited:
hi,

i think you want the option: '--allow-existing-dirs' ?

this is also found in the manpage and help:
Code:
man proxmox-backup-client
proxmox-backup-client help restore
 
  • Like
Reactions: majorgear
I see, I searched the man pages for terms like "force" and "overwrite" but nothing came up.

I will give it a try with --allow-existing-dirs'

Thanks.
 
  • Like
Reactions: majorgear