E
E
Evgenii2018-12-20 14:34:00
PowerShell
Evgenii, 2018-12-20 14:34:00

HOW to burn discs using CMD, PowerShell or vbs script?

Backup needs to be automated. To do this, you need to write files from network folders and folders to disks. There are a lot of files and it takes 3-4 days to burn all this with pens on disks.
example:
1) there are folders sql1 and sql2 as well as a folder with user files. let's say sql databases in one folder have files with the same name, similar, in the second folder the name is different, but the files are of different sizes and the size jumps from week to week.
2) the disk must be signed, if there are files from the same folder, then let's say sql1+date, if there are files from different folders on the disk, then it is signed as an archive sql1sql2+date.
3) caching to disk is not possible, direct recording from the network is not safe. Therefore, I want to use a buffer in memory in case of network problems, wait for access to files and continue. errors are not acceptable.
4) 4 drives on one pc. Each contains a disk of a certain volume for certain files.
5) you need a scan of folders and the formation of file lists according to the size of the disks for subsequent recording on them.
6) you need to check what was written for errors and compare the sum
7) disks must be recorded in turn.
8) generate a text file for each disc with a list of what was recorded, and if there were errors during the check, then also indicate it.
9) delete already recorded and checked files. Do not delete files in case of write errors.
maybe not everything is clear and missed something, but I will be glad to advice, suggestions and solutions!
I'm not very friendly with vbs scripts, but I can quickly get a taste))) I
will answer any questions on the topic.
This is only part of the problem that I would like to solve.
Thanks
-------------
I want to add.
I would like to know if it is possible to record files from pre-created lists. Lists should be created based on the volume of CD/DVD/BlueRay...

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
res2001, 2018-12-20
@res2001

40 drives? connected to 40 computers? This is a joke?
I haven't seen a backup on CD/DVD for a long time.
Better get yourself an external hard drive and backup there.
At the expense of burning discs from the command line - Win 10 has a built-in isoburn utility, but it only writes iso images that you still need to create in your case, and also at the end of the recording it opens a window with a message about the result of the recording.
You can use cdburnerxp , it has a command line utility for burning discs. He knows a lot. There are other utilities for this purpose if cdburnerxp doesn't work.

E
Evgenii, 2018-12-21
@cht3

let's say I have a list (dir /b /s /d >>list.txt)
how to use it with cdbxpcmd.exe ?
---
how to force the list to be formed based on, for example, 4GB of files, then continue recording to the next list, and so on.
--------------------------------------
what a crazy site!
You can only edit one comment further. There are no wise men on the site, and there never is. And those that are either have no desire or have entered by mistake or write that vazmi is like this and pick or do nonsense!
Of course, it's always easier to write some nonsense than something sensible.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question