Force overwrite during file restore

Erk

Active Member
Dec 11, 2009
165
6
38
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:

dcsapak

Proxmox Staff Member
Staff member
Feb 1, 2016
8,062
993
163
34
Vienna
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

Erk

Active Member
Dec 11, 2009
165
6
38
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 your own in 60 seconds.

Buy now!