Simple command to run all missed / failed backups in sequence


Author
Message
Chris R
Chris R
New Member
New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)
Group: Forum Members
Posts: 2, Visits: 2
For a single machine I have several scheduled backups - scheduled sequentially.

Sometime the destination NAS is not available (or some other general fault condition), which results in several missed backups.

I do not want these to start as soon as possible - because this slows the machine to a crawl -- so I leave this option unchecked (also the message and timeout for automatic shutdown is easily missed (e.g. running full-screen interactive programs)  -- so the machine can run slowly and then shutdown for no apparent reason - very frustrating.

To execute all missed backups may take several hours - and I do not want to sit and wait for each to finish so that I can start the next.

*** Is it possible to somehow run each of the missed / error backups in sequence.with one commend ***
This could be a script, ---anything would be acceptable --- as long as I could leave the machine to do its thing.






jphughan
jphughan
Macrium Evangelist
Macrium Evangelist (21K reputation)Macrium Evangelist (21K reputation)Macrium Evangelist (21K reputation)Macrium Evangelist (21K reputation)Macrium Evangelist (21K reputation)Macrium Evangelist (21K reputation)Macrium Evangelist (21K reputation)Macrium Evangelist (21K reputation)Macrium Evangelist (21K reputation)Macrium Evangelist (21K reputation)
Group: Forum Members
Posts: 13K, Visits: 79K
You might not want to run every missed iteration.  For example, if you missed two daily Inc backups of the same job, do you really want to create 2 Incs afterward, one immediately after the other?  If you just want a fast way to queue a single iteration of multiple specific jobs manually, I can think of two options:

- Generate desktop shortcuts for each of your jobs by right-clicking the definition file in Reflect and selecting "Create desktop shortcut".  They don't have to stay on your desktop, fyi.  You'll then be able to click those one immediately after the other to queue everything, and Reflect will run them sequentially.  This works because the desktop shortcut's path specifies the "-w" parameter to cause this behavior.  Note however that if you choose to have the shortcut prompt you to specify backup type (Full/Diff/Inc) rather than choosing a specific type for that shortcut, you won't be prompted for your backup type until the job is actually ready to run, which wouldn't work for your needs.

- If you wanted to cut down on clicks even further, you could create a single batch file that contains the appropriate commands to run each of your definition files, then run that file (as administrator).  Or you could just keep that list as a reference and copy/paste the individual lines you need at any given time into a Command Prompt window, although in this case you'd need to open a second Command Prompt window to queue subsequent jobs since the first window will be "held" to display the progress of the running job rather than immediately accepting additional commands.  Anyhow, you can find guidance for the correct command line syntax here -- note the "-w" parameter that will queue jobs, and from looking at the desktop shortcut's path, apparently there's a "-prompt" option not mentioned on that page in addition to "full/diff/inc" that you can use if you really want to, although again that prompt wouldn't appear until the job was ready to run.

@Macrium, any way that the backup type prompt could be displayed when the command is first executed rather than when the job is ready to run, in order to allow that decision to be made upfront for multiple jobs that will be queued?

Edited 23 October 2017 3:07 PM by jphughan
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Login

Explore
Messages
Mentions
Search