Skip to content

Commit

Permalink
fixed username in backup restore commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Neelam Dharnidharka committed Mar 6, 2024
1 parent 4c8562e commit 11b694d
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ EKS-Anywhere clusters use etcd as the backing store. Taking a snapshot of etcd b

Etcd offers a built-in snapshot mechanism. You can take a snapshot using the `etcdctl snapshot save` command by following the steps given below.

Note: The following commands use the username as 'ec2-user'. All EKS-A clusters on bare-metal, vSphere, and Snow use the username ‘ec2-user’ for their nodes. For EKS-A CloudStack, use 'capc’ instead of ec2-user; for EKS-A Nutanix, use ‘eksa’ instead of ec2-user.


1. Login to any one of the etcd VMs
```bash
Expand All @@ -41,10 +43,7 @@ chown ec2-user snapshot.db
scp -i $PRIV_KEY ec2-user@$ETCD_VM_IP:/home/ec2-user/snapshot.db .
```

NOTE:
1. This snapshot file contains all information stored in the cluster, so make sure you save it securely (encrypt it).
2. Following steps are for EKS-A on vSphere provider, where the node username is ec2-user. If you are running these backup and restore commands on a different provider,
replace the username in the commands below accordingly. For example, for Cloudstack provider replace the username by 'capc' and for Nutanix by 'eksa'.
NOTE: This snapshot file contains all information stored in the cluster, so make sure you save it securely (encrypt it).


### Restore
Expand Down

0 comments on commit 11b694d

Please sign in to comment.