docs
This commit is contained in:
parent
46e0aba9b3
commit
615a827f4d
|
@ -225,7 +225,7 @@ function backup_letsencrypt {
|
||||||
function backup_gnusocial {
|
function backup_gnusocial {
|
||||||
if grep -q "GNU Social domain" $COMPLETION_FILE; then
|
if grep -q "GNU Social domain" $COMPLETION_FILE; then
|
||||||
MICROBLOG_DOMAIN_NAME=$(cat $COMPLETION_FILE | grep "GNU Social domain" | awk -F ':' '{print $2}')
|
MICROBLOG_DOMAIN_NAME=$(cat $COMPLETION_FILE | grep "GNU Social domain" | awk -F ':' '{print $2}')
|
||||||
if [ -d /var/www/${MICROBLOG_DOMAIN_NAME} ]; then
|
if [ -d /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs ]; then
|
||||||
backup_database_to_friend gnusocial
|
backup_database_to_friend gnusocial
|
||||||
backup_directory_to_friend /root/tempgnusocialdata gnusocialdata
|
backup_directory_to_friend /root/tempgnusocialdata gnusocialdata
|
||||||
echo $"Backing up GNU social installation"
|
echo $"Backing up GNU social installation"
|
||||||
|
|
Loading…
Reference in New Issue