... | ... | @@ -75,4 +75,7 @@ pg_dump --clean --if-exists betaforms > /tmp/betaforms_20170728.sql |
|
|
```
|
|
|
|
|
|
## export cleaned database
|
|
|
pg_dump --clean --exclude-table-data="cache*" --if-exists betaforms > /tmp/framaforms_20161201.sql |
|
|
\ No newline at end of file |
|
|
pg_dump --clean --exclude-table-data="cache*" --if-exists betaforms > /tmp/framaforms_20161201.sql
|
|
|
|
|
|
## backup only files
|
|
|
rsync -avz --exclude 'sites/default/files' /var/www/framaforms /home/pyg/backups_pyg/forms20191219/ |