Default BACKUP_NS to short hostname in backup.env.sample
This commit is contained in:
parent
28ce261a88
commit
0d385480d7
1 changed files with 3 additions and 2 deletions
|
|
@ -15,8 +15,9 @@ export PBS_SERVER="backup.example.com"
|
||||||
export PBS_DATASTORE="datastore-name"
|
export PBS_DATASTORE="datastore-name"
|
||||||
export PBS_PORT="8007"
|
export PBS_PORT="8007"
|
||||||
|
|
||||||
# --- Namespace within the datastore ---
|
# --- Namespace within the datastore (default: short hostname — must be a
|
||||||
BACKUP_NS="namespace-name"
|
# --- namespace the API token has Datastore.Audit|Datastore.Backup on) ---
|
||||||
|
BACKUP_NS="$(hostname -s)"
|
||||||
|
|
||||||
# --- Authentication (API token: <user>@<realm>!<tokenname>) ---
|
# --- Authentication (API token: <user>@<realm>!<tokenname>) ---
|
||||||
export PBS_AUTH_ID="user@pbs!tokenname"
|
export PBS_AUTH_ID="user@pbs!tokenname"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue