?
Solved

Schedule format of drives to use with Windows Server 2008r2 Backup

Posted on 2011-09-20
6
Medium Priority
?
310 Views
Last Modified: 2012-05-12
I am trying to shcedule formating removable drives for backups using Windows Server 2008 R2 Backup.  I have all the removable hard drives inventoried, but when the drive is replaced each week it just adds incrementals.  Ulimately we are trying to do a full backup and then incrementals each week.  From what I can see if a newly formatted (for back up) drive is put in the server then the backup will be a full backup, hence why I am thinking a format is needed.  Is there an automated way to do this?

Thanks,
Dave
0
Comment
Question by:Administrator Contact
  • 3
  • 3
6 Comments
 
LVL 13

Expert Comment

by:5g6tdcv4
ID: 36574167
Do you just want to delete the backups from the removable drive? That would be easier (and safer) to script
0
 

Author Comment

by:Administrator Contact
ID: 36576830
sure that would work!
0
 
LVL 13

Expert Comment

by:5g6tdcv4
ID: 36576842
What are the drive letters? And are all files at the root of the drive?
0
Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

 

Author Comment

by:Administrator Contact
ID: 36576887
there is no drive letter on the drives.  they are dedicated removable drives for the backup and formatted by the backup program.  We have 4 drives, I had to insert each one and inventory them for the backup to use them.  this works fine, but it is just adding incrementals where I would like to do a full once a week.  not sure that even erasing or formatting will fix this.  There just seems so little options that can be set
0
 

Author Comment

by:Administrator Contact
ID: 36576902
oh the files are not root files.  basically data in various folders including exchange database files.
0
 
LVL 13

Accepted Solution

by:
5g6tdcv4 earned 2000 total points
ID: 36592640
okay so this is using diskpart...the code needs to be saved as part.bat , and the parts.txt file needs to be in the same directory as the part.bat file
Just use task scheduler to have part.bat run prior to backup running

YOU NEED TO RUN DISKPART MANUALLY AND FIND OUT THE DRIVE # THAT THE BACKUP DRIVES OCCUPY!!
and then edit parts.txt to reflect the correct drive.
so from a command prompt type "diskpart" and then "list disk"
This will show a list of all disks in computer, and whatever the number is for the backup disk you need to edit the first line in parts.txt to reflect that.
this script will destroy data....so be careful
if you do not want a drive letter set to the drive delete the "assign" at the end of parts.txt
diskpart < parts.txt
rem format c: /q /y

Open in new window

parts.txt
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
How much do you know about the future of data centers? If you're like 50% of organizations, then it's probably not enough. Read on to get up to speed on this emerging field.
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question