Introduce backup plugin to export/import settings
This commit is contained in:
8
plugins/00_dokku-standard/backup-export
Executable file
8
plugins/00_dokku-standard/backup-export
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
VERSION="$1"
|
||||
BASE_DIR="$2"
|
||||
|
||||
cat;
|
||||
[[ -f $BASE_DIR/.ssh/authorized_keys ]] && echo "$BASE_DIR/.ssh/authorized_keys"
|
||||
[[ -f $BASE_DIR/HOSTNAME ]] && echo "$BASE_DIR/HOSTNAME"
|
||||
[[ -f $BASE_DIR/VHOST ]] && echo "$BASE_DIR/VHOST"
|
||||
Reference in New Issue
Block a user