Solved

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

Posted on 2011-09-20
6
305 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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 500 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…

705 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