Hi everyone, I'm trying to understand this concept so I can write script for backup.
So, I logged in as root in the terminal and then I run the following command in the SSH terminal:
1) Assuming I have two admins: admin123 and admin456, how does DA choose a specific admin for backup not the other one? Can we specify our own admin for backup?
2) Since we don’t know which admin DA would choose before running the command, shouldn’t the backup location specified for --destination argument above be a destination that only the admin can access by default because we don't know which admin home folder to select. For example, using this destination for backup might produce an error because the current user is root.
So, I logged in as root in the terminal and then I run the following command in the SSH terminal:
da admin-backup --destination=[LOCATION]
1) Assuming I have two admins: admin123 and admin456, how does DA choose a specific admin for backup not the other one? Can we specify our own admin for backup?
2) Since we don’t know which admin DA would choose before running the command, shouldn’t the backup location specified for --destination argument above be a destination that only the admin can access by default because we don't know which admin home folder to select. For example, using this destination for backup might produce an error because the current user is root.
root@server: da admin-backup --destination=~/admin_backups