mirror of
https://github.com/nextcloud/vm.git
synced 2025-10-26 11:27:32 +00:00
create backup dir
This commit is contained in:
parent
4a3d15ef7b
commit
f3fadd9e4a
@ -143,6 +143,9 @@ sleep 10
|
||||
# Stop Apache2
|
||||
check_command service apache2 stop
|
||||
|
||||
# Create backup dir (/var/NCBACKUP/)
|
||||
mkdir -p "$BACKUP"
|
||||
|
||||
# Backup PostgreSQL
|
||||
if which psql > /dev/null
|
||||
then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user