Salta al contenuto principale

Backup only if I'm at home

Thread needs solution

Hello everyone,

I am a Freelancer and often work at my clients offices.
My Acronis True Image 2015 has a daily and a weekly backup task which transfers the data to my local Synology NAS (via IP).

When I'm at my client I do NOT want that Acronis runs the daily/weekly backup job (most of the time it doesn't work because the local IP 192.168.xxx.xxx is not reachable). If the IP would be reachable Acronis would store a backup to my clients storage (if there's no logon details).

How could I prevent this? Do you have any ideas?

 

Best
dannyt

0 Users found this helpful

dannyt, welcome to these user forums.

You will need to use a Pre-Command to check for a file or similar that resides only on your home Synology NAS and not anywhere else, so that the backup task only runs when the command is satisfied, but not otherwise.

Thank you Steve.

I made a .cmd file on my NAS which will run as Pre-Command ("@echo off"). It works fine!

Thanks for the feedback, glad that you have a working solution for this question.

I'm using 2015 to a USB 3.0 1TB hard drive.  Scheduled for a daily, incremental BU @ 2:00 am.If taveling or if not connected to the BU HD, the BU fails and when next connected to the BU HD cannot find prior version. Ignoring this message creates another full, constantly filling the BU HD.  How can I stop this from happening, i.e. only BU when the drive is connected

Allen, welcome to these user forums.

I can only suggest the same as I did for the previous poster (dannyt).

On your USB 1TB Hard Drive, create a small batch file with a single simple command in it, then set the Pre-Command for your backup task to run this batch file and only proceed with the backup if the command is successful.

Open Notepad and enter the text:

@echo off

Save the document as test.bat to the root of your USB Hard Drive - make sure it keeps the .bat extension and this doesn't change to .txt.

Now edit your backup task, switch to the Advanced settings page and open the Pre Post Commands section.  Use the navigation buttons to select the test.bat file on your USB hard drive, then click on the Test button to confirm that the command will run correctly.  That is it!

See the ATIH 2015 User Guide: Pre/Post commands for backup  and see Backup options that shows where this option is on the Advanced page.