Command after backup

3 posts / 0 new
Last post
#1 Wed, 10/15/2014 - 04:57
MichaelW1998

Command after backup

Hi,

I have Virtualmin installed on my Centos 6.5 VPS. With the scheduled backup function you can choose to let it run a command once the backup is finished.

I create my backups with the filename of the date (%d, %m, % y, %T) but when I use that in the command, it says the file doesn't exist (I assume it doesn't convert %d etc).

Also I would like to run 2 commands after it and not 1, how can I do that?

Sat, 10/18/2014 - 05:13
MichaelW1998

Anyone?

Sat, 10/18/2014 - 21:34
inteq

Create a script containing as many commands as you wish and run that. As for the file naming problem, I do not follow you. Can you be more precise?

Topic locked