para servidor hostinger, se añade backup de la base de datos
This commit is contained in:
parent
32fdd7c7fa
commit
93d4013701
File diff suppressed because one or more lines are too long
827
Documents_ref/db_formha_backup_25_05_2025-15_06_28.sql
Normal file
827
Documents_ref/db_formha_backup_25_05_2025-15_06_28.sql
Normal file
File diff suppressed because one or more lines are too long
@ -67,6 +67,10 @@ sudo chown -R www-data:www-data /var/www/uploads/formha
|
|||||||
sudo chmod -R 755 /var/www/uploads/formha
|
sudo chmod -R 755 /var/www/uploads/formha
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# BACKUP DB FORMHA
|
||||||
|
```psql
|
||||||
|
n_file="db_formha_backup_$(date +"%d_%m_%Y-%H_%M_%S").sql"
|
||||||
|
pg_dump -h 127.0.0.1 -U postgres -d formha -f "$n_file"
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user