You are on page 1of 2

Backup Database

1. Log into Proteus/BAM via SSH (or console) as ‘root’

2. Login to ‘admin’ console


su admin

3. Enter ‘configure additional’


configure additional

4. Check that you should have one backup job ID called ‘default’
show backup

5. Initiate backup
execute backup default

6. Check the backup status. Check for ‘status=succes’s when it's done
show backup status

7. Exit ‘configure additional’


exit

8. Exit ‘admin console’


exit

9. Go to the ‘/data/backup/’ folder and you will find your ‘.bak’ backup file there. The file name
will include the backup job ID ("default") along with your version number and date/time stamp,
e.g.: backup_default_8.3.0-128.GA.bcn_201711070800.bak
cd /data/backup

10. Export the backup file to your PC using SCP / SFTP client(WinSCP)

Sample output:-
root@new:~#
root@new:~# su admin

********************************************
* Proteus CLI *
********************************************

Time: Thu Jun 14 03:42:52 UTC 2018


The new version of the CLI allows for configuration of the following items:
interface, license, jmx-password, name-server, network, serial,
system-time, mail and users
You can configure the following items from the "configure additional" command:
backup and database
Proteus> configure additional

Starting Admin Console...


Type "help" for the commands used in the Main Session mode.
Type "help configure" for help in using the Configuration Mode.
-proteus-$ show backup
Status: Disabled
ID Schedule Local Remote Host Protocol
---------- ------------------- ------ -------- -------------- ---------
default Sunday at 2:00AM yes no ftp
-proteus-$ execute backup default
-proteus-$ show backup status
ID Start Time End Time Status
---------- ------------------ ------------------ ----------
default 2018-06-14 3:43AM 2018-06-14 3:43AM success
-proteus-$ exit
Good-Bye!
Ending Admin Console...

Proteus> exit
root@new:~# cd /data/backup/
root@new:/data/backup# ls
backup_default_8.1.1-100.GA.bcn_201806140338.bak

You might also like