Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Problems getting auto backups to work in new Win 7 installation

14 Oct 2014   #1
Doctor Ed

Windows 7 Pro 64 bit
 
 
Problems getting auto backups to work in new Win 7 installation

I've got a 1 week old i7 running Windows 7 Pro and have mostly got it set up nicely (encountering the usual glitches and hiccups along the way).

In my previous box, I used Freebyte Backup ("FBBackup") to back up all new files to a different drive once a day in the middle of the night. The app was executed automatically by Freebyte Task Scheduler, which is freeware, is easy to run, and has a very small footprint. Worked great with zero maintenance for 5 years.

So natch I set up the same system on my new computer, but it won't work. Well, it did work once, but hasn't since. FBBackup works fine when executed manually, and the scheduler will run it manually too, but the scheduler won't run it automatically. Maybe it's because I'm not logged in when the backup time comes, or maybe it's because of some mysterious missing authorizations. I'm still doing tests to try to find out.

They say if you can't solve a problem, change the problem. So I decided to try Windows Task Scheduler to run FBBackup. I wrote a .bat file to run FBBackup, with the right parameters. It runs fine manually. I set up Windows Task Scheduler to run it in the middle of the night, and even set options to 'Run whether logged on or not' and to 'Wake the computer'.

The scheduled time to run hasn't come yet, but I decided to do a manual test. When I go into Windows Task Scheduler try to run the task manually by clicking on Run, nothing happens. A bad sign, I would say.

So this seemingly simple issue is starting to get complicated. I'm starting to resort to random measures to try to fix it.

I suspect the OS is still partially locked down because of Windows permissions and admin-related stuff, but I am not sure what exactly the state is or what to do about it. (The computer has only one account, and it is an admin account.)

Any comments and suggestions would be appreciated.


My System SpecsSystem Spec
.
14 Oct 2014   #2
Tookeri

Windows 7 Pro 32
 
 

Hi and welcome to SevenForums!

I did a test and it didn't run here either. But when I changed to "Run only when user is logged on" it did run, so give that a try.
My System SpecsSystem Spec
14 Oct 2014   #3
Doctor Ed

Windows 7 Pro 64 bit
 
 

Thanks.

So I selected 'Run only when user is logged on' and now I can run it manually. Weird.

And now that I can run it manually from Scheduler, I see some errors are coming up that are path related and another one related to the app. I will work on those and maybe it will solve the problems.

But eventually this needs to run unattended, when the computer is dormant...

Ed
My System SpecsSystem Spec
.

14 Oct 2014   #4
Doctor Ed

Windows 7 Pro 64 bit
 
 

OK, the backup prog is set up nicely, and executes as required when I manually click Run in Windows Task Scheduler. 'Run only when user is logged on' is checked.

However, the prog won't run automatically when the appointed time is reached. I tested it when the monitor was on and the computer was active, as well as when the monitor had turned off and the computer was not yet asleep.

I don't know what to do next.
My System SpecsSystem Spec
15 Oct 2014   #5
Tookeri

Windows 7 Pro 32
 
 

I did a test and set a trigger to start a certain time and it worked. So something must be wrong in your case.

Under Action where you define what program to run, try and also enter a value for the field "Start in (optional)"

Don't know if this would help, but I sometimes use this as the first code in a batch file to make sure I'm in the right directory regardless of how the batch file was launched and the "start in" folder:

:: Set current directory to where this batch file is stored
cd /d %~dp0
My System SpecsSystem Spec
15 Oct 2014   #6
Doctor Ed

Windows 7 Pro 64 bit
 
 

Thanks, Tookeri.

Last night after Win Task Scheduler failed to run, I reset the trigger time to 4:30 AM and rebooted the computer. Rebooting sometimes solves problems. Then I deliberately ignored the Task Scheduler and went to bed. This morning I noticed that it had executed the backup task (!!) at the appointed hour, exactly as it should.

I also had the Freebyte Task Scheduler set to run, but it failed.

One scheduler is all I need, of course. So I will abandon the FB scheduler and go with the Win version.

Will it work tomorrow too? Time will tell.

I appreciate your help. Will update tomorrow.
My System SpecsSystem Spec
15 Oct 2014   #7
Doctor Ed

Windows 7 Pro 64 bit
 
 

Quote   Quote: Originally Posted by Tookeri View Post
Don't know if this would help, but I sometimes use this as the first code in a batch file to make sure I'm in the right directory regardless of how the batch file was launched and the "start in" folder:

:: Set current directory to where this batch file is stored
cd /d %~dp0
That is useful to know, and I will make a note of it.

But I have changed the way the task is executed. Instead of running a .bat file containing a line with the executable and the arguments, now I execute the .exe file and put the necessary arguments into the field for that in Win Task Scheduler. Might make no difference, but I don't want to tempt fate by changing things now.
My System SpecsSystem Spec
16 Oct 2014   #8
Doctor Ed

Windows 7 Pro 64 bit
 
 

Windows Task Scheduler did a successful backup again last night. This is two nights in a row now. Success.

It is still frustrating that FB Task Scheduler won't work on my new box, because it should, and won't. I like to think that I control what happens on my computer. But I think I will give up on it anyway.

With that, I think this issue is done.
My System SpecsSystem Spec
16 Oct 2014   #9
Tookeri

Windows 7 Pro 32
 
 

Yes, sometimes we are forced to use alternative solutions without fully understanding why. That's computers sometimes

Great you found a solution that works!
My System SpecsSystem Spec
Reply

 Problems getting auto backups to work in new Win 7 installation




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Don't Understand Scheduled Backups vs Image Backups
I'm a little confused between the two backups and don't see any tutorials that seem to explain the interaction (if there is any) between the backups I scheduled and the several image backups i have made. I upgraded my laptop to win 7 about a month ago now. Back on XP I would run a full system...
Backup and Restore
Numerous Problems surrounding backups and creating repair disk
OK, here it goes. I've built my own PC for the first time and it is running rather fine for past 10months. However, I've found my 124GB SSD C drive is filling up. (5.62GB free of 119GB) So I want to migrate to a new BIGGER SSD (from current 124gb to 248gb). I have one huge application that...
Backup and Restore
What imaging program can do Diffs & auto-backups?
Anyone save me a bit of research time?? What imaging programs can do differential images?? what imaging programs can be preset to backup daily weekly? Both free or buy.
Backup and Restore
How do I get the backups to auto delete older ones?
I have a 2TB drive and I'm doing bi-daily backups to it of my build server I have (Its just a standard Win 7 Home PC). Problem I'm having is, instead of backing up and if the space is limited deleting the oldest one and keeping the newest its just failing? And I can't for the life of me see...
Backup and Restore
auto fill/correct wont work
Alright, so this happened a while ago, but i had another issue, so i decided to hopefully get this resolved as well. Also, if this is in the wrong forum, Im sorry - i figured it's a "de-bugging" issue. So, the problem is that when i go to save something to my computer - or, if i were to open...
BSOD Help and Support
Having 2 Batteries For A Battery Backups System Work Better Than 1?
Hello. I have a question. Regarding Battery Backup UPS systems, having a dual or 2 batteries incorporated into the unit better than having just one battery? They are usually 12 volts each. Under typical conditions, regardless of the wattage needed; would the runtime (running due to loss of power)...
Hardware & Devices


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 11:38.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App