cancel
Showing results for 
Search instead for 
Did you mean: 
Create a Post

Script to backup export

Hi,

I re-wrote a little the script I am using to backup export management server database and configuration and upload it to a remote FTP server.

I know few people here are using it so attached is probably better version of what it was.

You need to configure some variables in CONFIG section in the beginning. 

Also, you need to make sure no GUI clients are connected currently to management server or cpstop, backup and then cpstart. 

02-Mar-19: Attached new version that will now check and fail (can be configured to continue) if GUI client is connected.

5 Replies

Re: Script to backup export

Hi,

Just to my understanding, why don't use the embedded Gaia backup capabilities ?

Migrate export require to stop some service, and it take more time.

Any benefits to use this method ?

Thanks

0 Kudos

Re: Script to backup export

A while ago built in backup was broken and that was recommended as alternative solution. If there is no GUI currently connected there is no need to stop services?

Re: Script to backup export

Indeed, if no GUI currently connected no need to stop services, my bad.
Anyway, great script for alternative backup solution Smiley Happy

0 Kudos

Re: Script to backup export

Thank you Btw, you made a valid point here, I will update initial post with it.

0 Kudos
Employee+
Employee+

Re: Script to backup export

Check out SmartConsole Extensions to integrate it inside SmartConsole

0 Kudos