cobian sript for run

Questions about Cobian Backup
Post Reply
johnnyub
Posts: 5
Joined: Thu Mar 28, 2019 11:22 am

cobian sript for run

Post by johnnyub » Mon Apr 08, 2019 2:11 pm

Hello, I need help with backup. Computer is shutdown at different time every day. Is Existing script for start task in cobian backup (as icon on desktop)? I don't want, that user goes to user interface.
User going to run script and go away (go home) (Cobian is running and after shutdown combuter).
I have task for backup, but i need script for run. (Now I have task which start same time)

Thank you

User avatar
cobian
Site Admin
Posts: 40
Joined: Fri Mar 22, 2019 8:57 pm
Location: Umeå, Sweden
Contact:

Re: cobian sript for run

Post by cobian » Mon Apr 08, 2019 10:23 pm

Install the program as an Application (not as a service) with NO autostart.

Create a shortcut in the desktop with the task ID to run. Exemple:

Cobian.exe "-list:C:\Program Files\List.lst" "-tasks:{A26-34-33E02},{A67-34-33E02}" -bu -nogui -autoclose

Regards
--
Luis Cobian
Cobian Backup's creator and Developer
https://www.cobiansoft.com

johnnyub
Posts: 5
Joined: Thu Mar 28, 2019 11:22 am

Re: cobian sript for run

Post by johnnyub » Wed Apr 10, 2019 11:15 am

Thank you, I will try it. But, I have post-backup as scritp. I saved as .cmd:
cd/d "d:\intall\virtualbox"
vboxmanage controlvm Windows_test acpipowerbutton


When install cobian as service, then srcipt run and shuttdown virtual computer, but when install as an Application, then script run and no shuttdown virtual PC
Therefore i use cobian as service.
It has some solution?
Thank you.
OS: Windows 10 Pro x64
John

User avatar
cobian
Site Admin
Posts: 40
Joined: Fri Mar 22, 2019 8:57 pm
Location: Umeå, Sweden
Contact:

Re: cobian sript for run

Post by cobian » Wed Apr 10, 2019 12:25 pm

It should work as an application if the permissions to that cmd file are right.

Do not use -autoclose then because the program will be close before the cmd is executed.
--
Luis Cobian
Cobian Backup's creator and Developer
https://www.cobiansoft.com

johnnyub
Posts: 5
Joined: Thu Mar 28, 2019 11:22 am

Re: cobian sript for run

Post by johnnyub » Wed Apr 10, 2019 1:25 pm

Do you think, the permissions for folder in windows, where is the script? folder -> properties-> security-> permissions ->advanced -> add user(for example John)?
This user John, do I must set too in application cobian backup in section task properties ( run the tasj as another user)?
Sorry, my English is not so good.
Thank you.

User avatar
cobian
Site Admin
Posts: 40
Joined: Fri Mar 22, 2019 8:57 pm
Location: Umeå, Sweden
Contact:

Re: cobian sript for run

Post by cobian » Thu Apr 11, 2019 3:51 pm

Just read the permissions to the file and see if John has read and execute access to it.
--
Luis Cobian
Cobian Backup's creator and Developer
https://www.cobiansoft.com

Post Reply