Force overwrite during file restore

Erk

Renowned Member
Dec 11, 2009
165
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

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!