cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
vhannum
Community Manager
Community Manager

Saving Profiles and Profile Vectors in Mosaic Cloud Platform

The following video outlines how to save profiles and profile vectors on Mosaic Cloud Platform. A copy/paste version of the save commands used in this process and a full transcript of the commands used to save profile and profile vectors are available below the video.

 

Copy/paste commands (in order) for Mosaic Cloud Platform saving profiles and profile vectors (PVs)

mcp-takeout -i 10.127.1.2 -u 'ADMIN:P@ssw0rd' save --profiles-and-vectors
mcp-takeout save -h
tar -zcvf katsprofiles.tar.gz

 Note - if using a special character in the username or password, then single quotes are needed around the username:password

Mosaic Cloud Platform saving profiles and profile vectors (PVs)Transcript

[root@amt-demo-mcp opt]# mcp-takeout -i 10.127.1.2 -u 'ADMIN:P@ssw0rd' save --profiles-and-vectors
[root@amt-demo-mcp opt]# mcp-takeout save -h
usage: mcp_takeout save [-h] [--save-user-passwords] [-y]
                        [--profiles-and-vectors]optional arguments:
  -h, --help            show this help message and exit
  --save-user-passwords
                        Saves user password hashes -- requires docker or root
                        permissions
  -y, --auto_agree      Agree to Save prompts automatically
  --profiles-and-vectors
                        Only saves off profiles and vectors
[root@amt-demo-mcp opt]# ll
total 12
drwxr-xr-x.  3 root       root         50 Apr 13 23:12 10.127.1.2
drwxrwxr-x. 22 node-admin node-admin 4096 Apr  4 00:51 adtran
drwx--x--x. 15 root       root       4096 Apr  4 00:53 docker
drwxr-xr-x.  9 root       root       4096 Mar 25  2019 VBoxGuestAdditions-5.1.22
[root@amt-demo-mcp opt]# cd 10.127.1.2/
[root@amt-demo-mcp 10.127.1.2]# ll
total 0
drwxr-xr-x. 3 root root 26 Apr 13 23:12 2023-04-13T23:12:06_save
lrwxrwxrwx. 1 root root 24 Apr 13 23:12 latest -> 2023-04-13T23:12:06_save
[root@amt-demo-mcp 10.127.1.2]# cd 2023-04-13T23:12:06_save
[root@amt-demo-mcp 2023-04-13T23:12:06_save]# ll
total 0
drwxr-xr-x. 4 root root 35 Apr 13 23:12 cda
-rw-r--r--. 1 root root  0 Apr 13 23:12 log
[root@amt-demo-mcp 2023-04-13T23:12:06_save]# tar -zcvf katsprofiles.tar.gz cda/
cda/
cda/vectors/
cda/vectors/configure
cda/vectors/deploy
cda/vectors/activate
cda/profiles/
cda/profiles/configure
cda/profiles/deploy
cda/profiles/activate
[root@amt-demo-mcp 2023-04-13T23:12:06_save]# ll
total 16
drwxr-xr-x. 4 root root    35 Apr 13 23:12 cda
-rw-r--r--. 1 root root 13583 Apr 13 23:12 katsprofiles.tar.gz
-rw-r--r--. 1 root root     0 Apr 13 23:12 log 

 

Labels (2)
0 Kudos
Reply