Skip to main content
dlaureys
New Member
August 3, 2016
Question

automated backup to the cloud failing

  • August 3, 2016
  • 2 replies
  • 17226 views

I set up an automated backup job as follows:

config system auto-script
    edit "backup"
        set interval 604800
        set repeat 0
        set start auto
        set script "execute backup config management-station Weekly-Cloud-Backup"
    next
end

 

When I run this script, it fails with: 

########## script name: backup ##########

========== #1, 2016-08-03 13:48:38 ==========
FBCNC-FGT90D $ execute backup config management-station Weekly-Cloud-Backup

Mapping boot device /dev/sdb to /dev/sg1

Checking spareblock on /dev/sg1...

SCSI Status: Good


Plane No Spare Block Counts
1 1534
2 1534
Current admin user is not super_admin.
Command fail. Return code -37

 

Any idea on how to make this work?

2 replies

MikePruett
New Member
August 4, 2016

Silly question to ask I know....but is the account you are executing it from a super_admin as it requires?

dlaureys
dlaureysAuthor
New Member
August 4, 2016

I can run the command below from the cli under my account just fine.

execute backup config management-station Weekly-Cloud-Backup

But if it runs as part of the auto-script, it fails.

So I don't know if those scripts are run as a system user, or a low permission user account.

dlaureys
dlaureysAuthor
New Member
August 22, 2016

In case anyone is interested, I opened a ticket with support about this and this is a know bug.

Will be resolved in 5.4.2

Mark
New Member
December 8, 2016

Any update on this? I am experiencing the exact same issue/error.

My unit has been updated to 5.4.2 but still not working..?

NeilG
New Member
February 11, 2017

With 60D running 5.4.3:

 

This from the cli interface with super_admin level user.

 

XXXXXXXXXX # exec auto-script start WeeklyBak 
Script WeeklyBak is already running.
 
XXXXXXXXXXX # exec auto-script status 
 <Enter>
 
XXXXXXXXXXXX # exec auto-script status 
	WeeklyBak <-- running, size: 242
 
XXXXXXXXXXXX # exec auto-script result 
Please specify script name.
 
XXXXXXXXXXXX # exec auto-script result WeeklyBak 
Script WeeklyBak output:
########## script name: WeeklyBak ##########
 
========== #1, 2017-02-10 16:00:21 ==========
XXXXXXXXXXXX $  execute backup config management-station Weekly-Cloud-Backup
Current admin user is not super_admin.
Command fail. Return code -37