Quantcast
Channel: Backup – Windows and Windows Server forum
Viewing all articles
Browse latest Browse all 3323

Task scheduler system bakcup problem

$
0
0

Hi

i created a weekly system backup task on task scheduler. bakcup disk C and E to disk F

the general setting like below

Method 1

in the task scheduler "edit action" , script: %windir%\System32\wbadmin.exe

in the "add arguments" start backup -backupTarget:f: -include:c:,:e: -quiet

the job actually succeed and completed according to history log. but i found nothing in Disk F, nothing generated, all this task starts and completes in just 1 second and the log shows "returns code 4294967295"

no idea where went wrong. 

Method 2

then i tried to run cmd as admin, and type "wbadmin start backup -backupTarget:f: -include:c:,:e: -quiet", backup works and backup file generated in F:. but this backup method is only once bakcup, not weekly

Method 3

so i tried another way, ran cmd as admin "schtasks /create /sc weekly /d Sat /tn weeklysystembackup /rl highest /st 3:30 /tr "wbadmin start backup -backupTarget:f: -include:c:.:e: -quiet" "  it looks the same result as Method 1, nothing happened.

could someone explain me why Method 2 works instead of 1 & 3? and how to make method 2 into a weekly job?



Viewing all articles
Browse latest Browse all 3323

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>