Host-based backup of Microsoft Hyper-V VMs.
Post Reply
jautor
Novice
Posts: 3
Liked: never
Joined: Sep 01, 2016 12:58 pm
Contact:

How I configure backp to delete contents of the disc before?

Post by jautor »

I have a incremental backup task on an external USB disk that fails cause it runs out of space... How can I configure it to delete the contents of the disc before to do the job?

Thank you!!
veremin
Product Manager
Posts: 20415
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: How I configure backp to delete contents of the disc bef

Post by veremin »

Basically you want to wipe it our completely prior to making any new backup? I assume you want to perform new full backup each time, right? Thanks.
jautor
Novice
Posts: 3
Liked: never
Joined: Sep 01, 2016 12:58 pm
Contact:

Re: How I configure backp to delete contents of the disc bef

Post by jautor »

Yes Mr. Eremin, thats exactly what I want to do...
veremin
Product Manager
Posts: 20415
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: How I configure backp to delete contents of the disc bef

Post by veremin »

Then, you will need to write a simple script that will remove everything it will find in a given directory and set the script as a pre-job activity. Also, enable "rotated drive" option in the settings of the repository, so that, jobs don't fail with missing full backup error. Thanks.
jautor
Novice
Posts: 3
Liked: never
Joined: Sep 01, 2016 12:58 pm
Contact:

Re: How I configure backp to delete contents of the disc bef

Post by jautor »

Thank you v.Eremin... I'll try it!!!
Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests